* Package: dev-python/apsw-3.25.2_p1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking apsw-3.25.2_p1.zip to /var/tmp/portage/dev-python/apsw-3.25.2_p1/work >>> Source unpacked in /var/tmp/portage/dev-python/apsw-3.25.2_p1/work >>> Preparing source in /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1 ... * Applying apsw-3.6.20.1-fix_tests.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1 ... * python3_7: running distutils-r1_run_phase python_compile python3.7 setup.py build -j 4 --enable=load_extension running build running build_ext SQLite: Using system sqlite include/libraries building 'apsw' extension creating /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_7/temp.linux-x86_64-3.7 creating /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_7/temp.linux-x86_64-3.7/src x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fPIC -DEXPERIMENTAL=1 -DNDEBUG=1 -DAPSW_FORK_CHECKER=1 -Isrc -I/usr/include/python3.7m -c src/apsw.c -o /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_7/temp.linux-x86_64-3.7/src/apsw.o In file included from src/apsw.c:141: src/connection.c: In function ‘set_context_result’: src/connection.c:1939:3: warning: ‘PyObject_CheckReadBuffer’ is deprecated [-Wdeprecated-declarations] 1939 | if (PyObject_CheckReadBuffer(obj)) | ^~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:480:17: note: declared here 480 | PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:141: src/connection.c:1943:7: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 1943 | int asrb=PyObject_AsReadBuffer(obj, &buffer, &buflen); | ^~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:147: src/blob.c: In function ‘APSWBlob_readinto’: src/blob.c:404:3: warning: ‘PyObject_AsWriteBuffer’ is deprecated [-Wdeprecated-declarations] 404 | aswb=PyObject_AsWriteBuffer(wbuf, &buffer, &bufsize); | ^~~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:500:17: note: declared here 500 | PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:147: src/blob.c: In function ‘APSWBlob_write’: src/blob.c:532:3: warning: ‘PyObject_CheckReadBuffer’ is deprecated [-Wdeprecated-declarations] 532 | if(!PyUnicode_Check(obj) && PyObject_CheckReadBuffer(obj)) | ^~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:480:17: note: declared here 480 | PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:147: src/blob.c:534:7: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 534 | int asrb=PyObject_AsReadBuffer(obj, &buffer, &size); | ^~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:150: src/cursor.c: In function ‘APSWCursor_dobinding’: src/cursor.c:558:3: warning: ‘PyObject_CheckReadBuffer’ is deprecated [-Wdeprecated-declarations] 558 | else if (PyObject_CheckReadBuffer(obj)) | ^~~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:480:17: note: declared here 480 | PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:150: src/cursor.c:564:7: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 564 | APSW_FAULT_INJECT(DoBindingAsReadBufferFails,asrb=PyObject_AsReadBuffer(obj, &buffer, &buflen), (PyErr_NoMemory(), asrb=-1)); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:156: src/vfs.c: In function ‘apswvfs_xRandomness’: src/vfs.c:978:7: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 978 | int asrb=PyObject_AsReadBuffer(pyresult, &buffer, &buflen); | ^~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:156: src/vfs.c: In function ‘apswvfsfile_xRead’: src/vfs.c:2030:3: warning: ‘PyObject_CheckReadBuffer’ is deprecated [-Wdeprecated-declarations] 2030 | if(PyUnicode_Check(pybuf) || !PyObject_CheckReadBuffer(pybuf)) | ^~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:480:17: note: declared here 480 | PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:156: src/vfs.c:2035:3: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 2035 | asrb=PyObject_AsReadBuffer(pybuf, &buffer, &size); | ^~~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/apsw.c:156: src/vfs.c: In function ‘apswvfsfilepy_xWrite’: src/vfs.c:2186:3: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 2186 | asrb=PyObject_AsReadBuffer(buffy, &buffer, &size); | ^~~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ src/apsw.c: In function ‘formatsqlvalue’: src/apsw.c:1115:7: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations] 1115 | asrb=PyObject_AsReadBuffer(value, (const void**)&buffer, &buflen); | ^~~~ In file included from /usr/include/python3.7m/Python.h:147, from src/apsw.c:74: /usr/include/python3.7m/abstract.h:489:17: note: declared here 489 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -frecord-gcc-switches /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_7/temp.linux-x86_64-3.7/src/apsw.o -L/usr/lib64 -lsqlite3 -lpython3.7m -o /var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1-python3_7/lib/apsw.cpython-37m-x86_64-linux-gnu.so /usr/lib/python3.7/site-packages/setuptools/dist.py:454: UserWarning: Normalizing '3.25.2-r1' to '3.25.2.post1' warnings.warn(tmpl.format(**locals())) >>> Source compiled. >>> Test phase: dev-python/apsw-3.25.2_p1 * python3_7: running distutils-r1_run_phase python_test running build_test_extension sh: gcc: command not found /usr/lib/python3.7/site-packages/setuptools/dist.py:454: UserWarning: Normalizing '3.25.2-r1' to '3.25.2.post1' warnings.warn(tmpl.format(**locals())) Traceback (most recent call last): File "setup.py", line 898, in 'win64hackvars': win64hackvars} File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "setup.py", line 157, in run raise RuntimeError("Building test extension failed") RuntimeError: Building test extension failed * ERROR: dev-python/apsw-3.25.2_p1::gentoo failed (test phase): * Building of test loadable extension failed * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 4119: Called distutils-r1_src_test * environment, line 1390: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 367: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3646: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2938: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2936: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 892: Called distutils-r1_run_phase 'python_test' * environment, line 1327: Called python_test * environment, line 3996: Called die * The specific snippet of code: * "${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"; * * If you need support, post the output of `emerge --info '=dev-python/apsw-3.25.2_p1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/apsw-3.25.2_p1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/apsw-3.25.2_p1:20200516-004221.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/apsw-3.25.2_p1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/apsw-3.25.2_p1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1' * S: '/var/tmp/portage/dev-python/apsw-3.25.2_p1/work/apsw-3.25.2-r1' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 8948932 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 18 May 2020 09:35:22 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" 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="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" 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="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS