poudriere-devel based llvm16-16.0.0.r3 build got: "pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory"

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 05 Mar 2023 08:03:27 UTC
My poudriere-devel based ports update got:

=======================<phase: package        >============================
. . .
===>  Building package for llvm16-16.0.0.r3
pkg-static: pkg_checksum_hash_sha256_file(read failed): Is a directory
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm16

FYI: This was my first time attempting to build llvm16
as one of the ports.

I see that, for example,

http://ampere3.nyi.freebsd.org/build.html?mastername=131arm64-default&build=d0f8db852755

reports success with building (and, so, packaging)
llvm16-16.0.0.r3 . I've no clue why the distinction.

For reference:

port directory: /usr/ports/devel/llvm16
package name: llvm16-16.0.0.r3
building for: FreeBSD CA72_ZFS 13.1-RELEASE-p7 FreeBSD 13.1-RELEASE-p7 arm64
. . .
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1400081
Jail OSVERSION: 1301000

Of 227 ports, this was the only one to fail to build.
llvm15 and gcc12 were built.

This was on a HoneyComb (16 Cortex-A72's).

poudriere-devel is now building ports, targeting main
instead of targeting releng/13.1 . We will see how
that goes building the same 227 ports.

It will be some time before I'll retest building for
releng/13.1 in order to check on repeatability.

# uname -apKU
FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #88 main-n261230-e78dc78e517a-dirty: Wed Mar  1 16:17:45 PST 2023     root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72 arm64 aarch64 1400081 1400081

===
Mark Millard
marklmi at yahoo.com