From owner-freebsd-ports@FreeBSD.ORG Mon Dec 22 03:00:08 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B2A2E1D for ; Mon, 22 Dec 2014 03:00:08 +0000 (UTC) Received: from mail13.tpgi.com.au (smtp-out13.tpgi.com.au [220.244.226.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.tpg.com.au", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BF883C9E for ; Mon, 22 Dec 2014 03:00:06 +0000 (UTC) X-TPG-Junk-Status: Message not scanned X-TPG-Antivirus: Passed X-TPG-Abuse: host=[202.161.115.54]; ip=202.161.115.54; date=Mon, 22 Dec 2014 13:43:42 +1100 Received: from fish.ish.com.au (202-161-115-54.static.tpgi.com.au [202.161.115.54] (may be forged)) by mail13.tpgi.com.au (envelope-from ari@ish.com.au) (8.14.3/8.14.3) with ESMTP id sBM2hemx021680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 22 Dec 2014 13:43:42 +1100 Received: from ip-211.ish.com.au ([203.29.62.211]:31466 helo=ish.com.au) by fish.ish.com.au with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1Y2sy7-0003j4-0n for freebsd-ports@freebsd.org; Mon, 22 Dec 2014 13:43:35 +1100 Received: from [203.29.62.136] (HELO Aris-MacBook-Pro-3.local) by ish.com.au (CommuniGate Pro SMTP 6.1c1) with ESMTPS id 17930935 for freebsd-ports@freebsd.org; Mon, 22 Dec 2014 13:43:35 +1100 Message-ID: <54978556.3010503@ish.com.au> Date: Mon, 22 Dec 2014 13:43:34 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:34.0) Gecko/20100101 Thunderbird/34.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: +MANIFEST changed syntax in pkg 1.4? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: Mon, 22 Dec 2014 03:00:08 -0000 Ever since we upgraded to pkg 1.4, our scripts which create packages from binary applications are now failing. I use "pkg create" to generate a pkg from a folder full of files. The +MAINFEST file is something we create from a template. Since the upgrade, we are unable to create packages. Note that we don't use ports since we aren't building from source, but just creating convenient installers for FreeBSD systems. The error we get looks like this: pkg: manifest parsing error: error while parsing : line: 31, column: 8 - 'invalid character in a key', character: '0x0a' But at the line number in question is nothing out of the ordinary. Just the lines after: scripts: pre-install: |- if I completely get rid of the scripts section, then I get another set of errors like: pkg: Skipping malformed key 'version' pkg: Skipping malformed key 'deps' pkg: Skipping malformed key 'files' Has the +MAINFEST file changed in sytnax from 1.3 to 1.4 and is now not yaml? I notice that the +MANIFEST files inside packages already built by the ports system look more like json in format. Where do I find documentation for the new format? Thanks Ari Maniatis -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A