Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 08:23:19 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        freebsd-pkgbase@freebsd.org
Subject:   Re: Parse Error running make packages
Message-ID:  <d8ee97cf-ce93-36bd-cdd8-b387a6a4f47e@nomadlogic.org>
In-Reply-To: <5634b606-fece-58bd-f044-930248bb7a4a@nomadlogic.org>
References:  <5634b606-fece-58bd-f044-930248bb7a4a@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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@nomadlogic.org
@nomadlogicLA




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d8ee97cf-ce93-36bd-cdd8-b387a6a4f47e>