Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 May 2018 22:48:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        apache@FreeBSD.org
Subject:   [Bug 227921] www/apache24: please add dependency to devel/ccache
Message-ID:  <bug-227921-16115-dUWU1PlS9d@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227921-16115@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227921-16115@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #7 from Bryan Drewery <bdrewery@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 reaso=
ns,
> but www/apache24 still uses it, so we have a build dependency here:
>=20
>=20
> --- shared-build-recursive ---
> --- mod_mpm_prefork.la ---
> /usr/local/share/apr/build-1/libtool --silent --mode=3Dlink cc    -O2 -pi=
pe
> -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasi=
ng=20
> -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* compil=
er
link?

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

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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227921-16115-dUWU1PlS9d>