Summary: | media-gfx/hugin-0.6.1 fails w/ --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Krzysztof Nowicki <krissn> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | coldwind, flameeyes |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
hugin-0.6.1-link.patch
hugin-0.6.1.ebuild.patch hugin-0.6.1-as-needed.patch hugin-0.6.1.ebuild.patch hugin-0.7_beta4-as-needed.patch hugin-0.7_beta4.ebuild.patch |
Description
Krzysztof Nowicki
2007-05-30 19:29:04 UTC
ionadh ~ # emerge --info Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20-morph9 x86_64) ================================================================= System uname: 2.6.20-morph9 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 28 May 2007 17:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17.50.0.16 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe -march=nocona -fno-ident" 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/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-Os -pipe -march=nocona -fno-ident" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://src.gentoo.pl http://gentoo.po.opole.pl" LANG="pl_PL" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,--as-needed -Wl,--hash-style=both -Wl,-O1" LINGUAS="pl" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/initng /usr/portage/local/layman/hanno-xgl /usr/portage/local/layman/xeffects /usr/portage/local/layman/arcon-portage /usr/local/portage /usr/portage/local/minefield" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 amr apache2 arts bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli crypt css cups dbus divx dri dts dvb dvd dvdr dvdread eds emacs emboss emerald encode esd exif fam fbcon fbsplash ffmpeg firefox flac fortran gif gimp glitz gmedia gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kipi libg++ mad matroska midi mikmod mmap mp3 mpeg mudflap musepack mysql ncurses newspr nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline realmedia reflection rtc samba sdl session skey slang smp spell spl splash ssl subversion svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vorbis webdav wifi wma wmf wmp x264 xforms xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide ctrlaltdel fmon ngcs nge" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="vesa nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Created attachment 120718 [details, diff]
hugin-0.6.1-link.patch
The problem can be fixed by changing the link command line by moving -lboost_thread-gcc-mt to the end.
Proposed patch
Created attachment 120720 [details, diff]
hugin-0.6.1.ebuild.patch
Related ebuild patch.
(In reply to comment #2) > Created an attachment (id=120718) [edit] > hugin-0.6.1-link.patch > Maybe the proper solution would be to use LIBADD? Also please submit this patch upstream and post the link here. I found a much cleaner solution of this problem, that addresses the issue right at the root point. The same problem is also observed on 0.7_beta4. I also renamed the patch according to the cause of the problem. Patches follow. Created attachment 120889 [details, diff]
hugin-0.6.1-as-needed.patch
Patch for hugin-0.6.1
Created attachment 120890 [details, diff]
hugin-0.6.1.ebuild.patch
Related ebuild patch.
Created attachment 120891 [details, diff]
hugin-0.7_beta4-as-needed.patch
Patch for hugin 0.7_beta4
Created attachment 120892 [details, diff]
hugin-0.7_beta4.ebuild.patch
Related ebuild patch.
Reelevant patch also reported upstream.
applied, thanks for the patches! marked 0.6.1-r2 stable on amd64 because current stable did not build (tried without asneeded too) |