Summary: | gnome-base/librsvg-2.26.3 wants media-libs/libpng-1.2 but I have media-libs/libpng-1.4.2:0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zeev Tarantov <zeev.tarantov> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aidanamarks, che, conan, felix, jarausch, jlec, joakim, pappy_mcfae, pekunz, peter, rahul, rb6, thanasis, tomas, xav |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Zeev Tarantov
2010-05-09 04:49:15 UTC
This bug also breaks GTK+ and other packages. # emerge --info Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.3.2, glibc-2.11.1-r0, 2.6.31-zen11 x86_64) ================================================================= System uname: Linux-2.6.31-zen11-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 09 May 2010 06:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p5 dev-java/java-config: 1.3.7-r1, 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe" DISTDIR="/mnt/seeds/storage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/kde-sunset" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt css ctype cups cxx dbus dlloader dri drm dvd dvdr dvdread emboss encode fam ffmpeg fftw filter flac foomaticdb fortran gdbm gif glib gnutls gpm gsl gtk hal iconv jpeg kde kdgraphics ladspa lame libsamplerate libwww live lm_sensors mad mikmod mmx modules mp3 mpeg mudflap multilib mysql nas ncurses nls nptl nptlonly objc ogg opengl openmp pam pcre pdcre pdf pdflib perl php png ppds pppd python qt3 qt3support quicktime readline reflection samba sdl session slang slp sndfile spell spl sqlite sse sse2 ssl ssse3 svg swat sysfs tcpd theora tiff truetype udev unicode v4l v4l2 vhosts vorbis wxwindows x264 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Options are a) make it look for libpng with pkg-config instead of libpng12 b) make it depend on =media-libs/libpng-1.2* I'll try these out now. of course I'm being silly and the problem is actually with cairo... Fixed by remerging cairo with libpng-1.4 on my ~amd64: <snip> CC rsvg-shapes.lo CC rsvg-structure.lo CC rsvg-styles.lo CC rsvg-text.lo CC rsvg-cond.lo CC rsvg-base.lo ( cd . && glib-mkenums \ --fhead "#include \"librsvg-enum-types.h\"\n#include \"rsvg.h\"" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ rsvg.h rsvg-cairo.h ) > tmp-librsvg-enum-types.c \ && (cmp -s tmp-librsvg-enum-types.c librsvg-enum-types.c || cp tmp-librsvg-enum-types.c librsvg-enum-types.c ) \ && rm -f tmp-librsvg-enum-types.c \ && echo timestamp > s-enum-types-c ( cd . && glib-mkenums \ --fhead "#ifndef __LIBRSVG_ENUM_TYPES_H__\n#define __LIBRSVG_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ --fprod "/* enumerations from \"@filename@\" */\n" \ --vhead "GType @enum_name@_get_type (void);\n#define RSVG_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ --ftail "G_END_DECLS\n\n#endif /* __LIBRSVG_ENUM_TYPES_H__ */" \ rsvg.h rsvg-cairo.h ) > tmp-librsvg-enum-types.h \ && (cmp -s tmp-librsvg-enum-types.h librsvg-enum-types.h || cp tmp-librsvg-enum-types.h librsvg-enum-types.h ) \ && rm -f tmp-librsvg-enum-types.h \ && echo timestamp > s-enum-types-h CC rsvg-cairo-draw.lo CC rsvg-cairo-render.lo CC rsvg-cairo-clip.lo CC rsvg.lo CC rsvg-gobject.lo CC rsvg-file-util.lo CC rsvg-convert.o CC test-display.o CC librsvg-enum-types.lo CCLD librsvg-2.la /bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive make[2]: *** [librsvg-2.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-base/librsvg-2.26.3/work/librsvg-2.26.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-base/librsvg-2.26.3/work/librsvg-2.26.3' make: *** [all] Error 2 * ERROR: gnome-base/librsvg-2.26.3 failed: * compile failure * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3002: Called gnome2_src_compile * environment, line 2331: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =gnome-base/librsvg-2.26.3', * the complete build log and the output of 'emerge -pqv =gnome-base/librsvg-2.26.3'. * The complete build log is located at '/var/tmp/portage_logs/gnome-base:librsvg-2.26.3:20100509-123332.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-base/librsvg-2.26.3/temp/environment'. * S: '/var/tmp/portage/gnome-base/librsvg-2.26.3/work/librsvg-2.26.3' >>> Failed to emerge gnome-base/librsvg-2.26.3, Log file: >>> '/var/tmp/portage_logs/gnome-base:librsvg-2.26.3:20100509-123332.log' confirming that re-emerging Cairo makes config tests work, but still fails as in comment #6. (In reply to comment #6) > on my ~amd64: > <snip> > CC rsvg-shapes.lo > CC rsvg-structure.lo > CC rsvg-styles.lo > CC rsvg-text.lo > CC rsvg-cond.lo > CC rsvg-base.lo > ( cd . && glib-mkenums \ > --fhead "#include \"librsvg-enum-types.h\"\n#include > \"rsvg.h\"" \ > --fprod "\n/* enumerations from \"@filename@\" */" \ > --vhead "GType\n@enum_name@_get_type (void)\n{\n > static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value > values[] = {" \ > --vprod " { @VALUENAME@, \"@VALUENAME@\", > \"@valuenick@\" }," \ > --vtail " { 0, NULL, NULL }\n };\n etype = > g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" > \ > rsvg.h rsvg-cairo.h ) > tmp-librsvg-enum-types.c \ > && (cmp -s tmp-librsvg-enum-types.c librsvg-enum-types.c || cp > tmp-librsvg-enum-types.c librsvg-enum-types.c ) \ > && rm -f tmp-librsvg-enum-types.c \ > && echo timestamp > s-enum-types-c > ( cd . && glib-mkenums \ > --fhead "#ifndef __LIBRSVG_ENUM_TYPES_H__\n#define > __LIBRSVG_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ > --fprod "/* enumerations from \"@filename@\" */\n" \ > --vhead "GType @enum_name@_get_type (void);\n#define > RSVG_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ > --ftail "G_END_DECLS\n\n#endif /* > __LIBRSVG_ENUM_TYPES_H__ */" \ > rsvg.h rsvg-cairo.h ) > tmp-librsvg-enum-types.h \ > && (cmp -s tmp-librsvg-enum-types.h librsvg-enum-types.h || cp > tmp-librsvg-enum-types.h librsvg-enum-types.h ) \ > && rm -f tmp-librsvg-enum-types.h \ > && echo timestamp > s-enum-types-h > CC rsvg-cairo-draw.lo > CC rsvg-cairo-render.lo > CC rsvg-cairo-clip.lo > CC rsvg.lo > CC rsvg-gobject.lo > CC rsvg-file-util.lo > CC rsvg-convert.o > CC test-display.o > CC librsvg-enum-types.lo > CCLD librsvg-2.la > /bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory > libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive > make[2]: *** [librsvg-2.la] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/gnome-base/librsvg-2.26.3/work/librsvg-2.26.3' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/gnome-base/librsvg-2.26.3/work/librsvg-2.26.3' > make: *** [all] Error 2 > * ERROR: gnome-base/librsvg-2.26.3 failed: > * compile failure > * > * Call stack: > * ebuild.sh, line 54: Called src_compile > * environment, line 3002: Called gnome2_src_compile > * environment, line 2331: Called die > * The specific snippet of code: > * emake || die "compile failure" > * > * If you need support, post the output of 'emerge --info > =gnome-base/librsvg-2.26.3', > * the complete build log and the output of 'emerge -pqv > =gnome-base/librsvg-2.26.3'. > * The complete build log is located at > '/var/tmp/portage_logs/gnome-base:librsvg-2.26.3:20100509-123332.log'. > * The ebuild environment file is located at > '/var/tmp/portage/gnome-base/librsvg-2.26.3/temp/environment'. > * S: '/var/tmp/portage/gnome-base/librsvg-2.26.3/work/librsvg-2.26.3' > > >>> Failed to emerge gnome-base/librsvg-2.26.3, Log file: > > >>> '/var/tmp/portage_logs/gnome-base:librsvg-2.26.3:20100509-123332.log' > I've got the exact same error as post #1 on my laptop arch= ~x86 after rebuilding cairo, I got the same error as above! So that alone (rebuilding cairo) doesn't fix it. Something is botched here. I finally got it to build and install after running lafilefixer --justfixit. Try this out folks it will probably fix your problems too! I hope this helps, Ciao (In reply to comment #9) > I finally got it to build and install after running lafilefixer --justfixit. > > Try this out folks it will probably fix your problems too! > > I hope this helps, > Ciao > Damn after doing above and completing update, run revdep-rebuild.... you'll find that you've got a bunch to rebuild. Go out for a while you've got a few hours of rebuilding ahead of you! Good luck! Same here, i masked >=media-libs/libpng-1.4 as a workaround. emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-rc6 x86_64) ================================================================= System uname: Linux-2.6.34-rc6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 09 May 2010 11:15:01 +0000 app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_US en_GB fr hr" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/x11 /usr/local/portage" SYNC="rsync://rsync1.fr.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 archive bash-completion branding bzip2 cairo cdda cdr cleartype cli consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus djvu dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran fuse gdbm gdu gif gimp glitz gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv icu idn ipv6 java jpeg lame lcms ldap libnotify lzma lzo mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses network-cron nls nptl nptlonly nsplugin nss ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support raw readline reflection samba sdl session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads thumbnail tiff timezone truetype udev unicode usb vim-syntax vorbis x264 xattr xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB fr hr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I have also added >=media-libs/libpng-1.4 to my package.mask for now. Can we have a tracker bug for the packages that break after this libpng update - so we know when it is safe to update to the newer version. If you upgrade properly, revdep-rebuild et all, nothing should break. By now, I suspect nearly all of the *real* problems have been tracked down and solved during the time 1.4 was not keyworded. (In reply to comment #13) > If you upgrade properly, revdep-rebuild et all, nothing should break. > > By now, I suspect nearly all of the *real* problems have been tracked down > and solved during the time 1.4 was not keyworded. > Once the new libpng gets installed, GTK+-2.x is immediately broken. This breaks the ability to compile anything that relies on GTK+. Terminal gets broken as well, as do other GTK based programs. Obviously, other things break as well. By my reckoning, that makes this a *real* issue. I'm not quite sure what your definition of real issue is, but to me, libraries breaking things is an issue. Since I can mask programs that break things, I'll just keep this mess masked until someone gets around to fixing it. I tried revdep-rebuild and issue was resolved, but it re-emerged more than a hundred broken packages ... I guess that's price one has to pay from time to time, when following ~arch ... librsvg doesn't even depend on libpng... *** This bug has been marked as a duplicate of bug 319101 *** All the work-around measures offered here so far have failed to fix the problem for me. Numerous packages have continued to complain that they can't find libpng12. Yesterday I spent the whole day (well, my workstation did) running an emerge -e world, 1277 packages. This morning the system seems to be clean - revdep-rebuild reports nothing to fix. That's a lot of work to correct something that should not have been foisted on us. |