From owner-freebsd-pkg@FreeBSD.ORG Wed Nov 20 12:28:22 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D338F737 for ; Wed, 20 Nov 2013 12:28:22 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AF65526B9 for ; Wed, 20 Nov 2013 12:28:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAKCSMQu033462 for ; Wed, 20 Nov 2013 12:28:22 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAKCSMW7033461 for freebsd-pkg@freebsd.org; Wed, 20 Nov 2013 12:28:22 GMT (envelope-from bdrewery) Received: (qmail 76295 invoked from network); 20 Nov 2013 06:28:20 -0600 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 20 Nov 2013 06:28:20 -0600 Message-ID: <528CAADE.7040909@FreeBSD.org> Date: Wed, 20 Nov 2013 06:28:14 -0600 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Kenta Suzumoto Subject: Re: pkg won't built in jail References: <528A6A0C.5080805@gmail.com> <20131118200746.E7D0720111@smtp.hushmail.com> <528B5973.3000906@gmail.com> <20131119160453.B9DCD20112@smtp.hushmail.com> <528B94CD.2000902@gmail.com> <20131119170733.8E86D20111@smtp.hushmail.com> <528BA027.8060501@gmail.com> <20131119173913.5EC8B20111@smtp.hushmail.com> <528BA4D0.4060509@gmail.com> <20131120075803.CC83C20111@smtp.hushmail.com> <20131120093318.GY12196@ithaqua.etoilebsd.net> In-Reply-To: <20131120093318.GY12196@ithaqua.etoilebsd.net> X-Enigmail-Version: 1.6 OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PQ48TsXQ1BEAaoJ82Jx1pvjmWhOeN9cro" Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 12:28:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PQ48TsXQ1BEAaoJ82Jx1pvjmWhOeN9cro Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/20/2013 3:33 AM, Baptiste Daroussin wrote: > On Wed, Nov 20, 2013 at 02:58:03AM -0500, Kenta Suzumoto wrote: >> pkg builds fine on the host with the exact same settings, but won't co= mpile in my jail. 9.2 i386, latest ports tree. >> >> >> clang -O2 -pipe -Qunused-parameter -Qunused-arguments -march=3Dnative = -fno-strict-aliasing -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1= =2E1.4/pkg/../libpkg -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1= =2E1.4/pkg/../external/uthash -std=3Dgnu99 -Qunused-arguments -fstack-pro= tector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-para= meter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-t= ype -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wca= st-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -W= old-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-i= nt -c convert.c >> clang -O2 -pipe -Qunused-parameter -Qunused-arguments -march=3Dnative = -fno-strict-aliasing -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1= =2E1.4/pkg/../libpkg -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1= =2E1.4/pkg/../external/uthash -std=3Dgnu99 -Qunused-arguments -fstack-pro= tector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-para= meter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-t= ype -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wca= st-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -W= old-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-i= nt -c create.c >> clean.c:373:25: error: equality comparison with extraneous parentheses= [-Werror,-Wparentheses-equality] >> if (((&dl)->stqh_first =3D=3D ((void *)0))) { >> ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ >> clean.c:373:25: note: remove extraneous parentheses around the compari= son to silence this warning >> if (((&dl)->stqh_first =3D=3D ((void *)0))) { >> ~ ^ ~ >> clean.c:373:25: note: use '=3D' to turn this equality comparison into = an assignment >> if (((&dl)->stqh_first =3D=3D ((void *)0))) { >> ^~ >> =3D >> 1 error generated. >> *** [clean.o] Error code 1 >> 1 error >> *** [all] Error code 2 >> 1 error >> =3D=3D=3D> Compilation failed unexpectedly. >> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fai= lure to >> the maintainer. >> *** [do-build] Error code 1 >> >> Stop in /basejail/usr/ports/ports-mgmt/pkg. >> *** [/ram/basejail/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_= local] Error code 1 >> >> Stop in /basejail/usr/ports/ports-mgmt/pkg. >> >> =3D=3D=3D>>> make failed for ports-mgmt/pkg >> =3D=3D=3D>>> Aborting update >> >> =3D=3D=3D>>> Update for pkg-1.1.4_9 failed >> =3D=3D=3D>>> Aborting update >> >=20 > You are using ccache without using the famework provided by the ports t= ree > aren't you? >=20 > because this looks like a ccache + clang failure >=20 > regards, > Bapt >=20 Well even with WITH_CCACHE_BUILD it will try to use when using clang. I suggest not using WITH_CCACHE_BUILD or ccache if the compiler is clang, or for this specific case add CCACHE_CPP2=3D1 in your jail's env or make.= conf. --=20 Regards, Bryan Drewery --PQ48TsXQ1BEAaoJ82Jx1pvjmWhOeN9cro Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSjKreAAoJEDXXcbtuRpfPkxAH/01gvkHcmHs3ZRFungDRu1Mw 5OF5FaxLe8zw8rP3f0eDii80vn7NK6fX80lnqTjdS7pNkH10X9yV5N05OcetrfK9 q7GTGrwbtw19tVes8TlsrbUXYF5ek+O6oaHcn2ZpEMguzvrk88LwcIZ6CMnlheBT jnDFpjzVvYIhc9zH0h70dG2xyIUzcjXD6vAncSWPA1t06OPmnrLOpBFNV8GZ9jfn fEBo8haTF7XikE+YxU5/Kxjic+ewp2GtuDXr3rpzR/0Jhmpwo8cib7l6g1OYwcpp F4pSKxBEnNYuBHc+bBvhek2fyv0EXP0snOHhHvuq26ceL42rgUDqEEBuTnMdVYg= =O2Xq -----END PGP SIGNATURE----- --PQ48TsXQ1BEAaoJ82Jx1pvjmWhOeN9cro--