Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 10:00:58 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        freebsd-ports@freebsd.org, pkg@freebsd.org
Subject:   Re: pkg-static error when installing php5 from ports
Message-ID:  <53ECCF2A.6070702@FreeBSD.org>
In-Reply-To: <53ECC801.40702@FreeBSD.org>
References:  <CAFgRE9ERqHXMhuZ0p2vV3tz%2B2yfLnP2dwHqzz2i%2BuyadPMr5Vw@mail.gmail.com> <CAFgRE9ELFYBy8126EAa=s-XVN1u%2BaxPeVjLcHVnzhfgZsVZDaA@mail.gmail.com> <53ECC801.40702@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <neelnatu@gmail.com> 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--



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