Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92414 - sandbox-1.2.7 won't compile.
Summary: sandbox-1.2.7 won't compile.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 12:26 UTC by Bruno Lustosa
Modified: 2005-05-12 21:21 UTC (History)
0 users

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


Attachments
autoconf log (config.log,7.25 KB, text/plain)
2005-05-12 12:27 UTC, Bruno Lustosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Lustosa 2005-05-12 12:26:40 UTC
When trying to upgrade sandbox (from 1.2.5-r1 to 1.2.7), I get the following error. Something similar happened in 1.2.5, and was solved in r1.
I'm marking this as a blocker, because it's the first package that portage tries to upgrade. All others fail.

(snip)
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-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 config.log to your bug report:
!!! /var/tmp/portage/sandbox-1.2.7/work/sandbox-1.2.7-x86/config.log

!!! ERROR: sys-apps/sandbox-1.2.7 failed.
!!! Function econf, Line 485, Exitcode 0


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.21-r1 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.nutsmaas.nl/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo
http://gentoo.mirrors.tds.net/gentoo ftp://ftp.heanet.ie/pub/gentoo/
http://ftp.heanet.ie/pub/gentoo/ http://gentoo.ccccom.com
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.ccccom.com
http://linuv.uv.es/mirror/gentoo/ http://gentoo.mirror.icd.hu/
ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.osuosl.org/ http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://mirrors1.netvisao.pt/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://gentoo.seren.com/gentoo
ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/
http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://mirror.aiya.ru/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit X aac aalib acpi acpi4linux aim alsa apache2 avi
bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups curl
dga dvd eds esd exif fam font-server foomaticdb fortran ftp gd gdbm gif gnome
gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib jabber java jp2
jpeg libwww lzw lzw-tiff mad maildir mikmod motif mozilla moznocompose moznoirc
moznomail mp3 mpeg msn multilib ncurses nls nvidia offensive ogg oggvorbis
opengl oss pam pam_console perl png postgres ppds readline sasl sdl ssl tcpd
tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis
xml xml2 xmms xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Bruno Lustosa 2005-05-12 12:27:33 UTC
Created attachment 58764 [details]
autoconf log
Comment 2 Bruno Lustosa 2005-05-12 13:39:15 UTC
Not sure why it goes into /var/tmp/portage/sandbox-1.2.7/work/sandbox-1.2.7-x86, and not into amd64 subdir. The error seems to be there.
Comment 3 Bartek Kostrzewa 2005-05-12 17:42:08 UTC
Just a wild guess, but try commenting out the CBUILD in you make.conf.
Comment 4 Bruno Lustosa 2005-05-12 17:46:53 UTC
I have no CBUILD in my make.conf, and also, couldn't find any CBUILD in /etc/make.profile.
However, it IS in emerge info. From where it comes, I don't know.
Comment 5 Bruno Lustosa 2005-05-12 21:21:39 UTC
Sorry, in the middle of all messages there was this:

 * If configure fails with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox

Tried it and it worked. Perhaps this should be a default for this package?
Anyway, the issue is solved here. I'm marking the bug as resolved.