* Package: dev-python/psycopg-2.7.4  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 python_targets_python3_6 userland_GNU  * FEATURES: nostrip preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking psycopg2-2.7.4.tar.gz to /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work >>> Source unpacked in /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work >>> Preparing source in /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4 ... * Applying psycopg-2.7.3-avoid-mxdatetime.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4 ... >>> Source configured. >>> Compiling source in /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4 ... * python2_7: running distutils-r1_run_phase python_compile python2.7 setup.py build running build running build_py creating /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/tz.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/extras.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/errorcodes.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/sql.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/pool.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/_json.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/_range.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/extensions.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/psycopg1.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/__init__.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 copying lib/_ipaddress.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2 creating /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_copy.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_connection.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_fast_executemany.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_extras_dictcursor.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_cancel.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_notify.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_types_basic.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_async.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_replication.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_with.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_errcodes.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_lobject.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_module.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_bugX000.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_psycopg2_dbapi20.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_async_keyword.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_cursor.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/dbapi20.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/testutils.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_bug_gc.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_ipaddress.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_types_extras.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_transaction.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/dbapi20_tpc.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/__init__.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_quote.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/testconfig.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_green.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_sql.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests copying tests/test_dates.py -> /scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4-python2_7/lib/psycopg2/tests warning: build_py: byte-compiling is disabled, skipping. running build_ext Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executable path with the option: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in 'setup.cfg'. If you prefer to avoid building psycopg2 from source, please install the PyPI 'psycopg2-binary' package instead. For further information please check the 'doc/src/install.rst' file (also at ). * ERROR: dev-python/psycopg-2.7.4::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 3980: Called distutils-r1_src_compile * environment, line 1078: Called _distutils-r1_run_foreach_impl 'python_compile' * environment, line 391: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile' * environment, line 3434: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2589: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2587: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile' * environment, line 728: Called distutils-r1_run_phase 'python_compile' * environment, line 1071: Called python_compile * environment, line 3016: Called distutils-r1_python_compile * environment, line 946: Called esetup.py 'build' * environment, line 1631: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/psycopg-2.7.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/psycopg-2.7.4::gentoo'`. * The complete build log is located at '/scratch/var/tmp/portage/dev-python/psycopg-2.7.4/temp/build.log'. * The ebuild environment file is located at '/scratch/var/tmp/portage/dev-python/psycopg-2.7.4/temp/environment'. * Working directory: '/scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4' * S: '/scratch/var/tmp/portage/dev-python/psycopg-2.7.4/work/psycopg2-2.7.4'