Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 10:33:18 +0100
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Kenta Suzumoto <kentas@hush.com>
Cc:        freebsd-pkg@freebsd.org, bdrewery@freebsd.org
Subject:   Re: pkg won't built in jail
Message-ID:  <20131120093318.GY12196@ithaqua.etoilebsd.net>
In-Reply-To: <20131120075803.CC83C20111@smtp.hushmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131120093318.GY12196>