Thursday, February 28, 2019

Re: [ports-gcc] Unbreak lang/iverilog

On 2019/02/28 20:18, Charlene Wendling wrote:
>
> > http://build-failures.rhaalovely.net//powerpc/2019-01-12/lang/iverilog.log
> > http://build-failures.rhaalovely.net/sparc64/2019-02-03/lang/iverilog.log
> (impacts also amd64 when ports-gcc is forced)
>
> iverilog cannot find bzip2 includes when ports-gcc is used, also it
> requires an appropriate LIB_DEPENDS.
>
> WANTLIB has been changed as port-lib-depends-check said - bz2 is an
> extra on amd64.
>
> There may be a better solution, but i've found nothing specific in the
> upstream build system.
>
> It builds successfully on macppc and amd64, and WRKSRC/examples/* runs
> fine as well.
>
> Comments/feedback are welcome!

This happens because ports-gcc includes /usr/local/lib in the library
search path by default (base compilers and ports-clang do not).

It would be better not to have different dependencies (and features in
the built packages) between clang and gcc arches if possible. Hopefully
it should work on both if you use this instead?

CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"

No comments:

Post a Comment