Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Endless preserved-rebuild loop, libmozalloc & more
Date: Tue, 25 Aug 2015 01:15:13
Message-Id: BLU436-SMTP10264CBD2D71912CDB34298D610@phx.gbl
In Reply to: Re: [gentoo-user] Endless preserved-rebuild loop, libmozalloc & more by Fernando Rodriguez
1 On Monday, August 24, 2015 8:58:56 PM Fernando Rodriguez wrote:
2 > On Monday, August 24, 2015 10:42:28 PM Alan McKinnon wrote:
3 > > On 24/08/2015 22:04, Fernando Rodriguez wrote:
4 > > > On Monday, August 24, 2015 9:31:38 PM Alan McKinnon wrote:
5 > > >> Does anyone have an opinion to offer on bug 501468?
6 > > >>
7 > > >> https://bugs.gentoo.org/show_bug.cgi?id=501468
8 > > >>
9 > > >> It's been annoying me for a week now with this message:
10 > > >>
11 > > >> !!! existing preserved libs:
12 > > >>>>> package: www-client/firefox-40.0.2
13 > > >> * - /usr/lib64/firefox/libmozalloc.so
14 > > >> * used by /usr/lib64/thunderbird/components/libdbusservice.so
15 > > >> (mail-client/thunderbird-38.2.0)
16 > > >> * used by /usr/lib64/thunderbird/components/libmozgnome.so
17 > > >> (mail-client/thunderbird-38.2.0)
18 > > >> * used by
19 > > >> /usr/lib64/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-
20 b5ad-
21 > > > a41df1933103}/components/libcalbasecomps.so
22 > > >> (mail-client/thunderbird-38.2.0)
23 > > >> * used by 4 other files
24 > > >>
25 > > >>
26 > > >> Both Mozilla products ship this file:
27 > > >>
28 > > >> $ locate libmozalloc
29 > > >> /usr/lib64/firefox/libmozalloc.so
30 > > >> /usr/lib64/thunderbird/libmozalloc.so
31 > > >>
32 > > >> and according to preserved libs, thunderbird linked to the firefox copy.
33 > > >> The only offered solution on the bug is to use a MASK variable, which
34 > > >> seems to me an ugly hammer to swat a fly.
35 > > >>
36 > > >> I was wondering if there's a better way been developed in the last
37 year.
38 > > >
39 > > > This is not a solution, but I don't have that library and I think it's
40 > because
41 > > > I have the jemalloc3 flag enabled so perhaps that's a better workaround.
42 > > >
43 > > >
44 > >
45 > >
46 > > It was worth a try, but I also have jemalloc3 in USE:
47 > >
48 > > # emerge -pv thunderbird firefox
49 > >
50 > > These are the packages that would be merged, in order:
51 > >
52 > > Calculating dependencies... done!
53 > > [ebuild R ] mail-client/thunderbird-38.2.0::gentoo USE="crypt dbus
54 > > gstreamer jemalloc3 jit ldap pulseaudio startup-notification system-icu
55 > > system-jpeg system-libvpx system-sqlite -bindist -custom-cflags
56 > > -custom-optimization -debug -gstreamer-0 -hardened -lightning -minimal
57 > > -mozdom (-selinux) -system-cairo" LINGUAS="en_GB -ar -ast -be -bg -bn_BD
58 > > -br -ca -cs -cy -da -de -el -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE
59 > > -gd -gl -he -hr -hsb -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl
60 > > -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE
61 > > -ta_LK -tr -uk -vi -zh_CN -zh_TW" 0 KiB
62 > > [ebuild R ] www-client/firefox-40.0.2::gentoo USE="dbus
63 > > gmp-autoupdate gstreamer jemalloc3 jit pulseaudio startup-notification
64 > > system-icu system-jpeg system-libvpx system-sqlite wifi -bindist
65 > > -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -hardened
66 > > -minimal (-neon) (-pgo) (-selinux) -system-cairo {-test}" LINGUAS="en_GB
67 > > en_ZA -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de
68 > > -el -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE
69 > > -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko
70 > > -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT
71 > > -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh
72 > > -zh_CN -zh_TW" 0 KiB
73 > >
74 > >
75 > > So that's not it.
76 >
77 > My next guess would be the minimal use flag which I have set but you don't.
78 > I don't know what is the sdk for..native plugin or XUL development?
79 >
80 > Calculating dependencies... done!
81 > [ebuild R ~] www-client/firefox-40.0.2::gentoo USE="custom-cflags custom-
82 > optimization dbus gmp-autoupdate gstreamer jemalloc3 jit minimal pulseaudio
83 > startup-notification system-cairo system-icu system-jpeg system-libvpx
84 system-
85 > sqlite -bindist -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) -selinux
86 {-
87 > test} -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs
88 -
89 > cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi
90 -
91 > fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -
92 kk
93 > -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR
94 -
95 > pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -
96 xh
97 > -zh_CN -zh_TW" 0 KiB
98 >
99 > Total: 1 package (1 reinstall), Size of downloads: 0 KiB
100 >
101 > * IMPORTANT: 1 news items need reading for repository 'gentoo'.
102 > * Use eselect news read to view new items.
103 >
104 > fernan@navi ~ $ equery files firefox
105 > * Searching for firefox ...
106 > * Contents of www-client/firefox-40.0.2:
107 > /etc
108 > /etc/revdep-rebuild
109 > /etc/revdep-rebuild/10firefox
110 > /usr
111 > /usr/bin
112 > /usr/bin/firefox -> /usr/lib64/firefox/firefox
113 > /usr/lib64
114 > /usr/lib64/firefox
115 > /usr/lib64/firefox/application.ini
116 > /usr/lib64/firefox/bin -> /usr/lib64/firefox
117 > /usr/lib64/firefox/browser
118 > /usr/lib64/firefox/browser/blocklist.xml
119 > /usr/lib64/firefox/browser/chrome
120 > /usr/lib64/firefox/browser/chrome.manifest
121 > /usr/lib64/firefox/browser/chrome/icons
122 > /usr/lib64/firefox/browser/chrome/icons/default
123 > /usr/lib64/firefox/browser/chrome/icons/default/default16.png
124 > /usr/lib64/firefox/browser/chrome/icons/default/default32.png
125 > /usr/lib64/firefox/browser/chrome/icons/default/default48.png
126 > /usr/lib64/firefox/browser/components
127 > /usr/lib64/firefox/browser/components/components.manifest
128 > /usr/lib64/firefox/browser/components/libbrowsercomps.so
129 > /usr/lib64/firefox/browser/extensions
130 > /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
131 > /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-
132 > a285-3208198ce6fd}/chrome.manifest
133 > /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-
134 > a285-3208198ce6fd}/icon.png
135 > /usr/lib64/firefox/browser/extensions/{972ce4c6-7e08-4474-
136 > a285-3208198ce6fd}/install.rdf
137 > /usr/lib64/firefox/browser/icons
138 > /usr/lib64/firefox/browser/icons/mozicon128.png
139 > /usr/lib64/firefox/browser/omni.ja
140 > /usr/lib64/firefox/chrome.manifest
141 > /usr/lib64/firefox/components
142 > /usr/lib64/firefox/components/components.manifest
143 > /usr/lib64/firefox/components/libdbusservice.so
144 > /usr/lib64/firefox/components/libmozgnome.so
145 > /usr/lib64/firefox/defaults
146 > /usr/lib64/firefox/defaults/pref
147 > /usr/lib64/firefox/defaults/pref/channel-prefs.js
148 > /usr/lib64/firefox/dependentlibs.list
149 > /usr/lib64/firefox/dictionaries
150 > /usr/lib64/firefox/dictionaries/en-US.aff
151 > /usr/lib64/firefox/dictionaries/en-US.dic
152 > /usr/lib64/firefox/firefox
153 > /usr/lib64/firefox/firefox-bin
154 > /usr/lib64/firefox/gmp-clearkey
155 > /usr/lib64/firefox/gmp-clearkey/0.1
156 > /usr/lib64/firefox/gmp-clearkey/0.1/clearkey.info
157 > /usr/lib64/firefox/gmp-clearkey/0.1/libclearkey.so
158 > /usr/lib64/firefox/libxul.so
159 > /usr/lib64/firefox/omni.ja
160 > /usr/lib64/firefox/platform.ini
161 > /usr/lib64/firefox/plugin-container
162 > /usr/lib64/firefox/removed-files
163 > /usr/lib64/firefox/run-mozilla.sh
164 > /usr/lib64/firefox/webapprt
165 > /usr/lib64/firefox/webapprt-stub
166 > /usr/lib64/firefox/webapprt/omni.ja
167 > /usr/lib64/firefox/webapprt/webapprt.ini
168 > /usr/lib64/firefox/xpcom-config.h
169 > /usr/share
170 > /usr/share/applications
171 > /usr/share/applications/firefox.desktop
172 > /usr/share/icons
173 > /usr/share/icons/hicolor
174 > /usr/share/icons/hicolor/128x128
175 > /usr/share/icons/hicolor/128x128/apps
176 > /usr/share/icons/hicolor/128x128/apps/firefox.png
177 > /usr/share/icons/hicolor/16x16
178 > /usr/share/icons/hicolor/16x16/apps
179 > /usr/share/icons/hicolor/16x16/apps/firefox.png
180 > /usr/share/icons/hicolor/22x22
181 > /usr/share/icons/hicolor/22x22/apps
182 > /usr/share/icons/hicolor/22x22/apps/firefox.png
183 > /usr/share/icons/hicolor/24x24
184 > /usr/share/icons/hicolor/24x24/apps
185 > /usr/share/icons/hicolor/24x24/apps/firefox.png
186 > /usr/share/icons/hicolor/256x256
187 > /usr/share/icons/hicolor/256x256/apps
188 > /usr/share/icons/hicolor/256x256/apps/firefox.png
189 > /usr/share/icons/hicolor/32x32
190 > /usr/share/icons/hicolor/32x32/apps
191 > /usr/share/icons/hicolor/32x32/apps/firefox.png
192 > /usr/share/pixmaps
193 > /usr/share/pixmaps/firefox.png
194
195 It looks like the workaround on the bug report is being shipped with the
196 firefox ebuild. See the /etc/revdep-rebuild/10firefox file on the list.
197
198 --
199 Fernando Rodriguez