Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Sandbox fails building during world update
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
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Wed Feb 19, 2014 2:35 pm    Post subject: [SOLVED] Sandbox fails building during world update Reply with quote

Trying to emerge Sandbox i get these error lines:

Code:

 * ERROR: sys-apps/sandbox-2.6-r1::gentoo failed (compile phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2450:  Called multijob_child_init 'sb_configure'
 *        environment, line 1898:  Called sb_configure
 *        environment, line 2394:  Called econf
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-apps/sandbox-2.6-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.6-r1::gentoo'`.
 * If configure failed with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox
 * The complete build log is located at '/var/tmp/portage/sys-apps/sandbox-2.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-2.6-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/sandbox-2.6-r1/work/build-x86'
 * S: '/var/tmp/portage/sys-apps/sandbox-2.6-r1/work/sandbox-2.6'


There is a build log:
http://bpaste.net/show/180782/


Last edited by mvlabat on Wed Feb 26, 2014 7:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Wed Feb 19, 2014 2:37 pm    Post subject: Reply with quote

And also my config.log:
http://bpaste.net/show/180784/
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9125

PostPosted: Thu Feb 20, 2014 2:59 am    Post subject: Re: Sandbox fails building while "emerge --update --dee Reply with quote

mvlabat wrote:
Code:
 * If you need support, post the output of `emerge --info '=sys-apps/sandbox-2.6-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.6-r1::gentoo'`.
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Fri Feb 21, 2014 4:04 pm    Post subject: Reply with quote

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

Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.13.0 x86_64)   
=================================================================                             
                         System Settings                                                     
=================================================================                             
System uname: Linux-3.13.0-x86_64-Intel-R-_Core-TM-_i7-4702MQ_CPU_@_2.20GHz-with-gentoo-2.2   
KiB Mem:     7928824 total,   4707004 free                                                   
KiB Swap:    8388604 total,   8388604 free                                                   
Timestamp of tree: Tue, 18 Feb 2014 22:00:01 +0000                                           
ld GNU ld (GNU Binutils) 2.23.2                                                               
app-shells/bash:          4.2_p45                                                             
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3                                           
dev-util/cmake:           2.8.11.2                                                           
dev-util/pkgconfig:       0.28                                                               
sys-apps/baselayout:      2.2                                                                 
sys-apps/openrc:          0.12.4                                                             
sys-apps/sandbox:         2.6-r1                                                             
sys-devel/autoconf:       2.13, 2.69                                                         
sys-devel/automake:       1.12.6, 1.13.4                                                     
sys-devel/binutils:       2.23.2                                                             
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid 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 authzwner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expis ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_mag negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIG_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="p2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea nip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripma tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfon cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-nsole presenter-minimizer" LINGUAS="en_GB ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGET"php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS=uby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeosavage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan lgth2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logma ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAN PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-apps/sandbox-2.6-r1 was built with the following:
USE="(-multilib)" ABI_X86="64"
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"


`emerge -pqv '=sys-apps/sandbox-2.6-r1::gentoo'`
Code:

[ebuild   R   ] sys-apps/sandbox-2.6-r1  USE="(multilib*)"
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9125

PostPosted: Fri Feb 21, 2014 11:08 pm    Post subject: Reply with quote

You previously built sandbox with USE=-multilib and are now trying to build with USE=mulltilib. Did you change your profile? Your current profile should never have installed a USE=-multilib sandbox.
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Sat Feb 22, 2014 5:27 pm    Post subject: Reply with quote

Okay. I understood the problem, thank you.
And excuse me for an odd question, I'm a new user to gentoo. What steps should I proceed to make sandbox to be able to install?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9125

PostPosted: Sat Feb 22, 2014 5:58 pm    Post subject: Reply with quote

To install a multilib sandbox, you must have a multilib compiler and multilib gcc. It would help, but is not required, to have a multilib sandbox. Please answer the question I posted previously: did you change your profile after installation, and if you did, what was the previous profile? What is the output of emerge --pretend --verbose sys-libs/glibc sys-devel/gcc?
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Tue Feb 25, 2014 4:38 pm    Post subject: Reply with quote

I can't refresh my memory if I changed it, unfortunately.. But it seems that I didn't change anything like this after the installation.

That is the output of your command...

Code:

Calculating dependencies... done!
[ebuild   R    ] sys-libs/glibc-2.17:2.2  USE="(multilib*) -debug -gd (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 kB
[ebuild   R    ] sys-devel/gcc-4.7.3-r1:4.7  USE="cxx fortran (multilib*) nls nptl openmp (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 60,273 kB

Total: 2 packages (2 reinstalls), Size of downloads: 60,273 kB
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Tue Feb 25, 2014 4:54 pm    Post subject: Reply with quote

Maybe I made a risky step.. I unmerged sandbox package and tried to reemerge it. Now I get this kind of warning in the beginning:

Code:

!!! Problem with sandbox binary. Disabling...


And the same result as before at the end.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9125

PostPosted: Wed Feb 26, 2014 1:18 am    Post subject: Reply with quote

That output says you did change it. You have a non-multilib glibc and a non-multilib gcc. Both would be switched to multilib if you rebuild them. In both cases, you need a multilib glibc and multilib gcc before you can readily rebuild either of them to enable multilib. There are ways to get a multilib environment starting from a non-multlib one, but they are not straightforward. The simplest solution would be to change your profile back to the one that you used at install time.
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Wed Feb 26, 2014 5:21 pm    Post subject: Reply with quote

Where can I change my multilib flag? Will it be enough if I modify only it without rechoosing my main profile?
Now I use "default/linux/amd64/13.0/desktop/kde" profile - it seemed to me, that I chose it in the beginning of my installation. If I change the profile here to no-multilib, will it affect on my currently installed programs?
Back to top
View user's profile Send private message
mvlabat
n00b
n00b


Joined: 19 Jan 2014
Posts: 52

PostPosted: Wed Feb 26, 2014 7:16 pm    Post subject: Reply with quote

http://www.gentoo-wiki.info/HOWTO_AMD_64#Howto_switch_to_multilib

Proceeding these instructions did the job. Thank you for your help. )) Now I have correct multilib support )

Solved.
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