Summary: | orbit-0.5.17-r1 breaks with LDFLAGS "-Wl,--as-needed" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Charles Hemingway <pincushionman> |
Component: | [OLD] Library | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | anotherbearcatfan, flameeyes, polynomial-c, portage, rockoo, thoward1120 |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
orbit-0.5.17 --as-needed fix
ebuild patch, orbit-0.5.17-r1, for --as-needed orbit-0.5.17 --as-needed fix, for use w/ eautomake ebuild patch, orbit-0.5.17-r1, for --as-needed, uses eautomake orbit-config.log |
Description
Charles Hemingway
2006-04-21 07:44:05 UTC
Fixed this for --as-needed With glib fixed (see bug #133818, this was trivial. Just a case of lazy linking rules. Basically, every library in this package references one or more of the other libraries in the package. So, of course, none of the Makefiles actually handled this, which is good, because if they had taken this into account, the libraries were being built in the wrong order anyway. Only the two libraries that didn't depend on the others linked correctly. Created attachment 87078 [details, diff]
orbit-0.5.17 --as-needed fix
Created attachment 87079 [details, diff]
ebuild patch, orbit-0.5.17-r1, for --as-needed
(In reply to comment #3) > Created an attachment (id=87079) [edit] > ebuild patch, orbit-0.5.17-r1, for --as-needed > These two patches have fixed it for me. Compiles fine, GCC 4.1.0-r1. Thanks Mr. Howard. Created attachment 87696 [details, diff]
orbit-0.5.17 --as-needed fix, for use w/ eautomake
No longer alters the Makefile.in's
Created attachment 87697 [details, diff]
ebuild patch, orbit-0.5.17-r1, for --as-needed, uses eautomake
The sed alterations may be unacceptable, I don't know. There are alternatives:
1. Use a patch to do the same thing.
2. Run automake instead of eautomake
3. Use the original patch to directly change the Makefile.in's, and avoid (e)automake entirely
3. Don't do anything to the Makefile.in's and run eautomake.
The last is why I used sed in the first place. Like a number of other ebuilds, using eautomake triggers a full eautoreconf because of version mismatch between 1.4-p5 and 1.4-p6. I fixed the other ebuilds, but I'm not going to do so here.
eautoreconf hopelessly breaks locale support when it re-configures the popt subdir, a directory which is irrelevant to the trivial changes made to four makefile.am's in the src subdir. I'm tired of trying to get a simple automake run and ending up with massive alterations that cause compilation/configuration to die because of a version mismatch which is guaranteed because 1.4-p6 is the only 1.4 of automake available in portage. I could probably get locale support to work again, but it'd be wasted effort as far as I'm concerned. If someone else wants to deal with it, they're welcome to it.
Created attachment 93875 [details] orbit-config.log Hi, even with this patch orbit fails to finish configure when glib-1.2.10 was compiled with --as-needed with patch from bug #133818. Compiling glib-1.2.10 without --as-needed solves the problem with orbit. This happens during configure: ... checking alignment of CORBA_short... 2 checking alignment of CORBA_long... 4 checking alignment of CORBA_unsigned_short... 2 checking alignment of CORBA_unsigned_long... 4 checking alignment of CORBA_float... 4 checking alignment of CORBA_double... 4 checking alignment of CORBA_char... 1 checking alignment of CORBA_boolean... 1 checking alignment of CORBA_octet... 1 checking alignment of CORBA_long_double... 4 checking alignment of CORBA_wchar... 2 checking alignment of CORBA_long_long... 0 configure: error: Failed to find alignment. Check config.log for details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /home/portage/tmp/portage/orbit-0.5.17-r1/work/ORBit-0.5.17/config.log !!! ERROR: gnome-base/orbit-0.5.17-r1 failed. My emerge --info: Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.16.27 i686) ================================================================= System uname: 2.6.16.27 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.12.4 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: [Not Present] dev-util/confcache: [Not Present] 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: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /home /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/X11/gdm /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/gnome /etc/gnome-vfs-2.0 /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/ssl /etc/terminfo" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -frename-registers -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,--as-needed" LINGUAS="de" PKGDIR="/home/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="/home/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.254/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac acpi alsa apache2 apm arts asf avi berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr cli crypt cups dri dvd dvdread emboss encode fam ffmpeg flac foomaticdb gdbm gif gnutls gpg gstreamer gtk gtk2 idn imagemagick imlib isdnlog jpeg kde libg++ libwww mad mikmod mjpeg mmx mmxext mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt qt3 quicktime readline real reflection samba sdl session silc slang spell spl sse ssl svg tga theora tiff truetype truetype-fonts type1-fonts udev vcd vorbis win32codecs x264 xcomposite xml xml2 xmms xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nv video_cards_nvidia" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS regards Poly-C Same configure issue here... Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4.90.20060915-r0, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.12.5 Last Sync: Sat, 16 Sep 2006 01:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] 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.50.0.3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8 -msse3 -O2 -pipe -fno-ident -fomit-frame-pointer -ftracer -freorder-blocks-and-partition" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -msse3 -O2 -pipe -fno-ident -fomit-frame-pointer -ftracer -freorder-blocks-and-partition" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.pair.com/" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=both" LINGUAS="en" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/toolchain_overlay" SYNC="rsync://apollo.clarkconnect.lan/gentoo-portage" USE="x86 3dnow 3dnowext X Xaw3d a52 aac aalib alsa amr aotuv asf bash-completion berkdb bitmap-fonts bzip2 cairo caps cddb cdinstall cdparanoia cdr crypt cups curl dbus dga djbfft dlloader dri dts dv dvd dvdr dvdread elibc_glibc emacs enca encode exif exo expat fam fbcon ffmpeg firefox flac foomaticdb fortran fpx ft gd gdbm gencertdaily ggi gif glibc-omitfp glitz gmp gnutls gphoto2 gpm gs gstreamer gtk gtk2 hal iconv idn imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse insecure-savers ithreads java javascript jbig jpeg jpeg2k kernel_linux lcms libcaca linguas_en lm_sensors logrotate lzo mad mikmod mmap mmx mmxext mng modplug motif mp3 mp4 mpeg musepack ncurses network nls nptl nptlonly nsplugin numeric offensive ogg openal openexr opengl oss pam panel-plugin pcre pdf perl pic png ppds python quicktime readline real rle rtc samba sdl shorten slang slp smp sndfile sox speex spell sse sse2 ssl startup-notification svg syslog tcl tcltk tcpd tga theora threads thunar-vfs tiff tk toolbar truetype truetype-fonts type1-fonts usb userland_GNU vcd video_cards_nv video_cards_nvidia video_cards_vesa vidix vim-with-x vorbis vorbis-psy win32codecs wmf wxwindows x264 xanim xcomposite xine xml xmms xpm xscreensaver xslt xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS Marked for removal. Please migrate to gnome-2.x |