Created attachment 896410 [details] emerge --info src/core/pikepdf.cpp: In lambda function: src/core/pikepdf.cpp:208:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 208 | py::set_error(exc_password, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:210:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 210 | py::set_error(exc_main, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:218:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 218 | py::set_error(exc_main, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:221:17: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 221 | py::set_error(exc_usage, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:225:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 225 | py::set_error(exc_foreign, trans.first.c_str()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:227:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 227 | py::set_error(exc_main, trans.first.c_str()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:232:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 232 | py::set_error(exc_datadecoding, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:234:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 234 | py::set_error(exc_destroyedobject, e.what()); | ^~~~~~~~~ | key_error error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 * ERROR: dev-python/pikepdf-9.0.0::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4026: Called distutils-r1_src_compile * environment, line 1929: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 761: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3646: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3098: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3096: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1234: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1911: Called distutils-r1_python_compile * environment, line 1729: Called distutils_pep517_install '/var/tmp/portage/dev-python/pikepdf-9.0.0/work/pikepdf-9.0.0-python3_12/install' * environment, line 2248: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); * * If you need support, post the output of `emerge --info '=dev-python/pikepdf-9.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pikepdf-9.0.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pikepdf-9.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pikepdf-9.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pikepdf-9.0.0/work/pikepdf-9.0.0' * S: '/var/tmp/portage/dev-python/pikepdf-9.0.0/work/pikepdf-9.0.0'
Created attachment 896411 [details] Full build.log
Still occurring with dev-python/pikepdf-9.1.2: src/core/pikepdf.cpp: In lambda function: src/core/pikepdf.cpp:208:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 208 | py::set_error(exc_password, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:210:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 210 | py::set_error(exc_main, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:218:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 218 | py::set_error(exc_main, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:221:17: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 221 | py::set_error(exc_usage, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:225:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 225 | py::set_error(exc_foreign, trans.first.c_str()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:227:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 227 | py::set_error(exc_main, trans.first.c_str()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:232:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 232 | py::set_error(exc_datadecoding, e.what()); | ^~~~~~~~~ | key_error src/core/pikepdf.cpp:234:21: error: ‘set_error’ is not a member of ‘py’; did you mean ‘key_error’? 234 | py::set_error(exc_destroyedobject, e.what()); | ^~~~~~~~~ | key_error 2024-09-17 16:24:24,568 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=12288 -mtune=generic -fstack-protector-strong -DNDEBUG -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.12/site-packages/pybind11/include -I/usr/include/python3.12 -c src/core/tokenfilter.cpp -o /var/tmp/portage/dev-python/pikepdf-9.1.2/work/pikepdf-9.1.2-python3_12/build/temp.linux-x86_64-cpython-312/src/core/tokenfilter.o -fvisibility=hidden -g0 -std=c++17 error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 * ERROR: dev-python/pikepdf-9.1.2::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4083: Called distutils-r1_src_compile * environment, line 1966: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 765: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3695: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3146: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3144: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1248: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1948: Called distutils-r1_python_compile * environment, line 1770: Called distutils_pep517_install '/var/tmp/portage/dev-python/pikepdf-9.1.2/work/pikepdf-9.1.2-python3_12/install' * environment, line 2295: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); * * If you need support, post the output of `emerge --info '=dev-python/pikepdf-9.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pikepdf-9.1.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pikepdf-9.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pikepdf-9.1.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pikepdf-9.1.2/work/pikepdf-9.1.2' * S: '/var/tmp/portage/dev-python/pikepdf-9.1.2/work/pikepdf-9.1.2'