too long lines were shrinked: /bin/sh ../libtool --tag=CC --mode=link clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o helloworld helloworld-helloworld.o ../libsrsirc/libsrsirc.la -lssl libtool: link: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/icat icat-icat_core.o icat-icat_init.o icat-icat_misc.o icat-icat_serv.o icat-icat_user.o ../logger /bin/sh ../libtool --tag=CC --mode=link clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o iwat iwat-iwat.o ../libsrsirc/libsrsirc.la -lssl ld.lld: error: ../libsrsirc/.libs/libsrsirc.so: undefined reference to ERR_print_errors_fp [--no-allow-shlib-undefined] clang-15: error: linker command failed with exit code 1 (use -v to see invocation) libtool: link: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/helloworld helloworld-helloworld.o ../libsrsirc/.libs/libsrsirc.so -lssl make[2]: *** [Makefile:417: icat] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20221004-190004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.2 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-jre-bin-17 system-vm php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit c2ae3640d63924b2c84b48ec9492ec93259dbf48 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Oct 5 05:33:22 2022 +0000 2022-10-05 05:33:21 UTC emerge -qpvO net-libs/libsrsirc [ebuild N ] net-libs/libsrsirc-0.0.14-r1 USE="ssl -static-libs"
Created attachment 820717 [details] emerge-info.txt
Created attachment 820720 [details] clang.tar.bz2
Created attachment 820723 [details] emerge-history.txt
Created attachment 820726 [details] environment
Created attachment 820729 [details] etc.portage.tar.bz2
Created attachment 820732 [details] logs.tar.bz2
Created attachment 820735 [details] net-libs:libsrsirc-0.0.14-r1:20221005-060756.log
Created attachment 820738 [details] temp.tar.bz2
I can't reproduce it on clang-17 with upstream repository and their build instructions on same host and with same configuration parameters that cause error in ebuild. So, issue for new release. https://github.com/fstd/libsrsirc/issues/6