Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136704 - Gtkada-2.4.0-r2 does not build
Summary: Gtkada-2.4.0-r2 does not build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 13:34 UTC by Graham Murray
Modified: 2006-06-14 11:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2006-06-13 13:34:21 UTC
emerging gtkada-2.4.0-r2 fails

cd lib-obj; i686-pc-linux-gnu-gcc -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2 -march=nocona -mtune=nocona -pipe -ggdb -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

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) 4 CPU 3.20GHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5, 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.59-r7
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.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb"
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -mtune=nocona -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://ftp.du.se/pub/os/gentoo http://mirror.datapipe.net/gentoo http://gentoo.ynet.sk/pub http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 bzlib caps cdparanoia cdr cjk cli crypt cups curl dbus doc dri dts dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq idn ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jce jpeg junit kde kdehiddenvisibility lcms leim libg++ libgda libwww lm_sensors logrotate mad mbox mikmod milter mime mmap mmx mng motif mozilla mp3 mpeg mpi msn ncurses nls nptl nsplugin offensive ogg oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl png postgres pppd profile python qt quicktime readline recode reflection ruby sdl session sharedmem sndfile snmp sockets sox speex spell spl sse sse2 ssl svg sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vhosts vorbis win32codecs wmf wxwindows xface xine xml xml2 xmms xorg xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fredrik Smedberg 2006-06-14 06:04:05 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
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2006-06-14 11:02:20 UTC
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
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2006-06-14 11:47:56 UTC
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