Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
current portage python 2.7.18_p9 compile fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 585

PostPosted: Fri Jun 18, 2021 11:24 pm    Post subject: current portage python 2.7.18_p9 compile fails Reply with quote

I can't seem to find a way past this. it's a fresh build (in chroot until it would boot), started with a recent stage3 and did one portage sync a couple weeks ago. the error is the same in chroot or booting into the new build and retrying. /var/tmp/portage is tmpfs so it always starts clean.

cmd is 'emerge =dev-lang/python-2.7.18_p9' and this is where it always stops:

Code:
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18 ./python -E -S -m sysconfig --gen
if test $? -ne 0 ; then \
        echo "generate-posix-vars failed" ; \
        rm -f ./pybuilddir.txt ; \
        exit 1 ; \
fi
Traceback (most recent call last):
  File "./setup.py", line 33, in <module>
    COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
TypeError: argument of type 'NoneType' is not iterable
make: *** [Makefile:539: sharedmods] Error 1

2.7*p10 hits the same problem, those are the only 2.7 versions in my portage.

I don't really know much about python and had been searching around on 'sharemods' and 'arg...is not iterable' but never got anywhere. tried makeopts -j1 and no makeopts just in case, didn't help.

output of `emerge -pqv '=dev-lang/python-2.7.18_p9::gentoo'`

Code:
[ebuild  NS   ] dev-lang/python-2.7.18_p9 [3.8.9_p2, 3.9.4_p1] USE="gdbm ipv6 ncurses readline sqlite ssl (threads%*) (wide-unicode%*) xml (-berkdb) -bluetooth -build -examples -hardened -tk -verify-sig -wininst (-test%)"

output of `emerge --info '=dev-lang/python-2.7.18_p9::gentoo'`:

Code:
Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.11.19_gs3 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.19_gs3-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-glibc2.2.5
KiB Mem:    16344856 total,  11869160 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 14 May 2021 00:45:01 +0000
Head commit of repository gentoo: b15007dc57e6cd1415be28339e0d31b3c179e2b6
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ebuilds
    location: /usr/local/portage/ebuilds
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/local/portage/ebuilds"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/       http://gentoo.osuosl.org/       rsync://mirrors.rit.edu/gentoo/       ftp://mirrors.rit.edu/gentoo/       https://mirrors.rit.edu/gentoo/       http://mirrors.rit.edu/gentoo/       rsync://rsync.gtlib.gatech.edu/gentoo       http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X Xaw3d acpi alsa amd64 berkdb bzip2 cairo cdda cddb cdr cli crypt css cups dbus dri drm dvd dvdr fbcon fontconfig fortran gdbm gif gimp gtk gtk2 iconv imap imlib ipv6 jpeg kms lame libdrm libglvnd libkms libtirpc lm-sensors maildir man mbox mp3 mp4 multilib ncurses nptl ofx opengl openmp pam pcre pdf perl plymouth png ppds readline sasl scanner sdl seccomp smp sndfile spell split-usr ssl startup-notification svg tcpd threads tiff truetype udev unicode usb v4l vdpau vulkan wayland xattr xcomposite xft xpm xscreensaver xv zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" 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" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

build log:

