Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913023 - dev-python/pikepdf-8.2.3: src/core/job.cpp:117:65: error: ‘class QPDFJob’ has no member named ‘createQPDF’
Summary: dev-python/pikepdf-8.2.3: src/core/job.cpp:117:65: error: ‘class QPDFJob’ has...
Status: RESOLVED FIXED
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: 912620
  Show dependency tree
 
Reported: 2023-08-26 02:04 UTC by Sam James
Modified: 2023-08-26 02:09 UTC (History)
1 user (show)

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


Attachments
build.log (file_913023.txt,8.14 KB, text/plain)
2023-08-26 02:04 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-26 02:04:30 UTC
Created attachment 868731 [details]
build.log

src/core/job.cpp: In lambda function:
src/core/job.cpp:117:65: error: ‘class QPDFJob’ has no member named ‘createQPDF’
  117 |             [](QPDFJob &job) { return std::shared_ptr<QPDF>(job.createQPDF()); },
      |                                                                 ^~~~~~~~~~
src/core/job.cpp: In function ‘void init_job(pybind11::module_&)’:
src/core/job.cpp:120:23: error: ‘writeQPDF’ is not a member of ‘QPDFJob’
  120 |             &QPDFJob::writeQPDF,
      |                       ^~~~~~~~~
In file included from /usr/lib/python3.11/site-packages/pybind11/include/pybind11/detail/../attr.h:13,
                 from /usr/lib/python3.11/site-packages/pybind11/include/pybind11/detail/class.h:12,
                 from /usr/lib/python3.11/site-packages/pybind11/include/pybind11/pybind11.h:13,
                 from src/core/job.cpp:8:
/usr/lib/python3.11/site-packages/pybind11/include/pybind11/detail/../detail/common.h: In instantiation of ‘struct pybind11::detail::strip_function_object<init_job(pybind11::module_&)::<lambda(QPDFJob&)> >’:
/usr/lib/python3.11/site-packages/pybind11/include/pybind11/detail/../detail/common.h:946:7:   required by substitution of ‘template<class Function, class F> using function_signature_t = std::conditional_t<std::is_function<_NestedType>::value, F, typename std::conditional<(std::is_pointer<_T2>::value || std::is_member_pointer<F>::value), std::remove_pointer<F>, pybind11::detail::strip_function_object<F> >::type::type> [with Function = init_job(pybind11::module_&)::<lambda(QPDFJob&)>; F = init_job(pybind11::module_&)::<lambda(QPDFJob&)>]’
/usr/lib/python3.11/site-packages/pybind11/include/pybind11/pybind11.h:102:36:   required from ‘pybind11::cpp_function::cpp_function(Func&&, const Extra& ...) [with Func = init_job(pybind11::module_&)::<lambda(QPDFJob&)>; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [37]}; <template-parameter-1-3> = void]’
/usr/lib/python3.11/site-packages/pybind11/include/pybind11/pybind11.h:1568:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = init_job(pybind11::module_&)::<lambda(QPDFJob&)>; Extra = {char [37]}; type_ = QPDFJob; options = {}]’
src/core/job.cpp:115:13:   required from here
/usr/lib/python3.11/site-packages/pybind11/include/pybind11/detail/../detail/common.h:941:11: error: invalid use of incomplete type ‘struct pybind11::detail::remove_class<auto (init_job(pybind11::module_&)::<lambda(QPDFJob&)>::*)(QPDFJob&) const>’
  941 |     using type = typename remove_class<decltype(&F::operator())>::type;
      |           ^~~~
/usr/lib/python3.11/site-packages/pybind11/include/pybind11/detail/../detail/common.h:749:8: note: declaration of ‘struct pybind11::detail::remove_class<auto (init_job(pybind11::module_&)::<lambda(QPDFJob&)>::*)(QPDFJob&) const>’
  749 | struct remove_class {};
      |        ^~~~~~~~~~~~
hppa2.0-unknown-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=2.0 -DNDEBUG -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.11/site-packages/pybind11/include -I/usr/include/python3.11 -c src/core/nametree.cpp -o build/temp.linux-parisc64-cpython-311/src/core/nametree.o -fvisibility=hidden -g0 -std=c++17
error: command '/usr/bin/hppa2.0-unknown-linux-gnu-gcc' failed with exit code 1
 * ERROR: dev-python/pikepdf-8.2.3::gentoo failed (compile phase):
 *   (no error message)
 * 

----

# emerge --info
Portage 3.0.49 (python 3.11.4-final-0, default/linux/hppa/17.0/systemd, gcc-12, glibc-2.37-r3, 6.4.10 parisc64)
=================================================================
System uname: Linux-6.4.10-parisc64-PA8800_-Mako-with-glibc2.37
KiB Mem:     8206292 total,   4408900 free
KiB Swap:    1120380 total,   1120380 free
Timestamp of repository gentoo: Sat, 26 Aug 2023 00:16:41 +0000
sh dash 0.5.12
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.8.18::gentoo, 3.11.4::gentoo
dev-util/cmake:            3.26.5-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.6::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=2.0"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=2.0"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=2.0"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j2 -l2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl big-endian bzip2 cli crypt fortran gdbm hppa iconv ipv6 ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Larry the Git Cow gentoo-dev 2023-08-26 02:09:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76047bb51769f843a1cc7b0090e907a7ae9839db

commit 76047bb51769f843a1cc7b0090e907a7ae9839db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-26 02:08:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-26 02:08:47 +0000

    dev-python/pikepdf: fix minimum qpdf version
    
    Closes: https://bugs.gentoo.org/913023
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pikepdf/pikepdf-7.2.0.ebuild            |  2 +
 ...ikepdf-8.1.1.ebuild => pikepdf-8.1.1-r1.ebuild} |  4 +-
 ...ikepdf-8.2.0.ebuild => pikepdf-8.2.0-r1.ebuild} |  4 +-
 ...ikepdf-8.2.1.ebuild => pikepdf-8.2.1-r1.ebuild} |  4 +-
 ...ikepdf-8.2.2.ebuild => pikepdf-8.2.2-r1.ebuild} |  4 +-
 dev-python/pikepdf/pikepdf-8.2.3-r1.ebuild         | 62 ++++++++++++++++++++++
 dev-python/pikepdf/pikepdf-8.2.3.ebuild            | 60 ---------------------
 ...ikepdf-8.3.1.ebuild => pikepdf-8.3.1-r1.ebuild} |  4 +-
 ...ikepdf-8.3.2.ebuild => pikepdf-8.3.2-r1.ebuild} |  4 +-
 ...ikepdf-8.4.0.ebuild => pikepdf-8.4.0-r1.ebuild} |  4 +-
 10 files changed, 85 insertions(+), 67 deletions(-)