From owner-freebsd-ports@FreeBSD.ORG Thu Aug 14 18:05:48 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B0E04F6; Thu, 14 Aug 2014 18:05:48 +0000 (UTC) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0F3028C5; Thu, 14 Aug 2014 18:05:47 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id w8so1274048qac.30 for ; Thu, 14 Aug 2014 11:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9ZIv09znY4ULEYmC2J8nxsRbxnxF+53EFrqYU4ll9rY=; b=cD4iYQq6gAILo+HEtTFY03jUR6jaewn7CTudMr4TE63dDHCKQFqsj2zUpkzsgmuc4E +tNyFP7doo2fnpKNxIOzlcQbsg7qA1uPR3pwVPQ6dfuEvu8pv0qzDqSA0g8jyos7HQwy K6fiuuD/iPTq3Ya/YcWAnFVrkfvRkSJX3ctTT489GTHzwb/vLKpSGeCWmtpHU7paFGFM 8C7nENp0DFuP87nvu2FCEtin7EVtUdIU9E+v61jZE25IKrhMdTY2Jsz8EzRDUKSqq/2C 2eMpcvzIKAGpnqmRW6aRL4iLzi+LV3aStd7xn2d5ywqb+hI2pauVuc5VJoqWBcHiTaxb cjCw== MIME-Version: 1.0 X-Received: by 10.224.36.4 with SMTP id r4mr19791513qad.69.1408039546663; Thu, 14 Aug 2014 11:05:46 -0700 (PDT) Received: by 10.140.84.80 with HTTP; Thu, 14 Aug 2014 11:05:46 -0700 (PDT) In-Reply-To: <53ECC801.40702@FreeBSD.org> References: <53ECC801.40702@FreeBSD.org> Date: Thu, 14 Aug 2014 11:05:46 -0700 Message-ID: Subject: Re: pkg-static error when installing php5 from ports From: Neel Natu To: Bryan Drewery Content-Type: text/plain; charset=UTF-8 Cc: pkg@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2014 18:05:48 -0000 Hi Bryan, On Thu, Aug 14, 2014 at 7: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 >>> ===> Installing for php5-5.4.31 >>> ===> php5-5.4.31 depends on shared library: libpcre.so - found >>> (/usr/local/lib/libpcre.so.3) >>> ===> php5-5.4.31 depends on shared library: libxml2.so - found >>> (/usr/local/lib/libxml2.so.2.9.1) >>> ===> Checking if php5 already installed >>> ===> 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 > > 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. > Thanks, that worked! best Neel > > -- > Regards, > Bryan Drewery >