Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495002 - dev-lang/python-3.3.x - ?
Summary: dev-lang/python-3.3.x - ?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://bugs.python.org/issue20065
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-22 11:17 UTC by Igor Franchuk
Modified: 2014-02-09 20:13 UTC (History)
0 users

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


Attachments
build.log (build.log,142.58 KB, text/plain)
2013-12-22 19:08 UTC, Igor Franchuk
Details
build.log (build.log,41.63 KB, text/plain)
2013-12-23 06:57 UTC, Igor Franchuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Franchuk 2013-12-22 11:17:07 UTC
emerge -pv python 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ~] dev-lang/python-3.3.3:3.3::gentoo [2.4.3-r1:2.4::__unknown__, 2.6.8:2.6::gentoo, 2.7.3-r3:2.7::gentoo, 3.1.1-r1:3.1::gentoo, 3.2.3-r2:3.2::gentoo] USE="gdbm ncurses readline ssl threads xml -build -doc -examples -hardened -ipv6 -sqlite -tk -wininst" 0 kB



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                               


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-22 17:37:37 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Igor Franchuk 2013-12-22 19:08:41 UTC
Created attachment 365902 [details]
build.log

# emerge --info
Portage 2.1.11.31 (default/linux/x86/13.0, gcc-4.4.2, glibc-2.10.1-r1, 2.6.33-gentoo i686)
=================================================================
System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-gentoo-1.12.1
Timestamp of tree: Sun, 22 Dec 2013 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.21
app-shells/bash:          4.2_p37
dev-lang/python:          2.4.3-r1::<unknown repository>, 2.6.8, 2.7.3-r3, 3.1.1-r1, 3.2.3-r2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      1.12.1::<unknown repository>
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10::<unknown repository>, 1.11.1, 1.13.1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.1.1::<unknown repository>, 4.2.4-r1, 4.4.2
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        1.5.23b::<unknown repository>, 2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 2.6.21::<unknown repository> (virtual/os-headers)
sys-libs/glibc:           2.10.1-r1
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa arts avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups cxx dbus dlloader dri dvd dvdr eds emboss encode esd fam fortran gdbm gif gnutls gpm gstreamer gtk hal iconv isdnlog jpeg kde ldap libg++ mad mikmod modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg symlink tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Rafał Mużyło 2013-12-23 02:11:26 UTC
The main problem seems to be:
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c: In function 'makesockaddr':
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1236: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1237: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1244: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c: In function 'getsockaddrarg':
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1660: error: 'CAN_RAW' undeclared (first use in this function)
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1660: error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1660: error: for each function it appears in.)
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1692: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1693: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1695: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c: In function 'getsockaddrlen':
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1865: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_can' 
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c: In function 'makesockaddr':
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1236: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1237: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1244: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c: In function 'getsockaddrarg':
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1660: error: 'CAN_RAW' undeclared (first use in this function)
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1660: error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1660: error: for each function it appears in.)
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1692: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1693: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1695: error: dereferencing pointer to incomplete type
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c: In function 'getsockaddrlen':
/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/socketmodule.c:1865: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_can' 

_ssl fails because _socket failed.

Given how old your glibc/kernel headers are, this seems to be a case of "I've delayed the upgrade for too long".
Comment 4 Igor Franchuk 2013-12-23 06:57:58 UTC
Created attachment 365958 [details]
build.log
Comment 5 Igor Franchuk 2013-12-23 06:58:57 UTC
(In reply to Rafał Mużyło from comment #3)
> The main problem seems to be:
> /var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/
> 
> _ssl fails because _socket failed.
> 
> Given how old your glibc/kernel headers are, this seems to be a case of
> "I've delayed the upgrade for too long".

No, socket has nothing to do with that. I installed TK and the build log now looks like that. I guess python should depend on GCC version higher than mine. I'll try to upgrade it.
Comment 6 Rafał Mużyło 2013-12-23 09:06:47 UTC
(In reply to Igor Franchuk from comment #5)
> (In reply to Rafał Mużyło from comment #3)
> > The main problem seems to be:
> > /var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3/Modules/
> > 
> > _ssl fails because _socket failed.
> > 
> > Given how old your glibc/kernel headers are, this seems to be a case of
> > "I've delayed the upgrade for too long".
> 
> No, socket has nothing to do with that. I installed TK and the build log now
> looks like that. I guess python should depend on GCC version higher than
> mine. I'll try to upgrade it.

:roll: no, on the contrary, it's that _tkinker/_sqlite3 part that's meaningless here.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-23 12:37:56 UTC
Please upgrade your base system with package versions less than a year old.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-24 11:56:55 UTC
*** Bug 495214 has been marked as a duplicate of this bug. ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-24 11:57:43 UTC
Again, upgrade your system to something current, then come back with appropriate bug reports.