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

Bug 141174

Summary: can't compile sandbox 1.2.18.1/gcc 4.1.1/glibc 2.4-r3
Product: Gentoo Linux Reporter: Sergey Guriev <marx>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ! /var/tmp/portage/sandbox-1.2.18.1/work/build-x86-x86_64-pc-linux-gnu/config.log

Description Sergey Guriev 2006-07-20 07:50:39 UTC
first version of sandbox was 1.2.12, i've tried to update it from package
http://gentoo.modulix.net/gentoo/grp/x86_64-pc-linux-gnu/athlon64/sandbox-1.2.18.1.tbz2
but problem still exists

also i've tried to 
# USE="bootstrap build" FEATURES="-sandbox" emerge --oneshot --nodeps gcc
gcc 4.1.1 compiles and problem still exists

# FEATURES="-sandbox" emerge sandbox
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-apps/sandbox-1.2.18.1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking sandbox-1.2.18.1.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking sandbox-1.2.18.1.tar.bz2 to /var/tmp/portage/sandbox-1.2.18.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sandbox-1.2.18.1/work/sandbox-1.2.18.1 ...
 * If configure fails with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox
 * Configuring sandbox for ABI=x86...
 * econf: updating sandbox-1.2.18.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating sandbox-1.2.18.1/config.sub with /usr/share/gnuconfig/config.sub
../sandbox-1.2.18.1//configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --enable-multilib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sandbox-1.2.18.1/work/build-x86-x86_64-pc-linux-gnu/config.log

!!! ERROR: sys-apps/sandbox-1.2.18.1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  sandbox-1.2.18.1.ebuild, line 83:   Called econf '--libdir=/usr/lib32' '--enable-multilib'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

------------------

# emerge --info
Portage 2.1.1_pre3-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-hardened, glibc-2.3.5-r2, 2.6.17-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     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.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acl alsa avi berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri dvd dvdr eds emboss encode flac foomaticdb fortran gif gpm gstreamer gtk2 iconv imlib isdnlog jpeg kde lzw lzw-tiff mikmod mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl stream tcpd theora tiff truetype-fonts type1-fonts unicode usb utf8 xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

--------------

# cat /etc/make.conf
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~amd64"
USE="-X -gtk -sdl -opengl -gnome -wxwindows -qt acl alsa oss nvidia unicode utf8 nls ogg mikmod flac oggvorbis dvd dvdr -ipv6 bzip2 iconv stream theora"

-----

# cat /etc/portage/package.use
sys-libs/glibc erandom nptl nptlonly
sys-devel/gcc objc -gtk -gcj multislot -fortran -hardened
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-20 08:49:59 UTC
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sandbox-1.2.18.1/work/build-x86-x86_64-pc-linux-gnu/config.log
Comment 2 Sergey Guriev 2006-07-20 09:17:13 UTC
Created attachment 92318 [details]
!
/var/tmp/portage/sandbox-1.2.18.1/work/build-x86-x86_64-pc-linux-gnu/config.log
Comment 3 Sergey Guriev 2006-07-21 06:31:36 UTC
All software compiles now!!
Today I've updated sys-apps/portage to version 2.1.1_pre3-r3.