Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778332 - net-ftp/proftpd-1.3.7a-r1 - /.../ld: cannot find -lsupp (slibtool)
Summary: net-ftp/proftpd-1.3.7a-r1 - /.../ld: cannot find -lsupp (slibtool)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL: https://github.com/proftpd/proftpd/pu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-26 08:07 UTC by Toralf Förster
Modified: 2022-11-18 00:23 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.51 KB, text/plain)
2021-03-26 08:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,354.40 KB, text/plain)
2021-03-26 08:07 UTC, Toralf Förster
Details
environment (environment,72.47 KB, text/plain)
2021-03-26 08:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.17 KB, application/x-bzip)
2021-03-26 08:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,28.28 KB, application/x-bzip)
2021-03-26 08:08 UTC, Toralf Förster
Details
net-ftp:proftpd-1.3.7a-r1:20210326-050840.log (net-ftp:proftpd-1.3.7a-r1:20210326-050840.log,126.21 KB, text/plain)
2021-03-26 08:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.86 KB, application/x-bzip)
2021-03-26 08:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-26 08:07:56 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2021-03-26 08:07:57 UTC
Created attachment 693966 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-26 08:07:59 UTC
Created attachment 693969 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-26 08:08:01 UTC
Created attachment 693972 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-26 08:08:02 UTC
Created attachment 693975 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-26 08:08:03 UTC
Created attachment 693978 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-26 08:08:05 UTC
Created attachment 693981 [details]
net-ftp:proftpd-1.3.7a-r1:20210326-050840.log
Comment 7 Toralf Förster gentoo-dev 2021-03-26 08:08:06 UTC
Created attachment 693984 [details]
temp.tar.bz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-26 11:55:13 UTC
-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.
Comment 9 orbea 2021-03-26 13:53:28 UTC
Workaround here.

https://github.com/proftpd/proftpd/pull/1203
Comment 11 Larry the Git Cow gentoo-dev 2021-04-28 21:25:57 UTC
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(+)