Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258031 - sys-apps/sandbox-1.3.4: emerge fails with multiple definition of `sandbox_info_t'
Summary: sys-apps/sandbox-1.3.4: emerge fails with multiple definition of `sandbox_inf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-07 15:33 UTC by tka
Modified: 2009-02-08 15:50 UTC (History)
0 users

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


Attachments
Full build log (build.log,39.36 KB, text/plain)
2009-02-07 15:35 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2009-02-07 15:33:35 UTC
Emerging sys-apps/sandbox-1.3.4 fails because of multiple definitions of sandbox_info_t:

/bin/sh ../libtool --tag=CC   --mode=link i586-pc-linux-gnu-gcc  -march=c3 -O2 -fomit-frame-pointer -pipe -Wall -fdata-sections -ffunction-sections  -Wl,--as-needed -Wl,--gc-sections -o sandbox environ.o sandbox.o ../libsbutil/libsbutil.la -ldl
libtool: link: i586-pc-linux-gnu-gcc -march=c3 -O2 -fomit-frame-pointer -pipe -Wall -fdata-sections -ffunction-sections -Wl,--as-needed -Wl,--gc-sections -o sandbox environ.o sandbox.o  ../libsbutil/.libs/libsbutil.a -ldl
sandbox.o:(.bss.sandbox_info_t+0x0): multiple definition of `sandbox_info_t'
environ.o:(.bss.sandbox_info_t+0x0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [sandbox] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/sandbox-1.3.4/work/build-default/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/sandbox-1.3.4/work/build-default'
make: *** [all] Error 2
 *
 * ERROR: sys-apps/sandbox-1.3.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2389:  Called die
 * The specific snippet of code:
 *           emake || die;
 *  The die message:
 *   (no error message)
 *
 * 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.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-1.3.4/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.4, Log file:

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


Reproducible: Always

Steps to Reproduce:
1. Emerge sys-apps/sandbox-1.3.4




wopr / # emerge --info
Portage 2.1.6.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.9_p20081201-r1, 2.6.28.2 i686)
=================================================================
System uname: Linux-2.6.28.2-i686-VIA_Samuel_2-with-glibc2.3.2
Timestamp of tree: Sat, 07 Feb 2009 14:00:02 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=c3 -O2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=c3 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict stricter test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 caps crypt gdbm gmp hardened idn ipv6 java ncurses nptl pcre pic readline source ssl threads unicode x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1       emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel        mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware       voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tka 2009-02-07 15:35:35 UTC
Created attachment 181261 [details]
Full build log
Comment 2 SpanKY gentoo-dev 2009-02-07 21:46:40 UTC
looks like a typo in a local header ... odd that your toolchain flags this as a problem (since multiply defined COM objects are normally unified).  fixed at any rate though.

http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commitdiff;h=1f835b90585676e3f87608e94a6500b8732b4b45
Comment 3 tka 2009-02-08 15:50:23 UTC
Confirmed, it's fixed.

Thank you for supporting my odd toolchain. :-)