Code:
 * Package:    dev-lang/python-2.7.18_p9
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc gdbm ipv6 kernel_linux ncurses readline sqlite ssl threads userland_GNU wide-unicode xml
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking Python-2.7.18.tar.xz to /var/tmp/portage/dev-lang/python-2.7.18_p9/work
>>> Unpacking python-gentoo-patches-2.7.18_p9.tar.xz to /var/tmp/portage/dev-lang/python-2.7.18_p9/work
>>> Source unpacked in /var/tmp/portage/dev-lang/python-2.7.18_p9/work
>>> Preparing source in /var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18 ...
 * Applying patches from /var/tmp/portage/dev-lang/python-2.7.18_p9/work/python-gentoo-patches-2.7.18_p9 ...
 *   0001-bpo-39017-Avoid-infinite-loop-in-the-tarfile-module-.patch ...

 *   0002-bpo-39503-CVE-2020-8492-Fix-AbstractBasicAuthHandler.patch ...

 *   0003-bpo-39603-Prevent-header-injection-in-http-methods-G.patch ...

 *   0004-bpo-42051-Reject-XML-entity-declarations-in-plist-fi.patch ...

 *   0005-bpo-41944-No-longer-call-eval-on-content-received-vi.patch ...

 *   0006-bpo-40791-Make-compare_digest-more-constant-time.-GH.patch ...

 *   0007-3.6-closes-bpo-42938-Replace-snprintf-with-Python-un.patch ...

 *   0008-Install-libpythonX.Y.a-in-usr-lib-instead-of-usr-lib.patch ...

 *   0009-Disable-modules-and-SSL.patch ...

 *   0010-Gentoo-libdir.patch ...

 *   0011-Non-zero-exit-status-on-failure.patch ...

 *   0012-sqlite-loadable-extensions.patch ...

 *   0013-Regenerate-platform-specific-modules.patch ...

 *   0014-distutils-C.patch ...

 *   0015-Turkish-locale.patch ...

 *   0016-ARM-OABI.patch ...

 *   0017-use_pyxml.patch ...

 *   0018-Disable-nis.patch ...

 *   0019-Make-module-byte-compilation-non-fatal.patch ...

 *   0020-Use-ncurses-to-find-pkg-config.patch ...

 *   0021-Use-specific-Werror-for-cross-compile-tests.patch ...

 *   0022-Force-using-system-libffi.patch ...

 *   0023-test.support.unlink-ignore-EACCES.patch ...

 *   0024-3.6-bpo-42967-only-use-as-a-query-string-separator-G.patch ...

 *   0025-py2-ize-the-CJK-codec-test.patch ...

 *   0026-3.6-bpo-43285-Make-ftplib-not-trust-the-PASV-respons.patch ...

 *   0027-bpo-43075-Fix-ReDoS-in-urllib-AbstractBasicAuthHandl.patch ...

 *   0028-3.9-bpo-43882-urllib.parse-should-sanitize-urls-cont.patch ...

 * Running eautoreconf in '/var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18' ...
 * Running 'aclocal' ...

 * Running 'autoconf --force' ...

 * Running 'autoheader' ...

 * Running elibtoolize in: Python-2.7.18/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18 ...
 * Disabled modules:  _bsddb _tkinter
 * econf: updating Python-2.7.18/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating Python-2.7.18/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/python-2.7.18_p9 --htmldir=/usr/share/doc/python-2.7.18_p9/html --libdir=/usr/lib64 ac_cv_opt_olimit_ok=no ac_cv_header_stropts_h=no --with-fpectl --enable-shared --enable-ipv6 --with-threads --enable-unicode=ucs4 --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-computed-gotos --with-dbmliborder=gdbm --with-libc= --enable-loadable-sqlite-extensions --with-system-expat --with-system-ffi --without-ensurepip
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for python2.7... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for --with-icc... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for --with-cxx-main=<compiler>... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(MAINCC)
checking for GNU ld... yes
checking for --enable-shared... yes
checking for --enable-profiling... no
checking LDLIBRARY... libpython$(VERSION).so
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for --with-pydebug... no
checking whether x86_64-pc-linux-gnu-gcc accepts -fno-strict-aliasing... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -OPT:Olimit=0... (cached) no
checking whether x86_64-pc-linux-gnu-gcc accepts -Olimit 1500... no
checking whether gcc supports ParseTuple __format__... no
checking for --enable-optimizations... no
checking for --with-lto... no
checking target system type... x86_64-pc-linux-gnu
checking for -llvm-profdata... no
checking for llvm-profdata... /usr/lib/llvm/11/bin/llvm-profdata
checking whether pthreads are available without options... no
checking whether x86_64-pc-linux-gnu-gcc accepts -Kpthread... no
checking whether x86_64-pc-linux-gnu-gcc accepts -Kthread... no
checking whether x86_64-pc-linux-gnu-gcc accepts -pthread... yes
checking whether x86_64-pc-linux-gnu-g++ also accepts flags for thread support... yes
checking for ANSI C header files... (cached) yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking for stropts.h... (cached) no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/stat.h... (cached) yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking for bluetooth/bluetooth.h... (cached) no
checking linux/tipc.h usability... yes
checking linux/tipc.h presence... yes
checking for linux/tipc.h... yes
checking spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... no
checking for sys/mkdev.h... (cached) no
checking for sys/sysmacros.h... (cached) yes
checking for linux/netlink.h... yes
checking for clock_t in time.h... yes
checking for makedev... yes
checking Solaris LFS bug... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int64_t... yes
checking for ssize_t... yes
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of fpos_t... 16
checking size of size_t... 8
checking size of pid_t... 4
checking for long long support... yes
checking size of long long... 8
checking for long double support... yes
checking size of long double... 16
checking for _Bool support... yes
checking size of _Bool... 1
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking SO... .so
checking LDSHARED... $(CC) -shared
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Xlinker -export-dynamic
checking CFLAGSFORSHARED... $(CCSHARED)
checking SHLIBS... $(LIBS)
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for library containing sem_init... -lpthread
checking for textdomain in -lintl... no
checking for library containing bind_textdomain_codeset... none required
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for x86_64-pc-linux-gnu-pkg-config... (cached) x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for --with-system-expat... yes
checking for --with-system-ffi... yes
checking for --with-tcltk-includes... default
checking for --with-tcltk-libs... default
checking for --enable-loadable-sqlite-extensions... yes
checking for --with-dbmliborder... gdbm
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking if PTHREAD_SCOPE_SYSTEM is supported... yes
checking for pthread_sigmask... yes
checking for pthread_atfork... yes
checking if --enable-ipv6 is specified... yes
checking ipv6 stack type... linux-glibc
checking for OSX 10.5 SDK or later... no
checking for --with-doc-strings... yes
checking for --with-tsc... no
checking for --with-pymalloc... yes
checking for --with-valgrind... no
checking for --with-wctype-functions... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... yes
checking for setitimer... yes
checking for getitimer... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for execv... yes
checking for fchmod... yes
checking for fchown... yes
checking for fork... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for gai_strerror... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getloadavg... yes
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getentropy... yes
checking for getpriority... yes
checking for getresuid... yes
checking for getresgid... yes
checking for getpwent... yes
checking for getspnam... yes
checking for getspent... yes
checking for getsid... yes
checking for getwd... yes
checking for initgroups... yes
checking for kill... yes
checking for killpg... yes
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mmap... yes
checking for mremap... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... no
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for sem_open... yes
checking for sem_timedwait... yes
checking for sem_getvalue... yes
checking for sem_unlink... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setuid... yes
checking for setvbuf... yes
checking for snprintf... yes
checking for setlocale... (cached) yes
checking for setregid... (cached) yes
checking for setreuid... (cached) yes
checking for setresuid... yes
checking for setresgid... yes
checking for setsid... (cached) yes
checking for setpgid... (cached) yes
checking for setpgrp... (cached) yes
checking for setuid... (cached) yes
checking for setvbuf... (cached) yes
checking for snprintf... (cached) yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... yes
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for uname... yes
checking for unsetenv... yes
checking for utimes... yes
checking for waitpid... yes
checking for wait3... yes
checking for wait4... yes
checking for wcscoll... yes
checking for _getpty... no
checking for lchmod... yes
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for epoll... yes
checking for kqueue... no
checking for ctermid_r... no
checking for flock declaration... yes
checking for flock... yes
checking for getpagesize... yes
checking for broken unsetenv... no
checking for true... true
checking for inet_aton in -lc... yes
checking for chflags... no
checking for lchflags... no
checking for inflateCopy in -lz... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for setgroups... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for forkpty... yes
checking for memmove... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for gettimeofday... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... no
checking for getnameinfo... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for struct stat.st_gen... no
checking for struct stat.st_birthtime... no
checking for struct stat.st_blocks... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... no
checking whether va_list is an array... yes
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... yes
checking for __fpu_control... yes
checking for --with-fpectl... yes
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... set LIBC=""
checking whether C doubles are little-endian IEEE 754 binary64... yes
checking whether C doubles are big-endian IEEE 754 binary64... no
checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no
checking whether we can use gcc inline assembler to get and set x87 control word... yes
checking for x87-style double rounding... no
checking whether tanh preserves the sign of zero... yes
checking for acosh... yes
checking for asinh... yes
checking for atanh... yes
checking for copysign... yes
checking for erf... yes
checking for erfc... yes
checking for expm1... yes
checking for finite... yes
checking for gamma... yes
checking for hypot... yes
checking for lgamma... yes
checking for log1p... yes
checking for round... yes
checking for tgamma... yes
checking whether isinf is declared... yes
checking whether isnan is declared... yes
checking whether isfinite is declared... yes
checking whether POSIX semaphores are enabled... yes
checking for broken sem_getvalue... no
checking digit size for Python's longs... no value specified
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking size of wchar_t... 4
checking for UCS-4 tcl... no
checking whether wchar_t is signed... yes
checking what type to use for unicode... no type found
checking whether byte ordering is bigendian... no
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking how to link readline libs... -lreadline
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_pre_input_hook in -lreadline... yes
checking for rl_completion_display_matches_hook in -lreadline... yes
checking for rl_resize_terminal in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking for broken nice()... no
checking for broken poll()... no
checking for working tzset()... yes
checking for tv_nsec in struct stat... yes
checking for tv_nsec2 in struct stat... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for term.h... yes
checking whether mvwdelch is an expression... yes
checking whether WINDOW has _flags... yes
checking for is_pad... yes
checking for is_term_resized... yes
checking for resize_term... yes
checking for resizeterm... yes
checking for immedok... yes
checking for syncok... yes
checking for wchgat... yes
checking for filter... yes
checking for has_key... yes
checking for typeahead... yes
checking for use_env... yes
configure: checking for device files
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for %lld and %llu printf() format support... yes
checking for %zd printf() format support... yes
checking for socklen_t... yes
checking for build directories... checking for --with-computed-gotos... yes
checking whether x86_64-pc-linux-gnu-gcc -pthread supports computed gotos... yes
done
checking for ensurepip... no
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating Misc/python.pc
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
creating Modules/Setup
creating Modules/Setup.local
creating Makefile


