Date: Mon, 26 Jun 2017 10:09:04 +0800 From: Jov <amutu@amutu.com> To: Richard Gallamore <ultima@freebsd.org> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: USE_GCC usage Message-ID: <CADyrUxNYCR1DL0uRpnWcgEnbpge3Ej%2BGdwdteYdAkGu7%2BRANNQ@mail.gmail.com> In-Reply-To: <c79246d9-2634-2fad-4f9b-66bbe720acc5@FreeBSD.org> References: <c79246d9-2634-2fad-4f9b-66bbe720acc5@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Richard.This is a problem I met when update port science/mbdyn to 1.7.2. But the old version 1.7.1 also has this problem. Note this only happen when DEVELOPER=yes set in /etc/make.conf and in the Q/A tests: ====> Running Q/A tests (stage-qa) 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 2017-06-26 1:09 GMT+08:00 Richard Gallamore <ultima@freebsd.org>: > 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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyrUxNYCR1DL0uRpnWcgEnbpge3Ej%2BGdwdteYdAkGu7%2BRANNQ>