From owner-freebsd-pkg@FreeBSD.ORG Wed Nov 20 09:33:23 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 E7F489F6; Wed, 20 Nov 2013 09:33:23 +0000 (UTC) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5BDDB2AAA; Wed, 20 Nov 2013 09:33:23 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id x55so5180729wes.40 for ; Wed, 20 Nov 2013 01:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=/WOIC8BYN7yn2WffkE9jNbcxQjjv+dRulZVf+3mSpOQ=; b=ril/eawpoELmx1pNJbaXZYyiSb2lIMATdUfpePXn4XFs+dv8aQfYhRjcojPe0TyPLt f081cF910xQNgIfJEMhXXrcDe72bHE1jGVrSuYGB6J8W3d/NfsXBTVZqIKxTnsUyzuF2 rVysACa7R06huQqnJh49cGE6Iwib2uK3Wr0+RAF97s6zQtQDbJi7GG1sOX0+JgF7aOlV TiOXUIQjCk2HuatGAeGB2regKQvorSXfSGjeHzh5S0ClmVnmgJcIiWnnHi4geeiN3IBO 4l7dkTmRweJ0pyxRTH7WH2KBa9FV48IRDTRAmPNOI/ami34LZeRX5zSpJoOOtcEFOQ6Z iyVw== X-Received: by 10.180.182.47 with SMTP id eb15mr344131wic.51.1384940001747; Wed, 20 Nov 2013 01:33:21 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id qc10sm43164077wic.9.2013.11.20.01.33.20 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 Nov 2013 01:33:20 -0800 (PST) Sender: Baptiste Daroussin Date: Wed, 20 Nov 2013 10:33:18 +0100 From: Baptiste Daroussin To: Kenta Suzumoto Subject: Re: pkg won't built in jail Message-ID: <20131120093318.GY12196@ithaqua.etoilebsd.net> 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fBT78PV5vI5fyuAn" Content-Disposition: inline In-Reply-To: <20131120075803.CC83C20111@smtp.hushmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org, bdrewery@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 09:33:24 -0000 --fBT78PV5vI5fyuAn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 compi= le in my jail. 9.2 i386, latest ports tree. >=20 >=20 > clang -O2 -pipe -Qunused-parameter -Qunused-arguments -march=3Dnative -fn= o-strict-aliasing -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/= pkg/../libpkg -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg/= =2E./external/uthash -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wsy= stem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstric= t-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual= -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-s= ubscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definitio= n -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c convert.c > clang -O2 -pipe -Qunused-parameter -Qunused-arguments -march=3Dnative -fn= o-strict-aliasing -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/= pkg/../libpkg -I/ram/basejail/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/pkg/= =2E./external/uthash -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wsy= stem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstric= t-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual= -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-s= ubscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definitio= n -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -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 comparison= 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 failur= e to > the maintainer. > *** [do-build] Error code 1 >=20 > Stop in /basejail/usr/ports/ports-mgmt/pkg. > *** [/ram/basejail/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_loc= al] Error code 1 >=20 > Stop in /basejail/usr/ports/ports-mgmt/pkg. >=20 > =3D=3D=3D>>> make failed for ports-mgmt/pkg > =3D=3D=3D>>> Aborting update >=20 > =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 tree aren't you? because this looks like a ccache + clang failure regards, Bapt --fBT78PV5vI5fyuAn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlKMgd4ACgkQ8kTtMUmk6Ey3gQCfYCwamJWkk76d4LoSbrf+x4HG b1UAnA23dDMXqCGA5xXU4LJ/LobW5hfY =MMP1 -----END PGP SIGNATURE----- --fBT78PV5vI5fyuAn--