Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261137 - "FEATURES=-sandbox emerge sandbox" fails
Summary: "FEATURES=-sandbox emerge sandbox" fails
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 09:31 UTC by Roman Orishko
Modified: 2009-03-04 13:33 UTC (History)
0 users

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


Attachments
/var/tmp/portage/sys-apps/sandbox-1.3.8/work/build-x86/config.log (config.log,8.07 KB, text/plain)
2009-03-04 10:35 UTC, Roman Orishko
Details
/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/build.log (build.log,2.82 KB, text/plain)
2009-03-04 10:38 UTC, Roman Orishko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Orishko 2009-03-04 09:31:52 UTC
When I try to emerge any version of sandbox it saying:
 * If configure failed with a 'cannot run C compiled programs' error, trythis:
 * FEATURES=-sandbox emerge sandbox
I tried this, same result.

Reproducible: Always

Steps to Reproduce:
1.FEATURES=-sandbox emerge sandbox

Actual Results:  
Calculating dependencies... done!         

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/sandbox-1.3.8
 * sandbox-1.3.8.tar.lzma RMD160 SHA1 SHA256 size ;-) ...          [ ok ]
 * checking ebuild checksums ;-) ...                               [ ok ]
 * checking auxfile checksums ;-) ...                              [ ok ]
 * checking miscfile checksums ;-) ...                             [ ok ]
>>> Unpacking source...                                                  
>>> Unpacking sandbox-1.3.8.tar.lzma to /var/tmp/portage/sys-apps/sandbox-1.3.8/work                                                                
>>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-1.3.8/work       
>>> Compiling source in /var/tmp/portage/sys-apps/sandbox-1.3.8/work/sandbox-1.3.8 ...                                                              
 * Configuring sandbox for ABI=x86...                                     
 * econf: updating sandbox-1.3.8/config.guess with /usr/share/gnuconfig/config.guess                                                                
 * econf: updating sandbox-1.3.8/config.sub with /usr/share/gnuconfig/config.sub                                                                    
../sandbox-1.3.8//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 --build=i686-pc-linux-gnu                                                                      
checking for a BSD-compatible install... /usr/bin/install -c              
checking whether build environment is sane... yes                         
checking for a thread-safe mkdir -p... /bin/mkdir -p                      
checking for gawk... gawk                                                 
checking whether make sets $(MAKE)... yes                                 
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32        
checking for C compiler default output file name... a.out                 
checking whether the C compiler works... configure: error: in `/var/tmp/portage/sys-apps/sandbox-1.3.8/work/build-x86':                             
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 seeking support:
!!! /var/tmp/portage/sys-apps/sandbox-1.3.8/work/build-x86/config.log
 *                                                                   
 * ERROR: sys-apps/sandbox-1.3.8 failed.                             
 * Call stack:                                                       
 *               ebuild.sh, line   49:  Called src_compile           
 *             environment, line 2481:  Called econf                 
 *               ebuild.sh, line  543:  Called die                   
 * The specific snippet of code:                                     
 *                      die "econf failed"                           
 *  The die message:                                                 
 *   econf failed                                                    
 *                                                                   
 * If you need support, post the topmost build error, and the call stack if relevant.                                                               
 * A complete build log is located at '/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/build.log'.                                                     
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/environment'.                                            
 *                                                                        
 * If configure failed with a 'cannot run C compiled programs' error, try this:                                                                     
 * FEATURES=-sandbox emerge sandbox                                       

>>> Failed to emerge sys-apps/sandbox-1.3.8, Log file:

>>>  '/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/build.log'

 * Messages for package sys-apps/sandbox-1.3.8:

 *
 * ERROR: sys-apps/sandbox-1.3.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2481:  Called econf
 *               ebuild.sh, line  543:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/environment'.
 *
 * If configure failed with a 'cannot run C compiled programs' error, trythis:
 * FEATURES=-sandbox emerge sandbox



emerge --info                                                   
!!! Problem with sandbox binary. Disabling...                             

Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)                                            
=================================================================         
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-glibc2.2.5                                                   
Timestamp of tree: Tue, 03 Mar 2009 03:00:02 +0000                        
app-shells/bash:     3.2_p39                                              
dev-java/java-config: 2.1.6-r1                                            
dev-lang/python:     2.5.2-r7                                             
dev-util/cmake:      2.6.3                                                
sys-apps/baselayout: 1.12.11.1                                            
sys-devel/autoconf:  2.13, 2.63                                           
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                           
sys-devel/binutils:  2.18-r3                                              
sys-devel/gcc-config: 1.4.0-r4                                            
sys-devel/libtool:   1.5.26                                               
virtual/os-headers:  2.6.27-r2                                            
ACCEPT_KEYWORDS="amd64"                                                   
CBUILD="x86_64-pc-linux-gnu"                                              
CFLAGS="-O2 -pipe -march=core2"                                           
CHOST="x86_64-pc-linux-gnu"                                               
CONFIG_PROTECT="/etc /usr/share/config"                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"                                                              
CXXFLAGS="-O2 -pipe -march=core2"                                         
DISTDIR="/usr/portage/distfiles"                                          
FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"                                              
GENTOO_MIRRORS="ftp://ftp.ntu-kpi.kiev.ua/pub/mirrors/Gentoo ftp://dream.cad.ntu-kpi.kiev.ua/pub/ ftp://gentoo.kiev.ua/"                            
LC_ALL="uk_UA.UTF-8"                                                      
LDFLAGS="-Wl,-O1"                                                         
LINGUAS="uk"                                                              
MAKEOPTS="-j3"                                                            
PKGDIR="/usr/portage/packages"                                            
PORTAGE_CONFIGROOT="/"                                                    
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.ntu-kpi.kiev.ua/gentoo-portage"
USE="64bit X acl alsa amd64 berkdb bluetooth bzip2 cdr cli cracklib cryptcups dbus dri dvd dvdr exif fortran ftp gdbm gif gpm hal iconv ipv6 isdnlog jpeg kde matroska midi mmx mmxext mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt4 readline reflection session spell spl sse sse2 ssl ssse3 sysfs tcpdtiff truetype type1 unicode usb x264 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audiovia82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmixdshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linearmeter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glkhd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="uk" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 emerald 2009-03-04 09:52:59 UTC
> See `config.log' for more details.
>
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/sys-apps/sandbox-1.3.8/work/build-x86/config.log
[...]
> * If you need support, post the topmost build error, and the call stack if 
relevant.
> * A complete build log is located at 
'/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/build.log'.

Without those logs you will probably not get any help.
Comment 2 Roman Orishko 2009-03-04 10:35:08 UTC
Created attachment 183865 [details]
/var/tmp/portage/sys-apps/sandbox-1.3.8/work/build-x86/config.log
Comment 3 Roman Orishko 2009-03-04 10:38:55 UTC
Created attachment 183866 [details]
/var/tmp/portage/sys-apps/sandbox-1.3.8/temp/build.log
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-04 10:44:34 UTC
You're probably missing intel 32 bit emulation in the kernel
Comment 5 Roman Orishko 2009-03-04 11:26:03 UTC
(In reply to comment #4)
> You're probably missing intel 32 bit emulation in the kernel
> 
Yes, I did. Thank you.