[Bug 253286] lang/gcc10 build tests for zstd and if successful requires zstd in package

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 6 06:41:43 UTC 2021


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

            Bug ID: 253286
           Summary: lang/gcc10 build tests for zstd and if successful
                    requires zstd in package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
             Flags: maintainer-feedback?(gerald at FreeBSD.org)
          Assignee: gerald at FreeBSD.org

If archivers/zstd has been installed, prior to building lang/gcc10 it will
require zstd to be installed for proper operation.  It seems that lto uses
zstd, and there is a dependency by 
/usr/local/libexec/gcc10/gcc/x86_64-portbld-freebsd12.2/10.2.0/cc1
...
        libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x298ea000)

We chanced upon this during testing when we (unusally) rebuilt gcc10 after our
ports were installed.  (zstd is required in our env by dovecot and rsync) :/

To help gcc10 behave correctly I'd suggest either making zstd a requirement for
gcc10 or, as we've done, add
--without-zstd
to 
CONFIGURE_ARGS

(dovecot uses LIB_DEPENDS=   libzstd.so:archivers/zstd.  Though unless zstd is
trained, I can't see the benefit...?)

Gerald, Thanks for maintaining gcc and friends, over to you :)

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


More information about the freebsd-ports-bugs mailing list