/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsupp collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages). rdlibtool: < returned to > slbt_exec_link(), line 1934. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-20210316-105550 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.17.1 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) OpenJDK 8.282_p08 [openjdk-8] *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] openjdk-8 [4] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Mar 26 02:35:45 UTC 2021 emerge -qpvO net-ftp/proftpd [ebuild N ] net-ftp/proftpd-1.3.7a-r1 USE="acl caps dynmasq ipv6 ncurses nls pam pcre rewrite snmp softquota ssl tcpd -authfile -ban -case -clamav -copy -ctrls -deflate -diskuse -dso -exec -ident -ifsession -ifversion -kerberos -ldap (-libressl) -log-forensic -memcache -msg -mysql -postgres -qos -radius -ratio -readme (-selinux) -sftp -shaper -sitemisc -sodium -sqlite -test -unique-id -vroot"
Created attachment 693966 [details] emerge-info.txt
Created attachment 693969 [details] emerge-history.txt
Created attachment 693972 [details] environment
Created attachment 693975 [details] etc.portage.tar.bz2
Created attachment 693978 [details] logs.tar.bz2
Created attachment 693981 [details] net-ftp:proftpd-1.3.7a-r1:20210326-050840.log
Created attachment 693984 [details] temp.tar.bz2
-lsupp is proftpd's own helper library. libtool probably skips unknown libraries by default if -L is not passed. That probably means we can stop passing the option to affected modules: rdlibtool: link: x86_64-pc-linux-gnu-gcc src/main.o src/timers.o src/sets.o src/pool.o src/privs.o src/str.o src/table.o src/regexp.o src/configdb.o src/dirtree.o src/expr.o src/signals.o src/support.o src/netaddr.o src/inet.o src/child.o src/parser.o src/log.o src/lastlog.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/cmd.o src/response.o src/ascii.o src/data.o src/modules.o src/stash.o src/display.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.o src/var.o src/throttle.o src/session.o src/trace.o src/encode.o src/proctitle.o src/filter.o src/pidfile.o src/env.o src/random.o src/version.o src/rlimit.o src/wtmp.o src/json.o src/jot.o src/memcache.o src/redis.o src/error.o modules/mod_core.o modules/mod_xfer.o modules/mod_rlimit.o modules/mod_auth_unix.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_delay.o modules/mod_facts.o modules/mod_auth_pam.o modules/mod_wrap2_file.o modules/mod_wrap2.o modules/mod_tls_shmcache.o modules/mod_tls.o modules/mod_quotatab_file.o modules/mod_quotatab.o modules/mod_rewrite.o modules/mod_dynmasq.o modules/mod_facl.o modules/mod_cap.o modules/mod_lang.o modules/module_glue.o contrib/mod_snmp/mod_snmp.a -L./lib/.libs -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic -lsupp -lattr -lcrypt -ldl -pthread -lacl -lpcreposix -lpcre -lssl -lcrypto -lcap -lssl -lcrypto -lpam -ldl -o .libs/proftpd /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsupp collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages). rdlibtool: < returned to > slbt_exec_link(), line 1934.
Workaround here. https://github.com/proftpd/proftpd/pull/1203
https://github.com/proftpd/proftpd/commit/4ffe04158840130e023ed3d3e558b8d70e28e20e
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af307971f9af69a21d9a423650a5db5b9857ed2 commit 8af307971f9af69a21d9a423650a5db5b9857ed2 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-04-28 21:25:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-04-28 21:25:55 +0000 net-ftp/proftpd: backport upstream slibtool workaround Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/778332 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> .../proftpd/files/proftpd-1.3.7a-slibtool.patch | 34 ++++++++++++++++++++++ net-ftp/proftpd/proftpd-1.3.7a-r1.ebuild | 1 + 2 files changed, 35 insertions(+)