From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 07:55:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78F38FBA for ; Wed, 10 Dec 2014 07:55:39 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 025CB2E7 for ; Wed, 10 Dec 2014 07:55:38 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id sBA7tXAu060097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 10 Dec 2014 07:55:33 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sBA7tXAu060097 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1418198133; bh=HXCphBCdPtFDKGte/EpGqu9ckNL54FW3WWaMBFtn8sw=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Wed,=2010=20Dec=202014=2007:55:32=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20pkg=20breakage=20after=20updating =20ports=20tree|References:=20| In-Reply-To:=20; b=ZPtQWChv/kQDGW5FZp5KEtE4FlovPw1PPIs6fVqSyKXz0e4iscaHyawdhJ8eUA4Kr Sg+akY+7+9c4nJr3VEEVKd3dasaFmkcg4k05dKRVuuIYU66LjQYnGRxOVyx5WeFSv4 3wFhOAmkPxBzvkFFcHhsNO9wvyNMI1VqaOdAfLPc= Message-ID: <5487FC74.2010807@infracaninophile.co.uk> Date: Wed, 10 Dec 2014 07:55:32 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg breakage after updating ports tree References: In-Reply-To: OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Tl8fKXl7suf5ISQ6k5FC8gcxdKnfPjFcm" X-Virus-Scanned: clamav-milter 0.98.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2014 07:55:39 -0000 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--