Date: Mon, 22 Dec 2014 13:43:34 +1100 From: Aristedes Maniatis <ari@ish.com.au> To: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: +MANIFEST changed syntax in pkg 1.4? Message-ID: <54978556.3010503@ish.com.au>
index | next in thread | raw e-mail
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 <unknown>: 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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54978556.3010503>
