Summary: | security/sssd fails to build on Poudriere at the Package phase: pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work-default/stage/usr/local/libexec/sssd/sssd_pac: No such file or directory | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | ddrinnon |
Component: | Individual Port(s) | Assignee: | Mateusz Piotrowski <0mp> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | 0mp, fernape, grahamperrin, rainer, vermaden |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | jhixson:
maintainer-feedback+
|
Hardware: | amd64 | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244778 |
Description
ddrinnon
2023-06-10 18:25:33 UTC
Which versions of FreeBSD? Host and jail. Does a simple re-run of the build (without prior use of poudriere-ports(8)) lead to the same error? I could not reproduce the issue with poudriere-devel-3.3.99.20220831 and a 1400090 jail. (In reply to Graham Perrin from comment #1) This is happening on FreeBSD_12-4-RELEASE amd64 running poudriere-devel-3.3.99.20220831. It is failing the Package phase - it Builds without any problems. Host and Jail are also FreeBSD_12-4-RELEASE amd64. (In reply to Graham Perrin from comment #1) It also fails to package on FreeBSD_13-2x64-RELEASE Poudriere Host and Jail for amd64. =======================<phase: package >============================ ===== env: 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2023-06-12T23:31:25+0000' 'PKG_NOTE_built_by=poudriere-git-3.3.99.20220831' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building package for sssd-1.16.5_9 pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work-default/stage/usr/local/lib/krb5/plugins/authdata/sssd_pac_plugin.so:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work-default/stage/usr/local/libexec/sssd/sssd_pac:No such file or directory *** Error code 1 I'll look into this soon. Please also fix 2023Q3 *** Bug 272453 has been marked as a duplicate of this bug. *** I'm working on the fix. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ae334add4bdb2a871fc604510b1d734ceeb30660 commit ae334add4bdb2a871fc604510b1d734ceeb30660 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-07-13 09:43:49 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-07-13 09:43:49 +0000 security/sssd: Fix pkg-plist and chase krb5 update This patch fixes two issues. The first issue was presence of missing files of the SSSDConfig Python module: PKG-INFO, SOURCES.txt, dependency_links., and top_level.txt. It looks like those files are not installed anymore so let's just remove them from pkg-plist. The other issue was the build system not accepting the new version of secruity/krb5. The fix is to patch sssd's build system to accept the new version. This is how we fixed previous incarnations of this bug in the past. PR: 271939 Reported by: ddrinnon@cdor.net Fixes: 7228a09df016 security/krb5: krb5-121 is now default MFH: 2023Q3 Sponsored by: Klara Inc. security/sssd/Makefile | 2 +- security/sssd/files/patch-src__external__pac_responder.m4 | 5 +++-- security/sssd/pkg-plist | 4 ---- 3 files changed, 4 insertions(+), 7 deletions(-) A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0784000f84c77ccd98ff973f99b26f61460b9c5e commit 0784000f84c77ccd98ff973f99b26f61460b9c5e Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-07-13 09:43:49 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-07-13 11:46:35 +0000 security/sssd: Fix pkg-plist and chase krb5 update This patch fixes two issues. The first issue was presence of missing files of the SSSDConfig Python module: PKG-INFO, SOURCES.txt, dependency_links., and top_level.txt. It looks like those files are not installed anymore so let's just remove them from pkg-plist. The other issue was the build system not accepting the new version of secruity/krb5. The fix is to patch sssd's build system to accept the new version. This is how we fixed previous incarnations of this bug in the past. PR: 271939 Reported by: ddrinnon@cdor.net Fixes: 7228a09df016 security/krb5: krb5-121 is now default MFH: 2023Q3 Sponsored by: Klara Inc. (cherry picked from commit ae334add4bdb2a871fc604510b1d734ceeb30660) security/sssd/Makefile | 2 +- security/sssd/files/patch-src__external__pac_responder.m4 | 5 +++-- security/sssd/pkg-plist | 4 ---- 3 files changed, 4 insertions(+), 7 deletions(-) How could this happened? I even added a comment to security/krb5/Makefile to build security/sssd with SMB=on :-( |