Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934925 - >=dev-python/pikepdf-9.0.0 fails to compile
Summary: >=dev-python/pikepdf-9.0.0 fails to compile
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 12:35 UTC by Dustin Polke
Modified: 2024-09-17 14:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,22.57 KB, text/plain)
2024-06-25 12:35 UTC, Dustin Polke
Details
Full build.log (build.log,23.96 KB, text/plain)
2024-06-25 12:36 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2024-06-25 12:35:38 UTC
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'
Comment 1 Dustin Polke 2024-06-25 12:36:13 UTC
Created attachment 896411 [details]
Full build.log
Comment 2 Dustin Polke 2024-09-17 14:31:46 UTC
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'