USE_GCC usage

Richard Gallamore ultima at FreeBSD.org
Sun Jun 25 17:10:08 UTC 2017


When using USE_GCC= 5+, errors occur because this USE only sets
build and run time dependency, and not lib dependency.

Error: /usr/local/bin/ann_in is linked to /usr/local/lib/gcc5/libgfortran.so.3 from lang/gcc but it is not declared as a dependency
Error: /usr/local/bin/ann_in is linked to /usr/local/lib/gcc5/libquadmath.so.0 from lang/gcc but it is not declared as a dependency
Error: /usr/local/bin/c81merge is linked to /usr/local/lib/gcc5/libstdc++.so.6 from lang/gcc but it is not declared as a dependency
Error: /usr/local/bin/c81merge is linked to /usr/local/lib/gcc5/libgcc_s.so.1 from lang/gcc but it is not declared as a dependency

Should this be considered a false positive? or should USE_GCC
also add a LIB_DEPEND to ports?


Thanks,
Richard Gallamore 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170625/52a4eedc/attachment.sig>


More information about the freebsd-ports mailing list