Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157123

Summary: x11-misc/gaia-1.0.1 fails to compile
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: Current packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED UPSTREAM    
Severity: normal CC: mrecho, tonglebeak
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Priit Laes (IRC: plaes) 2006-12-04 11:19:50 UTC
* Applying gaia-0.1.1-font_inclusion.patch ...                           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-misc/gaia-0.1.1/work/gaia-0.1.1 ...
scons: Reading SConscript files ...
Compiling for Unix/Posix/Linux
Checking for C header file curl/curl.h... yes
Checking for C header file SDL.h... yes
Checking for C header file GL/gl.h... yes
Checking for C header file jpeglib.h... yes
Checking for C header file png.h... yes
Checking for main() in C library curl... no
You need to install libcurl development libraries
Checking for main() in C library jpeg... no
You need to install jpeg development libraries
Checking for main() in C library png... no
You need to install png development libraries

!!! ERROR: x11-misc/gaia-0.1.1 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  gaia-0.1.1.ebuild, line 56:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


Could be probably related to -Wl,--as-needed :)


amd@sl007 ~ $ sudo emerge --info
Portage 2.1.2_rc2-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 04 Dec 2006 18:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -g -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -g -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
LDFLAGS="-Wl,--as-needed"
LINGUAS="et"
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/overlay/amd /home/amd/code/gentoo/non-gnome /home/amd/code/gentoo/gnome /home/amd/code/gentoo/gentopia /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi aiglx aio alsa apache2 avahi beagle bitmap-fonts bluetooth bogofilter branding bzip2 cairo cddb cdr cli cracklib crypt cups curl daap dbus devhelp dga djbfft dlloader dmi dri dvd dvdread eds elibc_glibc emboss encode exif fastcgi firefox flac foomaticdb galago gdbm gif glib glitz glut gnome gnutls gstreamer gtk gtk2 hal iconv idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jpeg kdrive kernel_linux keyring lcms libg++ libnotify libsexy libwww linguas_et logrotate mad mikmod mmap mmx mng mp3 mpeg msn nautilus ncurses nls nptl nptlonly nsplugin ogg ole opengl pam pcmcia pcre pdf png pppd quicktime readline real reflection rtc ruby sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vhosts video_cards_radeon vorbis win32codecs xcb xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aaron Slunt 2006-12-04 22:42:11 UTC
I got no errors on my end. Cleanly compiled on amd64. Now I just need to learn how to use it >_>

h4x0r aaron # emerge --info
Portage 2.1.2_rc2-r4 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Tue, 05 Dec 2006 06:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -funroll-loops"
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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O3 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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="amd64 X alsa berkdb bitmap-fonts cli cracklib crypt cups dbus dlloader dri dvdread elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 hal iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia xml xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-05 00:29:37 UTC
I will report this upstream, but this flag is not supported in Gentoo, and especially not for x86.  So if you have a patch, come again and attach it here...else you can patch it yourself and remove the checks from gaia (found in SConscript)
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-05 06:07:40 UTC
*** Bug 157217 has been marked as a duplicate of this bug. ***
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-06 03:42:31 UTC
Maybe you are interested in the fact that I will commit 0.1.2 soon, which only corrects the build system (while all issues were handled by the ebuild anyway).  But that version has all dependency checks removed by patches, so maybe you can successfuly build it.