If you want a release build with all optimizations active (LTO, PGO, etc),
please run ./configure --enable-optimizations


>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18 ...
make -j5
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/bufferobject.o Objects/bufferobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/bytes_methods.o Objects/bytes_methods.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/capsule.o Objects/capsule.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/cobject.o Objects/cobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/exceptions.o Objects/exceptions.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/intobject.o Objects/intobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/memoryobject.o Objects/memoryobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/object.o Objects/object.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/ast.o Python/ast.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/compile.o Python/compile.c
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=native -O2 -pipe -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c



Quote:
cut, something in here keeps causing "Error in post" or something like that and blocks 'submit'


Code:
x86_64-pc-linux-gnu-ar rc libpython2.7.a Modules/getbuildinfo.o
x86_64-pc-linux-gnu-ar rc libpython2.7.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o
x86_64-pc-linux-gnu-ar rc libpython2.7.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o
x86_64-pc-linux-gnu-ar rc libpython2.7.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o   Python/thread.o
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: Modules/posixmodule.o: in function `posix_tmpnam':
posixmodule.c:(.text+0x8ea): warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: Modules/posixmodule.o: in function `posix_tempnam':
posixmodule.c:(.text+0xa21): warning: the use of `tempnam' is dangerous, better use `mkstemp'
x86_64-pc-linux-gnu-ar rc libpython2.7.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o
x86_64-pc-linux-gnu-ar rc libpython2.7.a Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/xxsubtype.o
x86_64-pc-linux-gnu-ranlib libpython2.7.a
x86_64-pc-linux-gnu-gcc -pthread -Wl,-O1 -Wl,--as-needed -Xlinker -export-dynamic -o python \
      Modules/python.o \
      -L. -lpython2.7 -lpthread -ldl  -lutil   -lm 
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18 ./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
   echo "generate-posix-vars failed" ; \
   rm -f ./pybuilddir.txt ; \
   exit 1 ; \
