From owner-freebsd-pkg@FreeBSD.ORG Thu Aug 14 15:01:08 2014 Return-Path: Delivered-To: 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 B5C0C422 for ; Thu, 14 Aug 2014 15:01:08 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 969452157 for ; Thu, 14 Aug 2014 15:01:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s7EF18QD038721 for ; Thu, 14 Aug 2014 15:01:08 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s7EF18fX038718 for pkg@freebsd.org; Thu, 14 Aug 2014 15:01:08 GMT (envelope-from bdrewery) Received: (qmail 21278 invoked from network); 14 Aug 2014 10:01:06 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 14 Aug 2014 10:01:06 -0500 Message-ID: <53ECCF2A.6070702@FreeBSD.org> Date: Thu, 14 Aug 2014 10:00:58 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, pkg@freebsd.org Subject: Re: pkg-static error when installing php5 from ports References: <53ECC801.40702@FreeBSD.org> In-Reply-To: <53ECC801.40702@FreeBSD.org> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jQKGqX0mjBClJlpwsOLND53fNHdtOBPBx" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 14 Aug 2014 15:01:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jQKGqX0mjBClJlpwsOLND53fNHdtOBPBx Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/14/2014 9:30 AM, Bryan Drewery wrote: > On 8/13/2014 9:07 PM, Neel Natu wrote: >> No response on freebsd-pkg@ so figured I would try my luck here. >> >> best >> Neel >> >> On Tue, Aug 12, 2014 at 5:57 PM, Neel Natu wrote:= >>> Hi, >>> >>> I am installing php5 from ports. It builds fine but fails with this >>> error when installing: >>> >>> [/usr/ports/lang/php5]$ sudo make install >>> =3D=3D=3D> Installing for php5-5.4.31 >>> =3D=3D=3D> php5-5.4.31 depends on shared library: libpcre.so - foun= d >>> (/usr/local/lib/libpcre.so.3) >>> =3D=3D=3D> php5-5.4.31 depends on shared library: libxml2.so - foun= d >>> (/usr/local/lib/libxml2.so.2.9.1) >>> =3D=3D=3D> Checking if php5 already installed >>> =3D=3D=3D> Registering installation for php5-5.4.31 >>> pkg-static: Invalid manifest format: could not find expected ':' >>> *** Error code 74 >>> >>> Stop. >>> make[1]: stopped in /usr/ports/lang/php5 >>> *** Error code 1 >>> >>> Any clue what might be happening and how to fix? >>> >>> best >>> Neel >=20 > This came up in #pkgng on freenode as well. Your Pkg is probably too > old. Check with 'pkg -v'. The current release is at 1.3.6 now. You're > likely running 1.1. Upgrade Pkg to support the new JSON format for the > manifest. >=20 >=20 We should add a version check to bsd.port.mk for Pkg. 1.2.0+ is required for Ports currently. Care needs to be taken to not initiate the bootstrap. So only executing LOCALBASE/sbin/pkg -v iff it exists. --=20 Regards, Bryan Drewery --jQKGqX0mjBClJlpwsOLND53fNHdtOBPBx 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) iQEcBAEBAgAGBQJT7M8qAAoJEDXXcbtuRpfP9AoH/1YKackzH2zMa+UVtqoUgDJC 0sm9DbI1azbgP8EjDNGdab5qthLjPLLgnNtUBNeSv0P33165lFGUTigN2sNlJYOR zWBkYMeFBmwHYA9YtG5Ap/mjHre4llW44KaUh2dHhjQ0J1QGyolXaO+TpRj0sdfl Y2bJycp9fd78ZBREpp7htKrOCuMRhzsYf0xgJGmwYE65L/hOR7wXkkZdjwZe3uuu 0hSU5JC1VvtOdbcYsbz7NoYg74Zn/QBL/HguuCDlBJU7w3mevU+P7QespjKqDIq0 dkAhdsuIA2rF/KyMy7M2DjrbyiKhvr4FnIKkn5gxNSdXTMWGugj3unfrs06lM/U= =cU1T -----END PGP SIGNATURE----- --jQKGqX0mjBClJlpwsOLND53fNHdtOBPBx--