Bug 241011 - make buildworld fails in /usr/src/kerberos5/lib/libasn1
Summary: make buildworld fails in /usr/src/kerberos5/lib/libasn1
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: i386 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 13:35 UTC by oz42
Modified: 2019-10-02 13:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oz42 2019-10-02 13:35:08 UTC
/usr/local/bin/clang80 -Wl,--no-undefined -Wl,--version-script=/usr/src/kerberos5/lib/libasn1/version.map  -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libasn1.so.11 -Wl,-soname,libasn1.so.11  `NM='nm' NMFLAGS='' lorder asn1_err.pico der.pico der_copy.pico der_cmp.pico der_free.pico der_format.pico der_get.pico der_length.pico der_put.pico extra.pico template.pico timegm.pico asn1_rfc2459_asn1.pico asn1_cms_asn1.pico asn1_krb5_asn1.pico asn1_pkinit_asn1.pico asn1_pkcs8_asn1.pico asn1_pkcs9_asn1.pico asn1_pkcs12_asn1.pico asn1_digest_asn1.pico asn1_kx509_asn1.pico |  tsort -q`  -lcom_err  -lroken
ld.lld: error: unable to find library -lcom_err
ld.lld: error: unable to find library -lroken
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[4]: stopped in /usr/src/kerberos5/lib/libasn1


but:
# find /usr/src -name libcom_err\*
./lib/libcom_err
# find /usr/src -name libroken\*
./kerberos5/lib/libroken

Instead of failing, these libraries should be built before libasn1.