[Bug 250414] ftp/curl: may automatically pick up libzstd, make that an explicit option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 17 09:13:45 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250414

            Bug ID: 250414
           Summary: ftp/curl: may automatically pick up libzstd, make that
                    an explicit option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: mandree at FreeBSD.org
                CC: sunpoet at FreeBSD.org
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
 Attachment #218835 maintainer-approval?(sunpoet at FreeBSD.org)
             Flags:
                CC: sunpoet at FreeBSD.org

Created attachment 218835
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218835&action=edit
patch to make ZSTD an explicit option to control ./configure behaviour and
avoid inconsistency between auto-detection and LIB_DEPENDS

curl 7.73 (or generally Curl versions since 2020 August) may, through
configure, auto-detect libzstd and then use it. 

I am proposing a patch to control this behaviour explicitly through an option
(enabled by default) so as to register the dependency properly and avoid this
issue in "env DEVELOPER=yes make -C /usr/ports/ftp/curl stage-qa":

====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libcurl.so.4.7.0 is linked to /usr/local/lib/libzstd.so.1
from archivers/zstd but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libzstd.so:archivers/zstd

NOTE you may want to bump PORTREVISION to clean this up in existing installs.

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


More information about the freebsd-ports-bugs mailing list