Re: An example poudriere-devel pkgclean failure, multiple issues involved

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Fri, 24 Sep 2021 19:06:55 UTC
On 9/22/2021 12:26 PM, Mark Millard wrote:
> When I just tried to pkgclean -a I got:
> 
> # poudriere pkgclean -jmain-CA7 -a -y
> [00:00:00] Gathering all expected packages
> [00:00:00] Creating the reference jail... done
> [00:00:03] Mounting system devices for main-CA7-default
> [00:00:03] Mounting ports from: /usr/ports
> [00:00:03] Mounting packages from: 
> [00:00:03] Mounting distfiles from: /usr/ports/distfiles
> [00:00:03] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
> [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
> [00:00:03] Appending to make.conf: /usr/local/etc/poudriere.d/main-CA7-make.conf
> /etc/resolv.conf -> /usr/local/poudriere/data/.m/main-CA7-default/ref/etc/resolv.conf
> [00:00:03] Starting jail main-CA7-default
> [00:00:04] Loading MOVED for /usr/local/poudriere/data/.m/main-CA7-default/ref/usr/ports
> [00:00:05] Ports supports: FLAVORS SELECTED_OPTIONS
> [00:00:05] Gathering ports metadata
> [00:02:11] Calculating ports order and dependencies
> [00:02:46] Sanity checking the repository
> [00:02:46] Unqueueing existing packages
> [00:02:50] Sanity checking build queue
> [00:02:52] Error: Packages stuck in queue (depended on but not in queue): HPCombi-0.0.6_1

I had not seen this one before. I was able to repro it locally. git
bisect run is amazing and identified the bad commit. I'll probably have
a fix in a few days.

> IPA-1.08_2
> R-cran-s2-1.0.6
> . . .
> zig-0.8.1
> zxid-1.42_1
> [: -gt: unexpected operator
> [: -gt: unexpected operator
> [: -gt: unexpected operator
> /usr/local/share/poudriere/pkgclean.sh: POUDRIERE_BUILD_TYPE: parameter not set

This is fixed in Poudriere git at least.

Thanks for ccing me.

-- 
Bryan Drewery