On Apr 23, 2025, at 21:49, Matthias Fechner <mfech...@freebsd.org> wrote:

> Am 24.04.2025 um 01:22 schrieb Mark Millard:
>> pkg 2.1.1 generates .pkg files with incorrect content.
>> (That is what can later lead to the recursive
>> addition-start sequence.)
>> 
>> So you likely will want to regenerate any .pkg file that
>> pkg 2.1.1 generated.
> 
> I can confirm this.
> I was able to fix the problem (maybe that help someone else).
> I use poudriere to build my packages.
> 
> Go to you repository like:
> cd /usr/local/poudriere/ports/default
> 
> Revert the pkg 2.1.1 commit and remove it from git index:
> git revert -n 2bb7e518317c68231c43d382180239be809e2928
> git reset
> git revert --abort
> 
> Next we need to remove all already build package, I did this by just deleting 
> all files modified in the last 24 hours:
> cd /usr/local/poudriere/data/packages
> find . -mtime 1 -name "*.pkg" -path "*All*" -delete
> 
> Just start poudriere again and all should work fine.

pkg 2.1.2 has been committed and worked well in my
2 initial test contexts: amd64 and aarch64 , the
same tests that showed the 2.1.1 problems.

===
Mark Millard
marklmi at yahoo.com


Reply via email to