fi
Traceback (most recent call last):
  File "./setup.py", line 33, in <module>
    COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
TypeError: argument of type 'NoneType' is not iterable
make: *** [Makefile:539: sharedmods] Error 1
 * ERROR: dev-lang/python-2.7.18_p9::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-lang/python-2.7.18_p9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.18_p9::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-lang:python-2.7.18_p9:20210618-224540.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/python-2.7.18_p9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.18_p9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18'
 * S: '/var/tmp/portage/dev-lang/python-2.7.18_p9/work/Python-2.7.18'
Back to top
View user's profile Send private message
alicela1n
n00b
n00b


Joined: 26 Mar 2021
Posts: 14

PostPosted: Sun Jun 27, 2021 2:58 am    Post subject: Reply with quote

Python 2.7 is deprecated and afaik no longer supported in Gentoo, it is recommended that you stop using python 2 and instead use python 3, you can do this by editing PYTHON_TARGETS and PYTHON_SINGLE_TARGET in your /etc/portage/make.conf.

Also it seems like Gentoo still installs python 2 (probably for legacy reasons), 2.7.18_p9 is no longer in the portage tree, so run an emerge --sync and upgrade to 2.7.18_p10.
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Mon Jun 28, 2021 3:00 pm    Post subject: Reply with quote

That doesn't explain his issue however. I currently have dev-lang/python-2.7.18_p9 installed and it compiles with no issues at all (also on x86_64 with the same USE flags). In my case, it's still a build requirement for palemoon, which I have installed out of the unofficial layman repo.

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum