Summary: | Gtkada-2.4.0-r2 does not build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Graham Murray <graham> |
Component: | [OLD] Development | Assignee: | ada team [OBSOLETE] <ada+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Graham Murray
2006-06-13 13:34:21 UTC
I can confirm that. cd lib-obj; i686-pc-linux-gnu-gcc -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -fPIC ../misc_extra.c cd lib-obj; i686-pc-linux-gnu-gcc -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -march=pentium-m -O2 -pipe -fomit-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -fPIC ../misc_broken.c i686-pc-linux-gnu-gcc -shared -fPIC -o libgtkada-2.4.so.0 \ -Wl,-soname,libgtkada-2.4.so.0 lib-obj/glib*.o lib-obj/gdk*.o \ lib-obj/gtk*.o lib-obj/pango*.o \ lib-obj/misc.o lib-obj/misc_extra.o lib-obj/misc_broken.o gtkextra/gtk*.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 i686-pc-linux-gnu-gcc: lib-obj/glib*.o: No such file or directory i686-pc-linux-gnu-gcc: lib-obj/gdk*.o: No such file or directory i686-pc-linux-gnu-gcc: lib-obj/gtk*.o: No such file or directory i686-pc-linux-gnu-gcc: lib-obj/pango*.o: No such file or directory make[1]: *** [libgtkada.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkada-2.4.0-r2/work/LocalSource/src' make: *** [all] Error 2 !!! ERROR: dev-ada/gtkada-2.4.0-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called gnat_src_compile gnat.eclass, line 272: Called lib_compile 'i686-pc-linux-gnu-gnat-gcc-4.1' gtkada-2.4.0-r2.ebuild, line 52: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. My emerge --info: ------------------ Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.1 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo/ http://ds.thn.htu.se/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 7zip X a52 acpi alsa apache2 apm audiofile avi bcmath berkdb bitmap-fonts bzip2 bzlib cli crypt cups dri dts dvd dvdr dvdread eds emboss encode esd flac foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog jpeg jpeg2k libcaca libg++ libwww lirc live lzo mad matroska mikmod mmx mng motif mozsvg mp3 mpeg ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt quicktime readline real reflection sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xml xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS Yea, now I am getting this too, not only with -r2, (which though *was* tested and did Ok) but with -r1 as well, which worked like for ages now. This is that famous issue of gtkada trying to build against itself installed and not the local code. The puzzling thing is that I specifically fixed it not so long ago, but looks like the env stripping code is not being called. Also this looks very much related to the new portage (-2.1) that was just released, something apparently has changed :(. I'll try to trace just what has changed, but meanwhile if you need it now, unmerging old version and emerging gtkada anew should work around. Although I'd advise to "quickpkg gtkada" first.. Stay tuned. George Ok, here you go, please sync (in +30-60 min) and try again. should be fixed now. The real issue was actually not with portage but rather with relocation of gtkada's libs, so I had to make the env cleaning function i gnat.eclass more generic (filter_env_var - the one that removes traces of env vars for the lib that is compiled). Although something indeed changed in portage as well - looks like now ebuild ... command picks up eclass from PORTDIR (a change!) while emerge ... takes it from an overlay, as proper. How any more confusing can that be?! Anyway, the issue should be fixed now, closing the bug. Please reopen if you still have problems.. George |