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 (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-25 12:35 UTC by Dustin Polke
Modified: 2024-06-25 17:56 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