User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.7) Gecko/20060911 Camino/1.0.3 (MultiLang) Build Identifier: I had a working 2005.0 profile on AMD64 and switched to 2006.1/desktop. I did an emerge --sync, emerge portage,switched profile in /etc etc. and then tried to emerge system/world The sandbox failed though (also gcc ... and quite a few blocking, as expected), even with FEATURES="-sandbox" emerge sandbox as suggested (it's the 1.2.17.ebuild). It happens for the first ABI=x86 But this is not really a broken multilib issue. I tried to solve it myself and at least I got it working on my pc CHANGING the ebuild. In the src_compile() there is a line [[ -n ${CBUILD} && ${CBUILD} != $(CHOST) ]] && iscross = 1 which - I think - is too early in the script. It should be in the "for ABI" loop after the "export CHOST=${get_abi_CHOST}" because only then we know whether it is a cross compile or not (amd64 for amd64 is not and amd64 for x86 is). I am not quite sure about the setup_multilib() Shouldn't be the CHOST_x86 in the "if use amd64 ..." also be a x86_64-pc-linux-gnu, as the compiling host is a amd64 really. Anyway, doing those two changes to the ebuild made the sandbox emerge. I had a look in the sandbox-1.2.20_alpha2.ebuild, it's still in there as in 1.2.17, so maybe there needs to be a change. Let me know, what you think, if you find time. Maybe I am wrong after all. Reproducible: Always Steps to Reproduce: 1. rm /etc/make.profile 2. ln -s ../usr/portage/... 3a. emerge sandbox 3b. FEATURES="-sandbox" emerge sandbox Actual Results: The configure Skripts fails during execution check of a.out, just after the "gcc -V </dev/bull >&5" Expected Results: Should compile for ABI=x86 and ABI=amd64 Gentoo Base System version 1.12.5 Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Last Sync: Mon, 16 Oct 2006 18:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo" LINGUAS="de en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac alsa amd64 apache2 arts berkdb bitmap-fonts cairo cdr cli crypt cups dbus djbfft dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_de linguas_en mad mikmod mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre perl php png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vcd video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please, reopen with some errors.
and /var/tmp/portage/sandbox-1.2.17*/work/sandbox*/config.log attached...
Created attachment 99935 [details] config.log off error
(In reply to comment #1) > Please, reopen with some errors. > error is: emerge sandbox or FEATURES="-sandbox" emerge sandbox fails for AMD64 System, 2006.1/desktop profile. Is that not an error (I thought I wrote that, but sorry it is my first bug report)? Config.log attached
(In reply to comment #0) I also see this behaviour with sandbox-1.2.18.1 on an amb64 upgraded from 2005.0 to 2006.1 by following the description in the gentoo handbook. I performed the 2 modifications in the ebuild as described above, but without luck.
Sven, can you put the complete workdir (that should be /var/tmp/portage/sys-apps/sandbox*/work/) in a compressed tar and attach it to this bug? The output given here just doesn't make sense, so I need a complete dump if possible. Thanks in advance!