* Package: dev-python/pymountboot-0.2.2 * Repository: gentoo * Maintainer: mgorny@gentoo.org * Upstream: mgorny@gentoo.org https://github.com/mgorny/pymountboot/issues/ * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pymountboot-0.2.2.tar.bz2 to /var/tmp/portage/dev-python/pymountboot-0.2.2/work >>> Source unpacked in /var/tmp/portage/dev-python/pymountboot-0.2.2/work >>> Preparing source in /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2 ... * python2_7: running distutils-r1_run_phase python_compile * DISTUTILS_USE_SETUPTOOLS value is probably incorrect * value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) * expected: DISTUTILS_USE_SETUPTOOLS=no python2.7 setup.py build running build running build_ext building 'pymountboot' extension creating /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7 creating /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/pymountboot.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/pymountboot.o -I/usr/include/libmount -I/usr/include/blkid In file included from /usr/include/python2.7/Python.h:8, from src/pymountboot.h:13, from src/pymountboot.c:6: /usr/include/python2.7/pyconfig.h:1223: warning: "_POSIX_C_SOURCE" redefined 1223 | #define _POSIX_C_SOURCE 200112L | In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/libmount/libmount.h:31, from src/pymountboot.h:11, from src/pymountboot.c:6: /usr/include/features.h:266: note: this is the location of the previous definition 266 | # define _POSIX_C_SOURCE 200809L | x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/module.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module.o -I/usr/include/libmount -I/usr/include/blkid x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/module2.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module2.o -I/usr/include/libmount -I/usr/include/blkid x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -march=native -fno-common -fwrapv -DNDEBUG -O2 -pipe -march=native -fno-common -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/module3.c -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module3.o -I/usr/include/libmount -I/usr/include/blkid x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-common -fno-strict-aliasing /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/pymountboot.o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module.o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module2.o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module3.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/lib/pymountboot.so -lmount /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/module.o:(.bss+0x0): multiple definition of `BootMountpointType'; /var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2-python2_7/temp.linux-x86_64-2.7/src/pymountboot.o:(.data.rel.local+0x80): first defined here collect2: error: ld returned 1 exit status error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * ERROR: dev-python/pymountboot-0.2.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2861: Called distutils-r1_src_compile * environment, line 975: Called _distutils-r1_run_foreach_impl 'python_compile' * environment, line 441: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile' * environment, line 2427: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 1807: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 1805: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile' * environment, line 684: Called distutils-r1_run_phase 'python_compile' * environment, line 968: Called python_compile * environment, line 2038: Called distutils-r1_python_compile * environment, line 836: Called esetup.py 'build' * environment, line 1351: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pymountboot-0.2.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pymountboot-0.2.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pymountboot-0.2.2:20200128-140121.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pymountboot-0.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pymountboot-0.2.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2' * S: '/var/tmp/portage/dev-python/pymountboot-0.2.2/work/pymountboot-0.2.2'