Bug 272085 - archivers/libarchive missing libiconv from build-depends-list
Summary: archivers/libarchive missing libiconv from build-depends-list
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-20 01:44 UTC by dewayne
Modified: 2023-06-20 01:44 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (glewis)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2023-06-20 01:44:45 UTC
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 (?)