Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144382 - media-gfx/digikam-0.9.0_beta1 fails to emerge with --as-needed
Summary: media-gfx/digikam-0.9.0_beta1 fails to emerge with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed 135763
  Show dependency tree
 
Reported: 2006-08-19 00:42 UTC by Michael Weyershäuser
Modified: 2006-10-04 03:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log of the failed emerge (digikam_emerge.log,374.48 KB, text/plain)
2006-08-19 00:57 UTC, Michael Weyershäuser
Details
Patch to fix build with --as-needed (digikam-0.9.0_beta2-as-needed.patch,1.24 KB, patch)
2006-09-30 13:39 UTC, David Philippi
Details | Diff
Updated ebuild to use the proposed patch (digikam-0.9.0_beta2.ebuild,2.57 KB, text/plain)
2006-09-30 13:42 UTC, David Philippi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weyershäuser 2006-08-19 00:42:51 UTC
media-gfx/digikam-0.9.0_beta1 fails to emerge with -Wl,--as-needed in LDFLAGS. Previous versions of digikam emerge fine with it. Removing --as-needed from LDFLAGS fixes this.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-19 00:45:38 UTC
Reopen with some errors and emerge --info.
Comment 2 Michael Weyershäuser 2006-08-19 00:57:56 UTC
Created attachment 94581 [details]
log of the failed emerge
Comment 3 Michael Weyershäuser 2006-08-19 00:58:51 UTC
...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
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-22 06:59:01 UTC
This happens because media-gfx/digikam from version 0.9.0 and on depends on media-gfx/exiv2 instead of media-libs/libexif.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-22 07:38:34 UTC
See Comment #5 on http://bugs.kde.org/show_bug.cgi?id=122747
Comment 6 David Philippi 2006-09-30 13:39:33 UTC
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.
Comment 7 David Philippi 2006-09-30 13:42:40 UTC
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. ;-)
Comment 8 David Philippi 2006-09-30 13:54:32 UTC
I did also submit the patch upstream for inclusion into the next version hopefully. See: http://bugs.kde.org/show_bug.cgi?id=134924
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-30 17:04:25 UTC
Thank you. We'll add it ASAP.
Comment 10 David Philippi 2006-10-01 11:06:33 UTC
The patch got submitted upstream (see comment #8 for link), seems to be a correct fix. ;-)
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 03:09:13 UTC
Thanks David, I've had to oversee this up to now, but will merge it today.
Comment 12 David Philippi 2006-10-04 03:18:16 UTC
Pinging the right people yields a shockingly fast result it seems. ;-)
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 03:28:12 UTC
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.
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-04 03:39:50 UTC
Forgot to close the bug, committed now :)