Summary: | media-gfx/digikam-0.9.0_beta1 fails to emerge with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Weyershäuser <thedude0001> |
Component: | New packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, gent_bz, kde, netz |
Priority: | Highest | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413, 135763 | ||
Attachments: |
log of the failed emerge
Patch to fix build with --as-needed Updated ebuild to use the proposed patch |
Description
Michael Weyershäuser
2006-08-19 00:42:51 UTC
Reopen with some errors and emerge --info. Created attachment 94581 [details]
log of the failed emerge
...Wrong time of the day, forgot the emerge --info, log follows... Jakub: You are simply too fast to let any errors slip ;) emerge --info Portage 2.1.1_pre5-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-suspend2-r3-Dudebox-Edition x86_64) ================================================================= System uname: 2.6.17-suspend2-r3-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.4 Last Sync: Sat, 19 Aug 2006 03:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -msse3" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg collision-protect confcache distcc distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage_overlay/default" SYNC="rsync://server/gentoo-portage" USE="amd64 X a52 aac aalib alsa amazon arts artswrappersuid avi berkdb bitmap-fonts bzip2 bzlib cairo ccache cddb cdparanoia cdr cli crypt css cups curl dbus divx4linux dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode esd exif exscalibar fame fbcon ffmpeg flac flash font-server foomaticdb fortran gif glitz gpm gtk gtk2 hal icq id3 imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux libcaca linguas_de lirc lirc_devices_hauppauge_dvb lm_sensors logrotate lzo lzw lzw-tiff mad matroska mp3 mpeg mplayer musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime rar readline reflection sasl sdl session spell spl sql sse3 ssl subversion svg swat tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales vcd video_cards_fglrx video_cards_radeon vorbis wxgtk1 x264 xcomposite xine xml xml2 xmms xorg xosd xpm xscreensaver xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS This happens because media-gfx/digikam from version 0.9.0 and on depends on media-gfx/exiv2 instead of media-libs/libexif. Created attachment 98467 [details, diff]
Patch to fix build with --as-needed
I've attached a simple patch for the problem. It's doing nothing more then reordering the order of libs in the digikam/showfoto/Makefile.am to put the external libs behind the internal ones.
Created attachment 98468 [details]
Updated ebuild to use the proposed patch
A new ebuild with the patch included, version number is unchanged since it changes nothing for those without --as-needed and simply allows a compile for those with it. ;-)
I did also submit the patch upstream for inclusion into the next version hopefully. See: http://bugs.kde.org/show_bug.cgi?id=134924 Thank you. We'll add it ASAP. The patch got submitted upstream (see comment #8 for link), seems to be a correct fix. ;-) Thanks David, I've had to oversee this up to now, but will merge it today. Pinging the right people yields a shockingly fast result it seems. ;-) Indeed, especially because I filter --as-needed bugs as low priority usually ;) Should probably try to find a way to differentiate bugs waiting for patches and bugs with a patch already present. Forgot to close the bug, committed now :) |