broken poudriere with CCACHE

Matthew Seaman matthew at FreeBSD.org
Tue May 24 14:08:20 UTC 2016


On 05/24/16 14:37, Dmitry Morozovsky wrote:
> 10-stable at amd64
> 
> recently (coincident with pkg 1.8.3?) my poudriere starts failing with enabled 
> ccache even with totally clean /var/db/ccache hierarchy. ports failing list 
> begins with textproc/expat2 and ftp/curl, for example.
> 
> Failing message is
> 
> checking for gcc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... configure: error: in 
> `/wrkdirs/usr/ports/ftp/curl/work/curl-7.49.0':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details
> ===>  Script "configure" failed unexpectedly.
> 
> Disabling ccache support (can it be done in other way than commenting 
> out CCACHE_DIR id poudriere.conf BTW?) helps
> 
> Any hints?
> 

It's probably not pkg-1.8.3 but poudriere-devel-3.1.99.20160520 (or
thereabouts).  The default was changed to build as non-root.  This is
fine, except that you now need to chown your ccache to nobody:nobody so
that it's writable by the userid doing the compilation.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20160524/0f08a1b3/attachment.sig>


More information about the freebsd-pkg mailing list