[Bug 272085] archivers/libarchive missing libiconv from build-depends-list

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Jun 2023 01:44:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272085

            Bug ID: 272085
           Summary: archivers/libarchive missing libiconv from
                    build-depends-list
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: glewis@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(glewis@FreeBSD.org)
          Assignee: glewis@FreeBSD.org

The reproduction notes are

# make -C /usr/ports/archivers/libarchive  build-depends-list
/usr/ports/converters/libiconv
/usr/ports/devel/autoconf ...

 # make __MAKE_CONF=/dev/null -C /usr/ports/archivers/libarchive
run-depends-list
/usr/ports/textproc/expat2
/usr/ports/archivers/liblz4
/usr/ports/archivers/zstd
/usr/ports/security/openssl
#

# ldd /usr/local/lib/libarchive.so.13.6.2:
        libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x801c00000)
...

Also would it be better that iconv be an option for libarchive.   

Interestingly https://www.freshports.org/converters/libiconv/
doesn't list libiconv as being required for archivers/libarchive either.  Its a
hidden omission, "gotcha".  (Unpleasant when you've removed a hash from openssl
resulting in:
===>  Checking if libiconv is already installedld-elf.so.1:
/usr/local/lib/libarchive.so.13: Undefined symbol 
"EVP_ripemd160@OPENSSL_1_1_0" 
who doesn't love pkg-static?! Which is where this adventure started ;)

PS textproc/expat2 does appear as build and package dependency (?)

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