Parse Error running make packages
Pete Wright
pete at nomadlogic.org
Mon May 25 15:23:23 UTC 2020
On 5/24/20 9:09 AM, Pete Wright wrote:
> Hello,
> Is the preferred method for building a package base repository still
> to run "make packages" after running buildworld and buildkernel? I am
> testing this locally and am running into this error:
>
> ===> Creating FreeBSD-acct-dbg-13.0.s20200524150532
> pkg -o
> ABI_FILE=/usr/obj/usr/home/pete/git/freebsd/amd64.amd64/worldstage/usr/bin/uname
> -o ALLOW_BASE_SHLIBS=yes create -f txz -M
> /usr/obj/usr/home/pete/git/freebsd/amd64.am
> d64/worldstage/acct-dbg.ucl -p
> /usr/obj/usr/home/pete/git/freebsd/amd64.amd64/worldstage/acct-dbg.plist
> -r /usr/obj/usr/home/pete/git/freebsd/amd64.amd64/worldstage -o /us
> r/obj/usr/home/pete/git/freebsd/repo/FreeBSD:13:amd64/13.0.s20200524150532
>
> pkg: Error parsing manifest: error while parsing <unknown>: line: 19,
> column: 12 - 'invalid character in a key', character: '%'
> *** Error code 1
>
>
> It looks like it's tripping up on this line in acct-dbg.ucl:
> deps: {
> FreeBSD-%PKGDEPS%: {
> origin: "base",
> version: "13.0.s20200524150532"
> }
> }
>
>
> specifically the %PKGDEPS%. I wonder if I'm missing a step in this
> process.
>
>
To close the loop on this for the mail archives.
I had a some old .ucl files under /release/packages/ that were not being
processed correctly by /release/packages/generate-ucl.sh. removing these
files allowed me to successfully build package. I suspect I previously
built with packagebase in this tree before generate-ucl.sh was
refactored which led to this issue.
-pete
--
Pete Wright
pete at nomadlogic.org
@nomadlogicLA
More information about the freebsd-pkgbase
mailing list