Bug 258898 - security/sssd: Fails to package: pkg-static: Unable to access file /.../python3.7/site-packages/*.so:No such file or directory
Summary: security/sssd: Fails to package: pkg-static: Unable to access file /.../pytho...
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: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-03 22:09 UTC by rainer
Modified: 2022-02-22 23:19 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (lukas.slebodnik)
koobs: merge-quarterly+


Attachments
patch (1.25 KB, patch)
2021-10-09 16:20 UTC, Tijl Coosemans
tijl: maintainer-approval? (lukas.slebodnik)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2021-10-03 22:09:11 UTC
===> Staging rc.d startup script(s)
===========================================================================
=======================<phase: package        >============================
===>  Building package for sssd-1.16.5_3
pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work/stage/usr/local/lib/python3.7/site-packages/pyhbac.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work/stage/usr/local/lib/python3.7/site-packages/pysss.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work/stage/usr/local/lib/python3.7/site-packages/pysss_murmur.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work/stage/usr/local/lib/python3.7/site-packages/pysss_nss_idmap.so:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/security/sssd
=>> Cleaning up wrkdir
===>  Cleaning for sssd-1.16.5_3
build of security/sssd | sssd-1.16.5_3 ended at Sun Oct  3 18:36:06 CEST 2021
build time: 00:23:00
!!! build failure encountered !!!


This is from 2021Q4 ports-tree.

---Begin OPTIONS List---
===> The following configuration options are available for sssd-1.16.5_3:
     DOCS=on: Build and/or install documentation
     SMB=on: Install IPA and AD providers (requires Samba4)
===> Use 'make config' to modify these settings
---End OPTIONS List---
Comment 1 amendlik 2021-10-09 04:29:35 UTC
This seems to have been caused by the latest change to this port: https://cgit.freebsd.org/ports/commit/?id=5945f7dd94e4a347f4ae3b32cf17222c988674ad
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2021-10-09 16:20:35 UTC
Created attachment 228545 [details]
patch

Please try the attached patch.
Comment 3 rainer 2021-10-09 22:07:39 UTC
Builds in poudriere now - thanks!
Comment 4 Karli Sjöberg 2021-10-20 19:22:29 UTC
Patch worked for me as well! When is it going to get merged?
Comment 5 amendlik 2021-10-20 21:10:25 UTC
The patch works for me too.
Comment 6 commit-hook freebsd_committer freebsd_triage 2021-10-24 16:44:45 UTC
A commit in branch main references this bug:

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

commit b07a361a29711f26c51b24b433662baa37648194
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2021-10-09 13:16:12 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2021-10-24 16:44:21 +0000

    security/sssd: Fix installation with automake 1.16.4

    Patch the configure script so it evaluates a variable that uses
    PYTHON_PREFIX (since automake 1.16.4) before PYTHON_PREFIX is unset.

    PR:             258898
    Approved by:    maintainer timeout (2 weeks)

 security/sssd/files/patch-configure.ac | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
Comment 7 rainer 2021-10-27 07:15:26 UTC
Can this be merged back into 2021Q4?
Comment 8 commit-hook freebsd_committer freebsd_triage 2021-10-27 19:26:54 UTC
A commit in branch 2021Q4 references this bug:

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

commit 78b01411ebc078d12fc4fa01db49d00f7e36a526
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2021-10-09 13:16:12 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2021-10-27 19:26:27 +0000

    security/sssd: Fix installation with automake 1.16.4

    Patch the configure script so it evaluates a variable that uses
    PYTHON_PREFIX (since automake 1.16.4) before PYTHON_PREFIX is unset.

    PR:             258898
    Approved by:    maintainer timeout (2 weeks)

    (cherry picked from commit b07a361a29711f26c51b24b433662baa37648194)

 security/sssd/files/patch-configure.ac | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)