Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469338 - net-misc/dropbox-2.0.8 - ImportError: [...]/work/dropbox-2.0.8/time.so: undefined symbol: Py_InitModule4_64
Summary: net-misc/dropbox-2.0.8 - ImportError: [...]/work/dropbox-2.0.8/time.so: undef...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 468524
  Show dependency tree
 
Reported: 2013-05-10 18:40 UTC by Guillaume BINET
Modified: 2013-05-16 00:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume BINET 2013-05-10 18:40:06 UTC
See full log attached.

It looks like portage is importing the "time" module required for the standard logging module but dropbox has a time.so in its working directory which python3 tries to import as a python module and fails (duh!).


Reproducible: Always

Actual Results:  
* Package:    net-misc/dropbox-2.0.8
* Repository: gentoo
* Maintainer: naota@gentoo.org
* USE:        X amd64 elibc_glibc kernel_linux librsync-bundled userland_GNU
* FEATURES:   ccache sandbox splitdebug
>>> Unpacking source...
>>> Unpacking dropbox-lnx.x86_64-2.0.8.tar.gz to /var/tmp/portage/net-misc/dropbox-2.0.8/work
>>> Source unpacked in /var/tmp/portage/net-misc/dropbox-2.0.8/work
>>> Preparing source in /var/tmp/portage/net-misc/dropbox-2.0.8/work/dropbox-2.0.8 ...
removed ‘libbz2.so.1.0’
removed ‘libpopt.so.0’
removed ‘libpng12.so.0’
 * Fallback PaX marking -m with scanelf
 *      dropbox
 TYPE    PAX   FILE 
ET_EXEC PeMRxS dropbox 
>>> Source prepared.
Traceback (most recent call last):
  File "/usr/lib64/portage/bin/ebuild-ipc.py", line 8, in <module>
    import logging
  File "/usr/lib64/python3.2/logging/__init__.py", line 26, in <module>
    import sys, os, time, io, traceback, warnings, weakref
ImportError: /var/tmp/portage/net-misc/dropbox-2.0.8/work/dropbox-2.0.8/time.so: undefined symbol: Py_InitModule4_64
* The ebuild phase 'prepare' has exited unexpectedly. This type of
[....]


Portage 2.1.11.63 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.17, 3.9.0-gentoo x86_64)
=================================================================
System uname: Linux-3.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:     8094228 total,   2003400 free
KiB Swap:    9437180 total,   9437180 free
Timestamp of tree: Fri, 10 May 2013 15:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11_rc3::kde
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2::sabayon-distro
sys-apps/openrc:          0.11.8::pentoo
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
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 gbin kde mv pentoo laurentb roslin asux
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/polkit-1/actions"
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 ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://gentoo.gossamerhost.com ftp://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/var/lib/layman/gbin-overlay /var/lib/layman/kde /var/lib/layman/mv /var/lib/layman/pentoo /var/lib/layman/laurentb /var/lib/layman/roslin /var/lib/layman/asux"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aacplus aalib acl acpi alsa amd64 aotuv ares asf avahi avx berkdb bluetooth branding bzip2 cairo cdaudio cdda cdr cjk cli consolekit corefonts cracklib crypt cups cxx dbus declarative divx4linux dri dts dv dvb dvd dvdr dvdread emboss emul-linux-x86 encode exif fam fbcon fbsplash ffmpeg firefox flac fortran freetype gcj gd gdbm geoip gif glitz go gpm gtk gtk2 htmlhandbook http i8x0 iconv icu idn imagemagick immqt-bc jack java java6 javascript jfs joystick jpeg jpeg2k kde kdepim kdexdeltas kipi laptop lcms libcaca lzma m17n-lib mad midi mmap mmx mng modplug modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nsplugin ntfs obex offensive ogg oggvorbis opencl openexr opengl openmp pam pango pch pcmcia pcre pdf phonon plasma png policykit postgres ppds python python3 qt3 qt3support qt4 rdesktop readline reiserfs samba sasl scanner sdl semantic-desktop session socks5 speex spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb usepackagedmakefiles v4l v4l2 vaapi vcd vhosts vim-syntax vorbis wavpack wifi wmf wxwidgets x264 xcb xcomposite xine xpm xv xvid xvmc zeroconf zlib zsh-completion" ABI_X86="64 32" 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="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="canon" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="pypy2_0 python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel radeon" 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"
USE_PYTHON="2.7 3.2 2.7-pypy-2.0"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Naohiro Aota gentoo-dev 2013-05-12 09:00:43 UTC
I feel this "importing from current directory" as a portage's bug if any. However I don't reproduce this problem.

@dev-portage, any suggestion?
Comment 5 Zac Medico gentoo-dev 2013-05-16 00:57:55 UTC
This is fixed in 2.1.12 and 2.2.0_alpha175.