Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164510 - media-libs/allegrogl-0.4.0 emake failed
Summary: media-libs/allegrogl-0.4.0 emake failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 08:49 UTC by Didier Link
Modified: 2007-07-06 14:26 UTC (History)
2 users (show)

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


Attachments
build.log for allegrogl-0.4.0 failure on amd64 (build.log,10.17 KB, text/plain)
2007-04-16 21:27 UTC, JTRiley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Didier Link 2007-01-30 08:49:16 UTC
The update ended with this error :

x86_64-pc-linux-gnu-gcc -o examp/fonttest -Iinclude -Iinclude/allegrogl -Iinclude/allegrogl/GLext -I/usr/include  -O2 -Wall -ffast-math -fomit-frame-pointer -L/usr/lib64  -Llib/unix examp/fonttest.c -lagl `/usr/bin/allegro-config --libs` -lGLU -lGL -lGL -ldl -lXxf86vm -lXext -lX11 -lm -lpthread 
/var/tmp/portage/media-libs/allegrogl-0.4.0/temp/ccETThgW.o: In function `main':
fonttest.c:(.text+0x509): undefined reference to `allegro_gl_printf_ex'
collect2: ld returned 1 exit status
make: *** [examp/fonttest] Error 1

!!! ERROR: media-libs/allegrogl-0.4.0 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 3029:   Called src_compile
  allegrogl-0.4.0.ebuild, line 26:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/media-libs:allegrogl-0.4.0:20070130-084220.log'.

---

emerge -upv allegrogl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-libs/allegrogl-0.4.0 [0.2.4-r1] USE="-examples% (-doc%)" 0 kB 



Reproducible: Always




Portage 2.1.2-r5 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 30 Jan 2007 05:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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.16.1-r2, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -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/alias /var/qmail/control /var/www/localhost/htdocs/phppgadmin/conf"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j5"
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/sunrise /usr/portage/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac accessibility acl acpi adns alsa amd64 apache2 artworkextra audiofile bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 c++ cairo caps cddb cdr chroot cli cracklib crypt cups curl dbm dbus dga divx4linux dlloader dmx dri dts dv dvd dvdr eds emboss encode esd evo exif expat ext-png ext-zlib fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gcc-libffi gcj gd gd-external gdbm gif gimp gimpprint gkrellm glade gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn ieee1394 imagemagick imap imlib imlib2 innodb ipv6 isdnlog jabber java javamail jbig jce jikes jpeg jpeg2k junit lame latex lcms ldap libg++ libnotify lm_sensors logrotate lzo lzw mad mhash midi mikmod mime mmap mng motif mozilla mp3 mpeg mpeg4 mysql ncurses nfs nls nptl nptlonly nsplugin objc ogg oggvorbis openal opengl oss pam pcre pda pdf perl php png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samba scanner sdl seamonkey session silc smime smp speex spell spl sqlite ssl svg sysfs syslog tcl tcltk tcpd tga theora threads tidy tiff tiff-lzw tk truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis xine xinetd xml xorg xosd xpm xrandr xv xvid xvmc yahoo yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="g15 ncurses text xosd" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-01-30 20:09:06 UTC
Builds fine for me on x86.  You're using confcache though so basically you're on your own since confcache isn't supported.
Comment 2 Didier Link 2007-01-30 21:00:20 UTC
I have no confcache enabled with portage !? It's ccache, no confcache, or I'm wrong since monthes ??

Anyway, I've disabled this option but emake error is always present.

So what can I do now for help you catch this bug ?

Thanks.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-18 21:35:07 UTC
(In reply to comment #2)

> dev-util/confcache:  0.4.2-r1

emerge -C confcache

Comment 4 Didier Link 2007-03-18 22:19:55 UTC
Before closing a bug can you wait 2 minutes please ?

I've unmerged confcache as you suggest and tadaaa : The same bug !!!
In the comment #2 I've said that I've removed the corresponding keyword in the make.conf FEATURES variable. Stop to fix on this please !

I don't know why it works for you but not for me !

So, what can I do now for go to the next step ?

Thanks for your attention.

---
# emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 18 Mar 2007 07:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.16.1-r2, 2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -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/alias /var/qmail/control /var/www/localhost/htdocs/phppgadmin/conf"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /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 /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j5"
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/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac accessibility acl acpi adns alsa amd64 apache2 artworkextra audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 c++ cairo caps cddb cdr chroot cli cracklib crypt cups curl dbm dbus dga divx4linux dmx dri dts dv dvd dvdr eds emboss encode esd evo exif expat ext-png ext-zlib fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gcc-libffi gcj gd gd-external gdbm gif gimp gimpprint gkrellm glade gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn ieee1394 imagemagick imap imlib imlib2 innodb ipv6 isdnlog jabber java javamail jbig jce jikes jpeg jpeg2k junit lame latex lcms ldap libg++ libnotify lm_sensors logrotate lzo lzw mad mhash midi mikmod mime mmap mng motif mozilla mp3 mpeg mpeg4 mysql ncurses nfs nls nptl nptlonly nsplugin objc ogg oggvorbis openal opengl oss pam pcre pda pdf perl php png posix postgres ppds pppd pulseaudio python qt3 qt4 quicktime readline reflection samba scanner sdl seamonkey session silc smime smp speex spell spl sqlite ssl svg sysfs syslog tcl tcltk tcpd tga theora threads tidy tiff tiff-lzw tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis xine xinetd xml xorg xosd xpm xrandr xv xvid xvmc yahoo yv12 zeroconf zlib" ALSA_CARDS="emu10k1 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="g15 ncurses text xosd" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

---
Comment 5 JTRiley 2007-04-16 21:27:49 UTC
Created attachment 116477 [details]
build.log for allegrogl-0.4.0 failure on amd64

I'm also experiencing this exact error message on amd64 with no hint of confcache on my system.  

# esearch confcache
[ Results for search key : confcache ]
[ Applications found : 0 ]

Attached is a build.log from the failure.  Thanks for your time
Comment 6 Davide Cendron (RETIRED) gentoo-dev 2007-06-21 12:57:09 UTC
Uhm... You have:

CFLAGS="-O2 -march=k8 -mtune=k8 -momit-leaf-frame-pointer -ftracer -ggdb -pipe
-msse3"

Can you try to use more reasonable CFLAGS, like

CFLAGS="-O2 -march=k8 -pipe"

?

I think that your error derives from these "extreme" CFLAGS. Try also to recompile media-libs/allegro with those "safer" CFLAGS.


P.S. i've compiled successfully media-libs/allegrogl-0.4.0 on my AMD64 Gentoo box :)
Comment 7 Didier Link 2007-06-21 14:05:22 UTC
Thanks for the answer but the same error again :-/

Also the same error with gcc-4.1.2 or gcc-3.4.6 ...

Any ideas ??
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2007-07-02 13:58:37 UTC
Does 0.4.1 work?