too long lines were shrinked: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -I/usr/include -I./libsnet -I. -pipe -march=native -fno-diagnostics-color -O2 -o ktcheck version.o ktcheck.o argcargv.o retr.o base64.o code.o cksum.o list.o llist.o connect.o applefile.o tls.o pathcmp.o progress.o mkdirs.o report.o rmdirs.o mkpref x86_64-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -I/usr/include -I./libsnet -I. -pipe -march=native -fno-diagnostics-color -O2 -o lapply version.o lapply.o argcargv.o code.o base64.o retr.o radstat.o update.o cksum.o connect.o pathcmp.o progress.o applefile.o report.o tls.o mkprefix.o openssl_com x86_64-pc-linux-gnu-gcc -Wall -Wmissing-prototypes -I/usr/include -I./libsnet -I. -pipe -march=native -fno-diagnostics-color -O2 -o lcksum version.o lcksum.o argcargv.o cksum.o base64.o code.o progress.o pathcmp.o applefile.o connect.o root.o openssl_compat.o -Llibsnet/.libs -Wl,-O1 -Wl,--as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: libsnet/.libs/libsnet.a(snet.o): in function `snet_write0': snet.c:(.text+0x34b): undefined reference to `sasl_encode' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: libsnet/.libs/libsnet.a(snet.o): in function `snet_read1': snet.c:(.text+0x64e): undefined reference to `sasl_decode' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20220504-230005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.60.0 [2] rust-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit dd9f8aabb88055bde9770e568b797022f96aafe2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat May 14 00:18:17 2022 +0000 2022-05-14 00:18:16 UTC emerge -qpvO app-admin/radmind [ebuild N ] app-admin/radmind-1.15.4
Created attachment 778688 [details] emerge-info.txt
Created attachment 778691 [details] app-admin:radmind-1.15.4:20220514-010919.log
Created attachment 778694 [details] emerge-history.txt.bz2
Created attachment 778697 [details] environment
Created attachment 778700 [details] etc.portage.tar.bz2
Created attachment 778703 [details] logs.tar.bz2
Created attachment 778706 [details] temp.tar.bz2
Every time I think I found all of the issues in this package... This is happening because libsnet is being built with cyrus_sasl, but radmind is missing -lsasl2 itself. I'll fix it tomorrow as well as the missing dependencies in the ebuild.
This was my fault. If cyrus-sasl is installed on the system the libsnet submodule will enable it and then radmind will fail with undefined references when it doesn't use -lsasl2. However in my earlier patches I accidentally removed the part that disabled sasl support in libsnet from the radmind configure script.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1843f84e6b30d338ad004baed919ef6313fe0e4f commit 1843f84e6b30d338ad004baed919ef6313fe0e4f Author: orbea <orbea@riseup.net> AuthorDate: 2022-05-14 17:44:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-15 00:05:31 +0000 app-admin/radmind: Fix build with cyrus-sasl When radmind is build while cyrus-sasl is installed on the system the libsnet submodule will enable it and then radmind will fail to compile with undefined refererenes for sasl. This was caused by my earlier patches that accidentally dropped that part in radmind that disabled sasl support during the libsnet configure process. I also added missing dependencies and USE flags. Bug: https://bugs.gentoo.org/844160 Upstream-PR: https://github.com/Radmind/radmind/pull/336 Upstream-PR: https://github.com/voretaq7/radmind/pull/1 Upstream-PR: https://sourceforge.net/p/libsnet/patches/7/ Fixes: https://github.com/gentoo/gentoo/commit/601775bd1dbb2e6f87c8eb39bee18a8964324e22 Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Sam James <sam@gentoo.org> .../files/radmind-1.15.4-autoreconf-libsnet.patch | 109 +++++++++++++ .../radmind/files/radmind-1.15.4-autoreconf.patch | 176 +++++++++++++++++++++ app-admin/radmind/radmind-1.15.4-r1.ebuild | 57 +++++++ 3 files changed, 342 insertions(+)