Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330231 - dev-lang/python-2.6.5-r2: build fails on sharedmods (dbm?)
Summary: dev-lang/python-2.6.5-r2: build fails on sharedmods (dbm?)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-28 15:11 UTC by CJ Kucera
Modified: 2010-07-28 21:10 UTC (History)
1 user (show)

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


Attachments
dev-lang:python-2.6.5-r2:20100728-150316.log (dev-lang:python-2.6.5-r2:20100728-150316.log,131.93 KB, text/plain)
2010-07-28 21:02 UTC, CJ Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CJ Kucera 2010-07-28 15:11:40 UTC
When emerging python-2.6.5-r2, the build fails; I believe it has something to do with the dbm module, though the build process continues for a few lines after the dbm module failed, so it's possible that's just a red herring.  Here's the end of the emerge process:

i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -fno-strict-aliasing -mtune=prescott -O2 -pipe -fwrapv -DNDEB
UG -I. -IInclude -I./Include build/temp.linux-i686-2.6/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctype
s/_ctypes.o build/temp.linux-i686-2.6/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/callbacks.o bui
ld/temp.linux-i686-2.6/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/callproc.o build/temp.linux-i6
86-2.6/var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/stgdict.o build/temp.linux-i686-2.6/var/tmp/po
rtage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/cfield.o build/temp.linux-i686-2.6/var/tmp/portage/dev-lang/pyt
hon-2.6.5-r2/work/Python-2.6.5/Modules/_ctypes/malloc_closure.o -L/usr/local/lib -L. -lffi -lpython2.6 -o build/lib.linux-i686-2
.6/_ctypes.so

Failed to find the necessary bits to build these modules:
bsddb185           sunaudiodev                        
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
dbm                                                   

running build_scripts
creating build/scripts-2.6
copying and adjusting /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Tools/scripts/pydoc -> build/scripts-2.6
copying and adjusting /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Tools/scripts/idle -> build/scripts-2.6
copying and adjusting /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Tools/scripts/2to3 -> build/scripts-2.6
copying and adjusting /var/tmp/portage/dev-lang/python-2.6.5-r2/work/Python-2.6.5/Lib/smtpd.py -> build/scripts-2.6
changing mode of build/scripts-2.6/pydoc from 644 to 755
changing mode of build/scripts-2.6/idle from 644 to 755
changing mode of build/scripts-2.6/2to3 from 644 to 755
changing mode of build/scripts-2.6/smtpd.py from 644 to 755
make: *** [sharedmods] Error 1
 * ERROR: dev-lang/python-2.6.5-r2 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line    54:  Called src_compile
 *   environment, line 11583:  Called _eapi2_src_compile
 *     ebuild.sh, line   646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/python-2.6.5-r2



Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.33.2 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33.2-i686-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-1.12.9
Timestamp of tree: Wed, 28 Jul 2010 14:00:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.4-r6, 2.5.4-r2, 2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/termin
fo"
CXXFLAGS="-mtune=prescott -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orp
hans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa apache apm asf audiofile bash-completion berkdb bzip2 calendar cdparanoia cdr cli crackli
b crypt css cups curl curlwrappers cxx dbus dedicated dga directfb dri dts dv dvb dvd dvdr dvdread encode exif expat fbcon ffmpe
g fftw firefox flac flash fluidsynth foomaticdb fortran ftp gd gdbm ggi gif glut gnome gnutls gphoto2 gpm graphviz gstreamer gtk
 gtk2 hal iconv ieee1394 imagemagick imap imlib innodb ipv6 jabber jack java javascript joystick jpeg jpeg2k ladspa lash ldap li
bwww lm_sensors lzo mad maildir mailwrapper mbox mcal mhash mikmod mime ming mmap mmx mng modules mp3 mpeg msn mudflap musepack 
mysql ncurses nis nls nodrm nptl nptlonly nvidia odbc offensive ofx ogg openal opengl openmp osc oss pam pcntl pcre pdf perl png
 portaudio pppd python quicktime readline reflection samba sasl sdl session shorten slang sndfile snmp socks5 sox speex spell sp
l sse sse2 ssl ssse3 svg svga sysfs tcl tcltk tcpd theora tiff tk tokenizer truetype unicode usb v4l vcd vdpau vdr vim-syntax vo
rbis win32codecs wmf wxwindows x264 x86 xine xinetd xml xmms xorg xpm xprint xv xvid xvmc yahoo zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES
="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGU
AS="en" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon" 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 ac
count" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PO
RTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-28 20:57:38 UTC
Attach full build log and reopen this bug.
Comment 2 CJ Kucera 2010-07-28 21:02:28 UTC
Created attachment 240499 [details]
dev-lang:python-2.6.5-r2:20100728-150316.log

Full build log, as requested
Comment 3 CJ Kucera 2010-07-28 21:03:09 UTC
Build log attached; I'll do that automatically from now on.  Thanks!
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-28 21:10:11 UTC
> *** WARNING: renaming "dbm" since importing it failed: /usr/lib/libgdbm_compat.so.3: undefined symbol: gdbm_errno

Your sys-libs/gdbm seems to be broken. Reinstall sys-libs/gdbm.