Bug 286119 - security/linux-rl9-ca-certificates: pkg-static: Unable to access file
Summary: security/linux-rl9-ca-certificates: pkg-static: Unable to access file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-15 18:37 UTC by Marco Beishuizen
Modified: 2025-04-17 16:36 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (emulation)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Beishuizen 2025-04-15 18:37:48 UTC
Update the port fails with:
...
===>  Installing for linux-rl9-ca-certificates-2024.2.69_2
===>   Registering installation for linux-rl9-ca-certificates-2024.2.69_2
pkg-static: Unable to access file /usr/ports/security/linux-rl9-ca-certificates/work/stage/compat/linux/etc/pki/ca-trust/extracted/edk2/cacerts.bin:No such file or directory
pkg-static: Unable to access file /usr/ports/security/linux-rl9-ca-certificates/work/stage/compat/linux/etc/pki/ca-trust/extracted/java/cacerts:No such file or directory
pkg-static: Unable to access file /usr/ports/security/linux-rl9-ca-certificates/work/stage/compat/linux/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt:No such file or directory
pkg-static: Unable to access file /usr/ports/security/linux-rl9-ca-certificates/work/stage/compat/linux/etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem:No such file or directory
pkg-static: Unable to access file /usr/ports/security/linux-rl9-ca-certificates/work/stage/compat/linux/etc/pki/ca-trust/extracted/pem/objsign-ca-bundle.pem:No such file or directory
pkg-static: Unable to access file /usr/ports/security/linux-rl9-ca-certificates/work/stage/compat/linux/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:No such file or directory
*** Error code 1

Stop.
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-04-17 10:14:52 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d8b1feeb2d49870ea77cd3ec96d1d9c9b45f6454

commit d8b1feeb2d49870ea77cd3ec96d1d9c9b45f6454
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-04-17 10:12:39 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-04-17 10:14:07 +0000

    security/linux-rl9-ca-certificates: Use relative paths when calling Linux programs

    This avoids creating /compat/linux/wrkdirs/... when building under Poudriere

    PR:             286119

 security/linux-rl9-ca-certificates/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2025-04-17 15:22:46 UTC
Does this change improve the situation?
Comment 3 Marco Beishuizen 2025-04-17 16:36:39 UTC
Yep looks fine now
Thanks!