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

Bug 157217

Summary: Gaia build error main() in C library
Product: Gentoo Linux Reporter: Trevor Benedict <mrecho>
Component: New packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Trevor Benedict 2006-12-05 05:41:30 UTC
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

net-misc/curl     Installed versions:  7.15.5
media-libs/jpeg   Installed versions:  6b-r7
media-libs/libpng Installed versions:  1.2.14

why o why scons? ... just why?
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-05 05:44:45 UTC
emerge --info please

and yes scons is horrible.
Comment 2 Trevor Benedict 2006-12-05 05:56:15 UTC
Yes im running ~x86, ive been using Gentoo for almost 3 years now, I know what im doing :P

Portage 2.1.2_rc2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 AMD Sempron(tm)   3000+
Gentoo Base System version 1.12.6
Last Sync: Tue, 05 Dec 2006 13:30:07 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
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.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="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=64"
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/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/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo http://files.gentoo.org http://mirror.espri.arizona.edu/gentoo/"
LDFLAGS="-Wl,--as-needed"
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/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa aoss asf berkdb bitmap-fonts bzip2 cairo cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread elibc_glibc encode fam firefox fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux libg++ linguas_en mad mmap mmx mozbranding mp3 mp4 ncurses nls nonfsv4 nptl nptlonly nsplugin opengl oss pam pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline real reflection samba sdl session spell spl sqlight sqlite sse ssl svg tcpd threads tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia vidix win32codecs x264 xcomposite xinerama xml xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-05 06:05:47 UTC
Reopen to dupe
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-05 06:07:40 UTC
(In reply to comment #2)
> Yes im running ~x86, ive been using Gentoo for almost 3 years now, I know what
> im doing :P
[...]
> LDFLAGS="-Wl,--as-needed"

So you should know, --as-needed is not supported on x86.  The author knows about it and thinks hard to solve it.  Maybe I will kill all dependency checks from the build system in version 0.1.2 coming soon.

*** This bug has been marked as a duplicate of 157123 ***