lha-1.14i_9 fails to build package in poudriere because it cannot find file LICENSE.en excerpt of final part of the building process: =======================<phase: stage >============================ ===> Staging for lha-1.14i_9 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/man/ja/man1 /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/lha /wrkdirs/usr/ports/archivers/lha/work/stage install -s -m 555 /wrkdirs/usr/ports/archivers/lha/work/lha-114i/src/lha /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/bin/ install -m 444 /wrkdirs/usr/ports/archivers/lha/work/lha-114i/man/lha.n /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/man/ja/man1/lha.1 install -m 0644 /portdistfiles/lha-114i.tar.gz /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/lha/ install -m 0644 /usr/ports/archivers/lha/files/LICENSE.en /wrkdirs/usr/ports/archivers/lha/work/stage/ ====> Compressing man pages (compress-man) =========================================================================== =======================<phase: package >============================ ===> Building package for lha-1.14i_9 pkg-static: Unable to access file /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/licenses/lha-1.14i_9/LICENSE.en:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/archivers/lha =>> Cleaning up wrkdir ===> Cleaning for lha-1.14i_9 build of archivers/lha | lha-1.14i_9 ended at Fri Mar 10 05:07:05 CET 2023 build time: 00:00:13 !!! build failure encountered !!!
No package yet on https://www.freshports.org/archivers/lha Sorry I can't reproduce your problem: Setting up poudriere in FreeBSD-12.4 amd64, the port was build here: [00:00:04] Recording filesystem state for prepkg... done [00:00:04] Building 2 packages using 1 builders [00:00:04] Starting/Cloning builders [00:00:05] Hit CTRL+t at any time to see build progress and stats [00:00:05] [01] [00:00:00] Building ports-mgmt/pkg | pkg-1.19.1_1 [00:01:23] [01] [00:01:18] Finished ports-mgmt/pkg | pkg-1.19.1_1: Success [00:01:23] [01] [00:00:00] Building archivers/lha | lha-1.14i_9 [00:01:27] [01] [00:00:04] Finished archivers/lha | lha-1.14i_9: Success [00:01:27] Stopping 1 builders logfile: [...] =========================================================================== =======================<phase: run-depends >============================ =========================================================================== =======================<phase: stage >============================ ===> Staging for lha-1.14i_9 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/man/ja/man1 /wrkdirs/usr/ports/a rchivers/lha/work/stage/usr/local/share/lha /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/sh are/licenses/lha-1.14i_9 install -s -m 555 /wrkdirs/usr/ports/archivers/lha/work/lha-114i/src/lha /wrkdirs/usr/ports/archive rs/lha/work/stage/usr/local/bin/ install -m 444 /wrkdirs/usr/ports/archivers/lha/work/lha-114i/man/lha.n /wrkdirs/usr/ports/archiver s/lha/work/stage/usr/local/man/ja/man1/lha.1 install -m 0644 /portdistfiles/lha-114i.tar.gz /wrkdirs/usr/ports/archivers/lha/work/stage/usr/loca l/share/lha/ install -m 0644 /usr/ports/archivers/lha/files/LICENSE.en /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/q/lha-1.14i_9/ ====> Compressing man pages (compress-man) =========================================================================== =======================<phase: package >============================ ===> Building package for lha-1.14i_9 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for lha-1.14i_9 build of archivers/lha | lha-1.14i_9 ended at Sun Mar 12 13:36:30 CET 2023 build time: 00:00:03 diff: -install -m 0644 /usr/ports/archivers/lha/files/LICENSE.en /wrkdirs/usr/ports/archivers/lha/work/stage/usr/local/share/q/lha-1.14i_9/ +install -m 0644 /usr/ports/archivers/lha/files/LICENSE.en /wrkdirs/usr/ports/archivers/lha/work/stage/ Comparing this it seems that "_LICENSE_DIR" is not defined on your build. Du you have _LICENSE_DIR set in /ett/make.conf ? # make -C /usr/ports/archivers/lha -V _LICENSE_DIR /usr/local/share/licenses/lha-1.14i_9
I think I've found it. Nothing relevant in /etc/make.conf but in # cat /usr/local/etc/poudriere.d/make.conf DISABLE_LICENSES=yes <--------------------- LOCALIZED_LANG=es PY_FLAVOR=py39 DEFAULT_VERSIONS+=perl5=5.36 DEFAULT_VERSIONS+=python=3.9 python3=3.9 DEFAULT_VERSIONS+=mysql=8.0 .... Comented out the "DISABLE_LICENSES" option there I've reactivated the "Enable lha archives support" in security/clamav options, and ran a poudriere bulk, and it builds the package without further problem: [00:00:15] Starting/Cloning builders [00:00:20] Hit CTRL+t at any time to see build progress and stats [00:00:20] [01] [00:00:00] Building archivers/lha | lha-1.14i_9 [00:00:22] [01] [00:00:02] Finished archivers/lha | lha-1.14i_9: Success Thanks a lot for your guide and poniting to a resolution.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa4c061dc691318acfe83b71793b9a9b520cc8a9 commit aa4c061dc691318acfe83b71793b9a9b520cc8a9 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2023-03-13 09:22:43 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2023-03-13 09:22:43 +0000 rchivers/lha: add support for DISABLE_LICENSES PR: 270082 archivers/lha/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
*** Bug 270081 has been marked as a duplicate of this bug. ***