Created attachment 890488 [details] Full build.log of librnp-0.17.0-r2 It says: [code]FAILED: src/lib/CMakeFiles/librnp-obj.dir/__/librekey/key_store_g10.cpp.o[/code]
Full emerge --info dev-util/librnp [code]Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r2, 6.8.5-gentoo-r1-Cracked.OS x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.8.5-gentoo-r1-Cracked.OS-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.39 KiB Mem: 65734632 total, 50937032 free KiB Swap: 234429436 total, 234429436 free Timestamp of repository gentoo: Fri, 12 Apr 2024 09:34:02 +0000 Head commit of repository gentoo: e7fca69ffbe6ecbbe9e61b279ab9a9692850a1fa sh bash 5.2_p26 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.29.1::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r2::gentoo dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo dev-lang/rust: 1.77.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.4::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo, 18.1.3::gentoo sys-devel/gcc: 13.2.1_p20240210::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo, 18.1.3::gentoo sys-kernel/linux-headers: 6.8-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 volatile: False sync-git-verify-commit-signature: yes ollis-overlay location: /var/db/repos/local masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write=y --with-bdeps=y --jobs=2 --load-average=1 --keep-going" 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="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="de" MAKEOPTS="-j32 -l32" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS_FLAGS="-9" 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="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif ffmpeg flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vdpau vorbis vulkan wayland webengine widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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" SANE_BACKENDS="canon canon630u canon_dr pixma" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= dev-util/librnp-0.17.0-r2::gentoo was built with the following: USE="botan -man -test" ABI_X86="(64)" FEATURES="sfperms unknown-features-warn binpkg-multi-instance ipc-sandbox userfetch merge-sync distlocks usersandbox xattr parallel-install userpriv binpkg-logs fixlafiles qa-unresolved-soname-deps parallel-fetch buildpkg-live unmerge-logs ebuild-locks config-protect-if-modified protect-owned strict preserve-libs pkgdir-index-trusted usersync merge-wait sandbox unmerge-orphans binpkg-dostrip news network-sandbox multilib-strict pid-sandbox binpkg-docompress assume-digests"[/code]
It fails only with the new dev-libs/sexpp-0.8.7, with dev-libs/sexpp-0.8.6 it builds fine.
The header is not found at the expected path. 'sexp/sexp.h' is now at 'sexpp/sexp.h'
And this is the upstream commit addressing the issue. It doesn't apply clean on top the other gentoo patch I think https://github.com/rnpgp/rnp/commit/f9147e72a369f1e412d2f2385cf23a3e9dd6882d
Created attachment 890508 [details, diff] Fix header names from upstream dev-libs/sexpp
Created attachment 890509 [details, diff] Fix renamed libs in dev-libs/sexpp
Created attachment 890510 [details] new ebuild for librnp
Thanks, Hans. It builds fine with your patches.
With the new ebuild and the patches librnp builds fine.
Thanks for the quick patch :-)
somehow missed the explanation for the devs upstream has changed include directory from /usr/include/sexp to /usr/include/sexpp also names of the libraries /usr/lib64/libsexpp.so -> libsexpp.so.0 /usr/lib64/libsexpp.so.0 -> libsexpp.so.0.8.7 /usr/lib64/libsexpp.so.0.8.7 /usr/lib64/libsexp.so.0 -> libsexp.so.0.8.5 /usr/lib64/libsexp.so.0.8.5 new ebuild works also with USE "test" enabled Reported by: Hans Ulli Kroll <elektroman@ulli-kroll.de>
... yeah I've not bumped sexpp on purpose before a a new version of librnp is released precisely due to this. I thought that was the simplest solution.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ca83c406b9aff47668ac770e95b2dac9d7e9d4 commit 88ca83c406b9aff47668ac770e95b2dac9d7e9d4 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-04-12 17:59:46 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-04-12 17:59:46 +0000 Revert "dev-libs/sexpp: add 0.8.7" This reverts commit 4f562e19647013fed215540f068891961e10cda7. - upstream renamed the header file >0.8.6, waiting for reverse deps to catch up before bumping. Closes: https://bugs.gentoo.org/929213 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/sexpp/Manifest | 1 - dev-libs/sexpp/sexpp-0.8.7.ebuild | 34 ---------------------------------- 2 files changed, 35 deletions(-)
That being said I _expect_ new librnp around the time thunderbird-128 is out. If someone needs newer sexpp let me know via a bug, and it's probably possible to make a snapshot release out of librnp.