Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2021 12:26:59 -0700
From:      Mark Millard via freebsd-ports <freebsd-ports@freebsd.org>
To:        freebsd-ports@freebsd.org, Bryan Drewery <bdrewery@FreeBSD.org>
Subject:   An example poudriere-devel pkgclean failure, multiple issues involved
Message-ID:  <DAEB4346-4E9C-4F3F-B6C4-A7E87645C96B@yahoo.com>
References:  <DAEB4346-4E9C-4F3F-B6C4-A7E87645C96B.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:=20
[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
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
[00:02:52] Cleaning up
[00:02:52] Unmounting file systems

So I ended up doing:

# rm =
/usr/local/poudriere/data/packages/main-CA7-default/.real_1632249158/All/*=


This may have been tied to the relative timing of the last bulk build
(where the final port failed to build) and when the /usr/ports the jail
was bound to was later updated before the pkgclean. The packages were
those form attempting a build of emulators/mame (targeting armv7 on
aarch64).

But it is not clear to me that pkgclean -a -y should avoid the complete
delete in the above context.

There are also the "unexpected operator" syntax errors and the
POUDRIERE_BUILD_TYPE error once "Packages stuck" happened.

For reference:

# poudriere version
poudriere-git-3.3.99.20210907_1

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAEB4346-4E9C-4F3F-B6C4-A7E87645C96B>