Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update to sandbox 2.6-r1 [emerge -uD sandbox] fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
BluffPoint
n00b
n00b


Joined: 10 Sep 2013
Posts: 4

PostPosted: Tue Sep 10, 2013 5:51 pm    Post subject: update to sandbox 2.6-r1 [emerge -uD sandbox] fails Reply with quote

Hi all,

i am using gentoo since many years with less or no problems.
Now i am trying to update my gentoo box.
Nearly everything was fine except sandbox. I tried every known trick, but with no success...

Here are the relevant lines from build.log:
Code:
 checking for suffix of object files... configure: error: in `/var/tmp/portage/sys-apps/sandbox-2.6-r1/work/build-x86':
configure: error: cannot run C compiled programs.
...
If configure failed with a 'cannot run C compiled programs' error, try this:
FEATURES=-sandbox emerge sandbox


The configure process then continues and stops with:
Code:

...
The ebuild phase 'compile' with pid 15984 appears to have left an orphan process running in the background.


I tried the suggested recommendation, but with the same results.

Here is the `emerge --info '=sys-apps/sandbox-2.6-r1::gentoo':
Code:

Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.0.35-tuxonice x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.35-tuxonice-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.2
KiB Mem:     8185912 total,   7474776 free
KiB Swap:    7823648 total,   7823648 free
Timestamp of tree: Tue, 10 Sep 2013 16:00:02 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cgi clamav cli cracklib crypt cxx dri fortran gdbm hvm iconv ipv6 kde mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="s3" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


and here the output of emerge -pqv '=sys-apps/sandbox-2.6-r1::gentoo':
Code:

[ebuild     U ] sys-apps/sandbox-2.6-r1 [2.5] USE="(multilib)"



All other packages are updated with no problems, only sandbox fails.
Any help is highly appreciated ;-)

Thanks a lot to you all and the gentoo community
Back to top
View user's profile Send private message
quilosaq
l33t
l33t


Joined: 22 Dec 2009
Posts: 838

PostPosted: Tue Sep 10, 2013 6:04 pm    Post subject: Reply with quote

Hi!

Try omiting your local overlay:
Code:
(root)# PORTDIR_OVERLAY="" emerge sandbox


If that doesn't work try:
Code:
(root)# PORTDIR_OVERLAY="" FEATURES=-sandbox emerge sandbox
Back to top
View user's profile Send private message
BluffPoint
n00b
n00b


Joined: 10 Sep 2013
Posts: 4

PostPosted: Tue Sep 10, 2013 6:15 pm    Post subject: Reply with quote

Hi quilosaq,

thanks for the quick response!
Unfortunately with no success. Exactly the same results...

Quote:

Try omiting your local overlay:
Code:
   
(root)# PORTDIR_OVERLAY="" emerge sandbox   


If that doesn't work try:
Code:
   
(root)# PORTDIR_OVERLAY="" FEATURES=-sandbox emerge sandbox

Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9050

PostPosted: Tue Sep 10, 2013 10:26 pm    Post subject: Reply with quote

Please post the failure messages shown in config.log.
Back to top
View user's profile Send private message
BluffPoint
n00b
n00b


Joined: 10 Sep 2013
Posts: 4

PostPosted: Wed Sep 11, 2013 4:56 am    Post subject: Reply with quote

Here are the failure messages from config.log:

Code:

configure:3527: $? = 0
configure:3516: x86_64-pc-linux-gnu-gcc -m32 -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.9, pie-0.5.2'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.9, pie-0.5.2)
configure:3527: $? = 0
configure:3516: x86_64-pc-linux-gnu-gcc -m32 -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3527: $? = 1
configure:3516: x86_64-pc-linux-gnu-gcc -m32 -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3527: $? = 1
configure:3547: checking whether the C compiler works
configure:3569: x86_64-pc-linux-gnu-gcc -m32 -march=native -O2 -pipe -mno-tls-direct-seg-refs  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3573: $? = 0
configure:3621: result: yes
configure:3624: checking for C compiler default output file name
configure:3626: result: a.out
configure:3632: checking for suffix of executables
configure:3639: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=native -O2 -pipe -mno-tls-direct-seg-refs  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3643: $? = 0
configure:3665: result:
configure:3687: checking whether we are cross compiling
configure:3695: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=native -O2 -pipe -mno-tls-direct-seg-refs  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3699: $? = 0
configure:3706: ./conftest
../sandbox-2.6//configure: line 3708: ./conftest: cannot execute binary file
configure:3710: $? = 126
configure:3717: error: in `/var/tmp/portage/sys-apps/sandbox-2.6-r1/work/build-x86':
configure:3719: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Back to top
View user's profile Send private message
quilosaq
l33t
l33t


Joined: 22 Dec 2009
Posts: 838

PostPosted: Wed Sep 11, 2013 6:23 pm    Post subject: Reply with quote

Check if you have your kernel configured with
Quote:
IA32 Emulation (CONFIG_IA32_EMULATION)
option.
Back to top
View user's profile Send private message
BluffPoint
n00b
n00b


Joined: 10 Sep 2013
Posts: 4

PostPosted: Thu Sep 12, 2013 5:21 am    Post subject: Reply with quote

That's it!
I recompiled and reinstalled my kernel with this option and afterwards the sandbox update succeeded.

Great job, 1000 thanks quilosaq! :D


Quote:

Check if you have your kernel configured with
Quote:
Zitat: IA32 Emulation (CONFIG_IA32_EMULATION)

option.

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum