Python build finished, but the necessary bits to build these modules were not found: _sqlite3 _tkinter To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _socket _ssl running build_scripts Reproducible: Always Steps to Reproduce: 1. emerge =python-3.1.3-r1 2. 3. #emerge --info [0] 0:python2.7- 1:python2.7* 2:bash 3:bash "root@neuvoo:~" 12:39 19-Apr-11[0] 0:python2.7- 1:python2.7* 2:bash 3:bash "emerge" 12:39 19-Apr-11[0] 0:python2.7- 1:python2.7* 2:bash 3:bash "emerge" 12:40 19-Apr-11Portage 2.2.0_alpha29 (!/var/lib/layman/ofree/portage/profiles/ofree/armv7a/beagle/, gcc-4.5.2, glibc-2.13-r2, 2.6.32 armv7l) ================================================================= System uname: Linux-2.6.32-armv7l-ARMv7_Processor_rev_3_-v7l-with-gentoo-2.0.2Timestamp of tree: Mon, 11 Apr 2011 10:45:01 +0000app-shells/bash: 4.2_p8dev-lang/python: 2.6.6-r2, 2.7.1-r1sys-apps/baselayout: 2.0.2sys-apps/openrc: 0.8.0sys-apps/sandbox: 2.5sys-devel/autoconf: 2.68sys-devel/automake: 1.10.3, 1.11.1-r1sys-devel/binutils: 2.21sys-devel/gcc: 4.5.2sys-devel/gcc-config: 1.4.1sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo Installed sets: ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-hardfloat-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -fomit-frame-pointer -ftree-vectorize -I/usr/include/ -I/include/" CHOST="armv7a-hardfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -fomit-frame-pointer -ftree-vectorize -I/usr/include/ -I/include/" DISTDIR="/neuvoo/distfiles" EMERGE_DEFAULT_OPTS="--buildpkg" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS=" ftp://sabayon http://sabayon/ ftp://gentoo.anheng.com.cn/gentoo http://mirrors.163.com/gentoo http://mirror.averse.net/pub/gentoo " LDFLAGS="-L/lib -L/usr/lib -Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/neuvoo/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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl arm bash-completion berkdb bindist bzip2 cjk cli cracklib crypt cups cxx fbcon fortran gdbm gpm gzip iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pcre perl posix pppd python readline session ssl sysfs syslog tcpd unicode usb xml xorg zlib" 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" CAMERAS="ptp2" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="omapfb dummy fbdev v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 270467 [details] full build log
post the config.log from the build dir the relevant error from the build log: building '_socket' extension armv7a-hardfloat-linux-gnueabi-gcc -pthread -fPIC -O2 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -fomit-frame-pointer -ftree-vectorize -I/usr/include/ -I/include/ -fwrapv -DNDEBUG -I. -I./Include -IInclude -I/var/tmp/portage/dev-lang/python-3.1.3-r1/work/Python-3.1.3 -c /var/tmp/portage/dev-lang/python-3.1.3-r1/work/Python-3.1.3/Modules/socketmodule.c -o build/temp.linux-armv7l-3.1/var/tmp/portage/dev-lang/python-3.1.3-r1/work/Python-3.1.3/Modules/socketmodule.o In file included from /var/tmp/portage/dev-lang/python-3.1.3-r1/work/Python-3.1.3/Modules/socketmodule.c:304:0: /var/tmp/portage/dev-lang/python-3.1.3-r1/work/Python-3.1.3/Modules/addrinfo.h:127:8: error: redefinition of 'struct addrinfo' /usr/include/netdb.h:569:8: note: originally defined here
Created attachment 270489 [details] config log Hi, Vapier I merge more a few packages, then rebuild python-3.1.3-r1, and it passed successfully attached file is config.log when build successfully #define HAVE_ADDRINFO 1 previous error seems that file from detect HACE_ADDRINFO not been defined, then redefine the struct addrinfo /var/tmp/portage/dev-lang/python-3.1.3-r1/work/Python-3.1.3/Modules/addrinfo.h:127:8:
Created attachment 270491 [details] build log while emerge successfully
sed -e s':^#ifndef HAVE_ADDRINFO:#ifndef HAVE_ADDRINFO\n#define HAVE_ADDRINFO 1:' \ -i Modules/addrinfo.h || die
should be fixed in python-2.7, 3.2, and 3.3