Bug 241011

Summary: make buildworld fails in /usr/src/kerberos5/lib/libasn1
Product: Base System Reporter: oz42
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 12.0-RELEASE   
Hardware: i386   
OS: Any   

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

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

# find /usr/src -name libcom_err\*
# find /usr/src -name libroken\*

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