Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Feb 2021 06:41:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253286] lang/gcc10 build tests for zstd and if successful requires zstd in package
Message-ID:  <bug-253286-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(gerald@FreeBSD.org)
          Assignee: gerald@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=20
/usr/local/libexec/gcc10/gcc/x86_64-portbld-freebsd12.2/10.2.0/cc1
...
        libzstd.so.1 =3D> /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=20
CONFIGURE_ARGS

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

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

--=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-253286-7788>