Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 07:55:32 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg breakage after updating ports tree
Message-ID:  <5487FC74.2010807@infracaninophile.co.uk>
In-Reply-To: <slrnm8ehsu.172.varro@anukis.local>
References:  <slrnm8ehsu.172.varro@anukis.local>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Tl8fKXl7suf5ISQ6k5FC8gcxdKnfPjFcm
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 09/12/2014 19:03, Will Parsons wrote:
> After doing "portsnap fetch update" on a 9.3-RELEASE system, I find tha=
t
> updating ports is broken because of dependencies on pkg.  The attempt
> to update pkg-1.3.8_3 to pkg-1.4.0 results in:
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> ...
> cc1: warnings being treated as errors
> set.c: In function 'exec_set':
> set.c:103: warning: 'depfield' may be used uninitialized in this functi=
on
> set.c:103: warning: 'field' may be used uninitialized in this function
> *** [pkg-set.o] Error code 1
>=20
> Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.4.0/src.
> *** [all-recursive] Error code 1
>=20
> Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.4.0.
> *** [all] Error code 1
>=20
> Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.4.0.
> *** [do-build] Error code 1
>=20
> Stop in /usr/ports/ports-mgmt/pkg.
> *** [/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_local] Error c=
ode 1
>=20
> Stop in /usr/ports/ports-mgmt/pkg.
>=20
> =3D=3D=3D>>> make build failed for ports-mgmt/pkg
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for pkg-1.3.8_3 failed
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> This is using portmaster, but running make from the ports directory is
> similar.
>=20
> (As a side question, "which pkg" shows /usr/sbin/pkg.  Why are there
> dependencies on the version of pkg in ports?)
>=20
> What can I do to fix this?
>=20

/usr/sbin/pkg is pkg(7) and serves only to ensure that the actual pkg(8)
gets installed.

There was an update to ports-mgmt/pkg fairly soon after pkg-1.4.0 was
released which added some compilation flags to prevent gcc bombing out
-- do you have the latest version?   If that doesn't help, can you try
compiling pkg(8) with clang instead?

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew@infracaninophile.co.uk


--Tl8fKXl7suf5ISQ6k5FC8gcxdKnfPjFcm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)

iQJ8BAEBCgBmBQJUh/x0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATGqcQAIDtxq5u/X6paXcsIshOJwc0
L5TCMPgZjSFWDP2U9bGOZ5/Qr9Ggm+Cpw67Z2ZNK3hZ0XNZLSNQ2qFGhXsigkQwM
P3dUca+ps0xFmmKXrzvcahaSJWCyGEp7w6/Kl+u7S8Gp7vte4DFQQyVvqEgFOPhz
VGsA9Trhi90p6kPceYkJJDjYGjkVyk1VB5QpiZdBuANf8yfvHBmW/bsFnSr6P/Sv
vahV6eyHAIBx7z2lwpcj/R46h7xdg8ZdsaQ77/SoJtdIlSqD0E7ZGGUJvfJ4FbWT
jdfxzlkCusRuf8S/D8Lu4m7cyAAMXHymShtFF6eEHK5dQS0Zt65fGL4FZ5NtKZW0
2YgJYXfrpGJZUfBJbwaUTFvxUTAY+1kmFyngN39sx+n1OGuqmf3tqbk1UIjTrXYP
kOoLSft26Ex00dbBouJMeAhQHcI7TeIIH2e5uGawEiXc5MfC2rIKecHuxF7SEn7n
g99bO2ByWnPB0aGrVcwMBusz5OzQiHRiusHhLx2R9q+xdWPU2Nb6lZAREXZhbjlk
zAcbX4Sn8DyDGiD+2k/1cFa7j9PD7G4PiiyqA/N0mLjkf6A686IBLEfPxUKuhHo0
8wgj70BNM0VekkjYjC7E4/nLcMbr9HnAc7WKWtSPxd+f6fPZN8Hhn/Rp2+336MeO
6/TCgp/RH4av9/GuWc3v
=H1s1
-----END PGP SIGNATURE-----

--Tl8fKXl7suf5ISQ6k5FC8gcxdKnfPjFcm--



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