glitz is totally unmaintained and not useful anymore. It should be removed from the tree.
erm, it's needed by www-client/opera[gtk] and media-video/cinepaint. And it does compile ?!
(In reply to comment #1) > erm, it's needed by www-client/opera[gtk] and media-video/cinepaint. And it > does compile ?! I see that it's listed as a dependency in >=opera-10.60, yes, but it appears that opera does not actually need it. I've scanelf -n'd all the binaries opera installs and cannot find a single one that requires glitz. After uninstalling glitz, opera still works fine. I'd like to know who added glitz as a dependency to opera and why? The only other ebuilds referencing glitz are dev-dotnet/libgdiplus/libgdiplus-*.ebuild - manually disables glitz net-analyzer/nessus-client/nessus-client-1.0.2.ebuild - I can't imagine why this would need glitz. It compiles fine without it, making me think it's a mistaken dependency. x11-libs/cairo/cairo-1.8.8.ebuild - glitz as a backend is pretty useless gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.18.0.ebuild - ditto And media-video/cinepaint isn't even in the tree anymore. I don't even see any mentions of glitz in any of the attachments or comments in bug 278375.
(In reply to comment #2) > x11-libs/cairo/cairo-1.8.8.ebuild - glitz as a backend is pretty useless > > gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.18.0.ebuild - ditto I meant to say here that it appears in many cairo and gnustep-back-cairo ebuilds.
More confirmation: http://cgit.freedesktop.org/cairo/commit/?id=58980b4ad60a60923a59370c81d59bb0457a7922 glitz support was removed from cairo-master back in January.
(In reply to comment #2) > And media-video/cinepaint isn't even in the tree anymore. I don't even see any > mentions of glitz in any of the attachments or comments in bug 278375. Please see http://svn.xmw.de/websvn/gentoo-overlay/media-video/cinepaint/ for the current ebuild ;-)
(In reply to comment #5) > (In reply to comment #2) > > And media-video/cinepaint isn't even in the tree anymore. I don't even see any > > mentions of glitz in any of the attachments or comments in bug 278375. > > Please see http://svn.xmw.de/websvn/gentoo-overlay/media-video/cinepaint/ for > the current ebuild ;-) According to the commit message I linked earlier, you should be using GL surface. Anyway, nothing in the tree makes any useful use of glitz. I'm going to file some other bug reports for the specific ebuilds to remove glitz support and make this bug the tracker.
(In reply to comment #6) > I'm going to file some other bug reports for the specific ebuilds to remove > glitz support and make this bug the tracker. @freedesktop, please RESO/IVALID this spam!
xmw, more argumented reactions please. glitz is unmaintained and has no future indeed. Just as a word of warning: if removing support from cairo (if we already didn't), careful about all that rebuild/.la mess once again (I think we migrated from USE=opengl to USE=glitz or some such last time with huge trouble).
(In reply to comment #8) > Just as a word of warning: if removing support from cairo (if we > already didn't), careful about all that rebuild/.la mess once again (I think we > migrated from USE=opengl to USE=glitz or some such last time with huge > trouble). The real problem with cairo/glitz is going to be symbol leaks. Any lib/app that #included cairo at some point *will* have to be rebuilt. --as-needed doesn't fix the problem but does help to greatly reduce to number of packages to rebuild. While I'm all in favor of removing glitz, we should start with cairo *now* to help people get rid of it as soon as possible. Cheers
just to clarify remi's comment, we will do it, but this needs a news item given the extent of packages indirectly affected by this.
--depclean removed my glitz; so far, compiz-plugins-extra seems to be trying to pull it in via gcc -lglitz or somesuch. This could be some kind of pkgconfig-based reverse dependency however, I'm not sure, and as I don't use compiz at the moment, I'm highly unmotivated to investigate :)
(In reply to comment #11) > --depclean removed my glitz; so far, compiz-plugins-extra seems to be trying to > pull it in via gcc -lglitz or somesuch. This could be some kind of > pkgconfig-based reverse dependency however, I'm not sure, and as I don't use > compiz at the moment, I'm highly unmotivated to investigate :) Ignore this; it magically fixed itself, so it was some kind of deep dependency.
(In reply to comment #12) > (In reply to comment #11) > > --depclean removed my glitz; so far, compiz-plugins-extra seems to be trying to > > pull it in via gcc -lglitz or somesuch. This could be some kind of > > pkgconfig-based reverse dependency however, I'm not sure, and as I don't use > > compiz at the moment, I'm highly unmotivated to investigate :) > > Ignore this; it magically fixed itself, so it was some kind of deep dependency. > Quite a few .la files contain -lglitz or -lglitz-glx. (on my machine, a bit of sed playing to remove those and the last two packages (emerald and imagemagick) that used to magically pull in glitz now rebuild fine without glitz installed).
Running `lafilefixer --justfixit` from dev-util/lafilefixer will probably clear most of that up.
(In reply to comment #14) > Running `lafilefixer --justfixit` from dev-util/lafilefixer will probably clear > most of that up. > It didn't for me, I had to manually sed them as well. Is there a better solution?
(In reply to comment #15) > (In reply to comment #14) > > Running `lafilefixer --justfixit` from dev-util/lafilefixer will probably clear > > most of that up. > > > > It didn't for me, I had to manually sed them as well. Is there a better > solution? > This is explicitly *not* the type of problem that lafilefixer is designed to fix. lafilefixer fixes issues caused by the removal of a .la file by replacing references to "/usr/lib*/libfoo.la" with "-lfoo" -- but if you remove libfoo.so (and/or libfoo.a, as applicable) then things still end up broken; revdep-rebuild will (or should, last I checked) fix that issue.
I can't seem to build imagemagick without glitz. What am I doing wrong?
(In reply to comment #17) > I can't seem to build imagemagick without glitz. What am I doing wrong? You should file a separate bug report. Make sure to include the build failure.
(In reply to comment #18) > (In reply to comment #17) > > I can't seem to build imagemagick without glitz. What am I doing wrong? > > You should file a separate bug report. Make sure to include the build failure. > That'd just be marked as duplicate of bug 341603.
*** Bug 346769 has been marked as a duplicate of this bug. ***
*** Bug 349047 has been marked as a duplicate of this bug. ***
*** Bug 354617 has been marked as a duplicate of this bug. ***
*** Bug 356311 has been marked as a duplicate of this bug. ***
Adding bug 354237 as a dependency, since we can't remove glitz before cairo-1.10 is stable everywhere.
*** Bug 357485 has been marked as a duplicate of this bug. ***
Shouldn't pygtk need to be modified if it tries to explicitly link against glitz? From the build log: libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/glade_la-libglademodule.o .libs/glade_la-libglade.o -Wl,--as-needed /usr/lib64/libglade-2.0.so -L/usr/lib64 -L/usr/lib64/qt4 -lglitz-glx -lglitz /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libxml2.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libXrender.so -lEGL -lQtGui -lQtCore /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lGL /usr/lib64/libpng14.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so -pthread -march=native -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,glade.so -Wl,-version-script -Wl,.libs/glade.ver -o .libs/glade.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lglitz-glx collect2: ld returned 1 exit status make[2]: *** [glade.la] Error 1 This happened on a freshly installed system (about 3 weeks old) and during the upgrade from pygtk-2.17.0 to pygtk-2.22.0-r1
You are probably missing a revdep-rebuild run, I am able to compile pygtk without glitz without any problem
(In reply to comment #27) > You are probably missing a revdep-rebuild run, I am able to compile pygtk > without glitz without any problem > Thanks. Confirming that it works. Not sure if this is now a bug in portage-2.2 and @preserved-rebuild.
I did a depclean and glitz was removed and things started failing to start. revdep-rebuild found quite a few things and the first one, gnome-terminal, failed to compile looking for glitz libs. Might be just me but there might be others that will run into problems here.
(In reply to comment #29) > I did a depclean and glitz was removed and things started failing to start. > revdep-rebuild found quite a few things and the first one, gnome-terminal, > failed to compile looking for glitz libs. > > Might be just me but there might be others that will run into problems here. You're supposed to... well, start by reading the info messages. $ emerge --depclean -vDp * Depclean may break link level dependencies. Thus, it is * recommended to use a tool such as `revdep-rebuild` (from * app-portage/gentoolkit) in order to detect such breakage.
(In reply to comment #30) > (In reply to comment #29) > > I did a depclean and glitz was removed and things started failing to start. > > revdep-rebuild found quite a few things and the first one, gnome-terminal, > > failed to compile looking for glitz libs. > > > > Might be just me but there might be others that will run into problems here. > > You're supposed to... well, start by reading the info messages. > > > $ emerge --depclean -vDp > > * Depclean may break link level dependencies. Thus, it is > * recommended to use a tool such as `revdep-rebuild` (from > * app-portage/gentoolkit) in order to detect such breakage. I'm not sure if that is supposed to be condescending or if we're just on the wrong wavelength. I'm a network guy not a dev guy so this is not my area. I saw the notice regarding glitz being removed so ran depclean and sure enough it took out glitz. I ran revdep-rebuild as depclean suggests and it turned up a few things. The first was gnome-terminal which failed to compile saying it couldn't find libglitz. gnome-terminal did not work until I manually unmasked glitz and put it back. So am I doing something wrong? My system seems dependant on libglitz currently and I thought there may be others in the same position. Doing an lsof show there are plenty of things still using it but equery show no dependencies on glitz. Should they be bugs for the gnome side rather than against pulling glitz? Or is no-one else in the same boat and my system has gone rogue? gdm 12215 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gdm 12215 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gdm 12218 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gdm 12218 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 sensord 14159 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 sensord 14159 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-ses 23268 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-ses 23268 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-ses 23268 23356 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-ses 23268 23356 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-ses 23268 23388 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-ses 23268 23388 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-set 23401 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-set 23401 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-set 23401 23404 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-set 23401 23404 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 metacity 23461 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 metacity 23461 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 metacity 23461 23470 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 metacity 23461 23470 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-pan 23477 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-pan 23477 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-pan 23477 23484 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-pan 23477 23484 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 nautilus 23526 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 nautilus 23526 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 nautilus 23526 23650 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 nautilus 23526 23650 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 polkit-gn 23542 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 polkit-gn 23542 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 polkit-gn 23542 23555 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 polkit-gn 23542 23555 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 vino-serv 23543 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 vino-serv 23543 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 vino-serv 23543 23557 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 vino-serv 23543 23557 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-pow 23547 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-pow 23547 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-pow 23547 23573 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-pow 23547 23573 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gedit 23550 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gedit 23550 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gedit 23550 23761 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gedit 23550 23761 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 rhythmbox 23552 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 rhythmbox 23552 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 rhythmbox 23552 23801 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 rhythmbox 23552 23801 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 rhythmbox 23552 24530 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 rhythmbox 23552 24530 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 rhythmbox 23552 24610 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 rhythmbox 23552 24610 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 rhythmbox 23552 24762 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 rhythmbox 23552 24762 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-ter 23553 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-ter 23553 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-ter 23553 23580 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-ter 23553 23580 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 gnome-ter 23553 23866 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 gnome-ter 23553 23866 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 14559 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 14559 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24187 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24187 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24189 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24189 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24190 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24190 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24228 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24228 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24232 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24232 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24238 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24238 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24239 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24239 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24729 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24729 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24764 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24764 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24815 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24815 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24837 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24837 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24858 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24858 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24859 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24859 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24860 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 firefox-b 23554 24860 root mem REG 253,0 22284 95158288 /usr/lib/libglitz-glx.so.1.0.0 firefox-b 23554 24882 root mem REG 253,0 171496 95158284 /usr/lib/libglitz.so.1.0.0 ...etc
You will need to run revdep-rebuild after removing glitz, I would run the following (during compilation a lot of apps will be broken, then, I would recommend you to logout and run this from a console): emerge -C glitz lafilefixer --justfixit revdep-rebuild
No more glitz in Portage, but this message is as of today in package.mask: # Samuli Suominen <ssuominen@gentoo.org> (27 Mar 2011) # Orphaned libraries. No longer required. # emerge -C eggdbus glitz # If you have problems, use revdep-rebuild and lafilefixer # to correct your system. Don't symlink anything and don't # try to restore these. # Remove this mask message in 60 days. media-libs/glitz dev-libs/eggdbus
*** Bug 361485 has been marked as a duplicate of this bug. ***
*** Bug 362607 has been marked as a duplicate of this bug. ***
*** Bug 363815 has been marked as a duplicate of this bug. ***
I believe this bug should still be open, as removing media-libs/glitz from my system broke it really bad, and revdep-rebuild and lafilefixer couldn't fix it. I had to sed around manually, this could be hard for a less experient gentoo user. (Shouln't these tools fix it?). I didn't get even a news notice, what should be smooth update (or I could have been warned otherwise) is taking hours to recompile everything, and I cannot login with GDM nor use firefox.. Most programs that revdep-rebuild tried to rebuild failed at compile time with: /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lglitz-glx I had to sed la files manually, with something like (don't remember exacly the command): find /usr /lib -name \*.la -exec grep -l glitz {} \; | xargs -i sed -i 's/ -lglitz\(-glx\)\?//g' {}