* Package: dev-python/polygon-3.0.7 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Polygon3-3.0.7.zip to /var/tmp/portage/dev-python/polygon-3.0.7/work >>> Source unpacked in /var/tmp/portage/dev-python/polygon-3.0.7/work >>> Preparing source in /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7 ... * python3_6: running distutils-r1_run_phase distutils-r1_python_compile * DISTUTILS_USE_SETUPTOOLS value is probably incorrect * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) * expected: DISTUTILS_USE_SETUPTOOLS=no python3.6 setup.py build Using NumPy extension! running build running build_py creating /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/lib/Polygon copying Polygon/IO.py -> /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/lib/Polygon copying Polygon/Shapes.py -> /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/lib/Polygon copying Polygon/Utils.py -> /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/lib/Polygon copying Polygon/__init__.py -> /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/lib/Polygon warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'Polygon.cPolygon' extension creating /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/temp.linux-x86_64-3.6 creating /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/temp.linux-x86_64-3.6/src x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wformat -Werror=format-security -fPIC -DDEFAULT_STYLE=STYLE_LIST -DWITH_NUMPY=1 -Isrc -I/usr/lib64/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c src/gpc.c -o /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/temp.linux-x86_64-3.6/src/gpc.o src/gpc.c: In function ‘gpc_read_polygon’: src/gpc.c:1037:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 1037 | fscanf(fp, "%d", &(p->num_contours)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/gpc.c:1044:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 1044 | fscanf(fp, "%d", &(p->contour[c].num_vertices)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/gpc.c:1047:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 1047 | fscanf(fp, "%d", &(p->hole[c])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/gpc.c:1054:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 1054 | fscanf(fp, "%lf %lf", &(p->contour[c].vertex[v].x), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1055 | &(p->contour[c].vertex[v].y)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wformat -Werror=format-security -fPIC -DDEFAULT_STYLE=STYLE_LIST -DWITH_NUMPY=1 -Isrc -I/usr/lib64/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c src/cPolygon.c -o /var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7-python3_6/temp.linux-x86_64-3.6/src/cPolygon.o In file included from /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/npy_common.h:5, from /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:4, from /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/cPolygon.c:72: /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/numpyconfig.h:4:10: fatal error: _numpyconfig.h: No such file or directory 4 | #include "_numpyconfig.h" | ^~~~~~~~~~~~~~~~ compilation terminated. error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * ERROR: dev-python/polygon-3.0.7::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3681: Called distutils-r1_src_compile * environment, line 1177: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 372: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3296: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2622: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2620: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 819: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1168: Called distutils-r1_python_compile * environment, line 1038: Called esetup.py 'build' * environment, line 1758: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/polygon-3.0.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/polygon-3.0.7::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:polygon-3.0.7:20200416-032502.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/polygon-3.0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/polygon-3.0.7/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7' * S: '/var/tmp/portage/dev-python/polygon-3.0.7/work/Polygon3-3.0.7'