Date: Tue, 24 Mar 2020 02:51:05 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 245025] ports-mgmt/pkg requires -lmd after -larchive to build on 12.1S (after r359159M) Message-ID: <bug-245025-32340-tlguo9ZHCE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245025-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-245025-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg mailing li= st <pkg@FreeBSD.org> for maintainer-feedback: Bug 245025: ports-mgmt/pkg requires -lmd after -larchive to build on 12.1S (after r359159M) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245025 --- Description --- I think we need to add, around line 58, -lmd (after -larchive) to=20 /usr/ports/ports-mgmt/pkg/work/pkg-1.13.2/auto.def to avoid=20 /usr/bin/ld: /var/ports/usr/ports/ports-mgmt/pkg/work/pkg-1.13.2/libpkg/libpkg_flat.a(lo= slib .o): in function `os_tmpname': loslib.c:(.text+0x78f): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/bin/ld: /usr/lib/libarchive.a(archive_digest.o): in function `__archive_libmd_sha1init': archive_digest.c:(.text+0x72): undefined reference to `_libmd_SHA1_Init' ... This is on FreeBSD 12.1-STABLE #0 r359159M: Sat Mar 21 13:31:04 AEDT 2020 using FreeBSD clang version 9.0.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245025-32340-tlguo9ZHCE>