[Bug 227921] www/apache24: please add dependency to devel/ccache

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 3 22:48:25 UTC 2018


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

--- Comment #7 from Bryan Drewery <bdrewery at FreeBSD.org> ---
"please add dependency to devel/ccache" - I think it's obvious but we really
don't want to add a dependency to ccache.

(In reply to oz42 from comment #0)
> I have removed ccache and all its environment variables for several reasons,
> but www/apache24 still uses it, so we have a build dependency here:
> 
> 
> --- shared-build-recursive ---
> --- mod_mpm_prefork.la ---
> /usr/local/share/apr/build-1/libtool --silent --mode=link cc    -O2 -pipe
> -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing 
> -L/usr/local/lib/db5  -L/usr/local/lib -Wl,-rpath,/usr/local/lib
> -fstack-protector    -o mod_mpm_prefork.la -rpath
> /usr/local/libexec/apache24 -module -avoid-version prefork.lo
> eval: /usr/local/libexec/ccache/world/cc: not found

This is a big red flag. Why is a port build using the *[build]world* compiler
link?

> *** [mod_mpm_prefork.la] Error code 127
> 
> Please add the build dependency to the Makefile.

I suspect you have some old CC= hack in your /etc/make.conf. Just use
WITH_CCACHE_BUILD=yes now instead.

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


More information about the freebsd-ports-bugs mailing list