Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2020 02:51:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245025] ports-mgmt/pkg requires -lmd after -larchive to build on 12.1S (after r359159M)
Message-ID:  <bug-245025-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245025

            Bug ID: 245025
           Summary: ports-mgmt/pkg requires -lmd after -larchive to build
                    on 12.1S (after r359159M)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245025-7788>