>>> Emerging (1 of 1) net-misc/dropbox-1.2.48 * dropbox-lnx.x86_64-1.2.48.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking dropbox-lnx.x86_64-1.2.48.tar.gz to /var/tmp/portage/net-misc/dropbox-1.2.48/work >>> Source unpacked in /var/tmp/portage/net-misc/dropbox-1.2.48/work >>> Preparing source in /var/tmp/portage/net-misc/dropbox-1.2.48/work/dropbox-1.2.48 ... >>> Source prepared. Traceback (most recent call last): File "/usr/lib64/portage/bin/ebuild-ipc.py", line 11, in <module> import pickle File "/usr/lib64/python2.7/pickle.py", line 34, in <module> import struct File "/usr/lib64/python2.7/struct.py", line 2, in <module> from _struct import _clearcache ImportError: cannot import name _clearcache * The ebuild phase 'prepare' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly.
Created attachment 292743 [details] /var/log/portage/build/net-misc/dropbox-1.2.48:20111116-102851.log build.log
Portage 2.2.0_alpha74 (default/linux/amd64/10.0, gcc-4.6.2-asneeded, glibc-2.13-r4, 3.1.1-lh x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.1.1-lh-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.1 Timestamp of tree: Wed, 16 Nov 2011 08:00:01 +0000 ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.2.4-r1, 4.3.6-r1, 4.4.6-r1, 4.5.3-r1, 4.6.2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r4 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo sunrise bicatali betagarden dummy neurogeek science last-hope g-ctan Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -ftracer -march=corei7 -mcx16 -msahf -mpopcnt -msse4.2 -mtune=corei7 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -frecord-gcc-switches -g -Wimplicit-function-declaration" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -ftracer -march=corei7 -mcx16 -msahf -mpopcnt -msse4.2 -mtune=corei7 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -frecord-gcc-switches -g -Wenum-compare" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-t --jobs=12 --load-average=12 --keep-going --autounmask-write --autounmask --quiet-build=n" FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks ebuild-locks fixlafiles metadata-transfer multilib-strict news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe -ftracer -march=corei7 -mcx16 -msahf -mpopcnt -msse4.2 -mtune=corei7 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -frecord-gcc-switches -g" GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common" LINGUAS="en" MAKEOPTS="-j16 -l12" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-z -e -9 -v" 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" PORTDIR_OVERLAY="/data/local/sunrise/reviewed /data/local/bicatali /data/local/betagarden /data/local/dummy /data/local/neurogeek /data/local/sci /data/local/lh/ebuilds /data/local/g-ctan" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X acpi additions alsa amd64 arpwarp atlas bash-completion berkdb blas branding bzip2 c++ cairo caps cblas ccache cleartype cli command-args consolekit corefonts cracklib crypt cuda cups cupsddk custom-optimization cxx dbus dri dts exif fbcondecor fortran gdbm gif glib glibc-omitfp gmp gnome gnome-keyring gpm graphics gstreamer gtk hddtemp iconv icu ios ipod iproute2 iptables ipv6 ipython javascript jpeg jpeg2k kqemu lapack largefile lcms ldap libnotify libsexy lm_sensors lzma mailtrain md5sum mmx mmxext mng modules mp3 mudflap multilib multiuser nagios-dns nagios-ntp nagios-ping nagios-ssh nano-syntax ncurses network-cron nis nls nptl nptlonly nsplugin objc objc++ opencl opengl openmp openntpd pam pcre pdf png policykit pppd pymol qt-static qt3support readline rrdcgi rrdtool science sensord session smp sqlite sqlite3 sse sse2 sse3 sse4 sse4a sse5 ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype type1 udev unicode vaapi vdpau x264 xcb xcomposite xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
any clue portage devs?
Maybe it's a permission issue with your python install, triggered by FEATURES=userpriv. Do you experience this with other ebuilds besides dropbox?
maybe 390833
>>> Source prepared. + ebuild_phase post_src_prepare + declare -F post_src_prepare + trap - SIGINT SIGQUIT + set +x Traceback (most recent call last): File "/usr/lib64/portage/bin/ebuild-ipc.py", line 11, in <module> import pickle File "/usr/lib64/python2.7/pickle.py", line 34, in <module> import struct File "/usr/lib64/python2.7/struct.py", line 2, in <module> from _struct import _clearcache ImportError: cannot import name _clearcache * The ebuild phase 'prepare' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly. + source /etc/portage/bashrc + set +x + for x in '${MISC_FUNCTIONS_ARGS}' + die_hooks + [[ -f /var/tmp/portage/net-misc/dropbox-1.2.24-r1/.die_hooks ]]
debug output of that section. Nothing interesting.
(In reply to comment #4) > Maybe it's a permission issue with your python install, triggered by > FEATURES=userpriv. It could also be a sandbox problem. Try with FEATURES="-sandbox -usersandbox".
Doesn't help either
It gets better: >>> Source prepared. Error processing line 1 of /usr/lib64/python2.7/site-packages/abrt.pth: Traceback (most recent call last): File "/usr/lib64/python2.7/site.py", line 164, in addpackage exec line File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/abrt_exception_handler.py", line 28, in <module> import socket File "/usr/lib64/python2.7/socket.py", line 49, in <module> from functools import partial File "/usr/lib64/python2.7/functools.py", line 10, in <module> from _functools import partial, reduce ImportError: cannot import name reduce Remainder of file ignored Error processing line 1 of /usr/lib64/python2.7/site-packages/abrt.pth: Traceback (most recent call last): File "/usr/lib64/python2.7/site.py", line 164, in addpackage exec line File "<string>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/abrt_exception_handler.py", line 28, in <module> import socket File "/usr/lib64/python2.7/socket.py", line 49, in <module> from functools import partial File "/usr/lib64/python2.7/functools.py", line 10, in <module> from _functools import partial, reduce ImportError: cannot import name reduce Remainder of file ignored Traceback (most recent call last): File "/usr/lib64/portage/bin/ebuild-ipc.py", line 11, in <module> import pickle File "/usr/lib64/python2.7/pickle.py", line 34, in <module> import struct File "/usr/lib64/python2.7/struct.py", line 2, in <module> from _struct import _clearcache ImportError: cannot import name _clearcache This is defently a problem with the buildsystem
So the problem is that $S contains something which lets emerge break. here the list: # ls /var/tmp/portage/net-misc/dropbox-1.2.48-r1/work/dropbox-1.2.48/src/.dropbox-dist/ ACKNOWLEDGEMENTS dropbox* libstdc++.so.6* resource.so* array.so* dropboxd* libwx_baseud-2.8.so.0* select.so* binascii.so* fastpath.so* libwx_baseud_net-2.8.so.0* setuptools-0.6c11-py2.5.egg _bisect.so* faulthandler.so* libwx_baseud_xml-2.8.so.0* _speedups.so* bz2.so* fcntl.so* libwx_gtk2ud_adv-2.8.so.0* strop.so* _codecs_cn.so* _functools.so* libwx_gtk2ud_core-2.8.so.0* _struct.so* _codecs_hk.so* grp.so* libwx_gtk2ud_qa-2.8.so.0* termios.so* _codecs_iso2022.so* _heapq.so* libz.so.1* time.so* _codecs_jp.so* icons/ _locale.so* unicodedata.so* _codecs_kr.so* itertools.so* _lsprof.so* VERSION _codecs_tw.so* libbz2.so.1.0* math.so* _weakref.so* collections.so* libcrypto.so.0.9.8* _multibytecodec.so* wx._controls_.so* cPickle.so* libpng12.so.0* netifaces-0.5-py2.5-linux-x86_64.egg/ wx._core_.so* cStringIO.so* libpopt.so.0* operator.so* wx._gdi_.so* _ctypes.so* library.zip* parser.so* wx._misc_.so* datetime.so* _librsync.so* pyexpat.so* wx._windows_.so* _dbus_bindings.so* librsync.so.1* _random.so* _dbus_glib_bindings.so* libssl.so.0.9.8* README
I suspect that some packages set eval PYTHONPATH here. I will test around this.
+*ccp4-libs-6.1.3-r12 (03 May 2013) + + 03 May 2013; Justin Lecher <jlec@gentoo.org> +ccp4-libs-6.1.3-r12.ebuild, + +files/6.1.3-no-pypath.patch: + Bump to EAPI=5 and new python eclasses, respect AR and RANLIB, #446350; drop + silly PYTHONPATH from init files, #390715 +