Bug 254916

Summary: security/sssd: fails to package (again)
Product: Ports & Packages Reporter: rainer
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Some People CC: fernape, lukas.slebodnik
Priority: --- Flags: fernape: maintainer-feedback+
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Proposed patch fernape: maintainer-approval?

Description rainer 2021-04-09 12:53:18 UTC
This might be similar problem as in 244778:

=>> Building security/sssd
build started at Fri Apr  9 14:33:34 CEST 2021
port directory: /usr/ports/security/sssd
package name: sssd-1.16.5_1
building for: FreeBSD 12_2-amd64-2021Q2-unified-job-03 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 amd64
maintained by: lukas.slebodnik@intrak.sk
Makefile ident: 
Poudriere version: 3.3.6
Host OSVERSION: 1202000
Jail OSVERSION: 1202000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p6
UNAME_r=12.2-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.6
MASTERMNT=/usr/local/poudriere/data/.m/12_2-amd64-2021Q2-unified/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/usr/local/poudriere/data/.m/12_2-amd64-2021Q2-unified/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=12_2-amd64-2021Q2-unified
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/12_2-amd64-2021Q2-unified/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for sssd-1.16.5_1:
     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---



....

===========================================================================
=======================<phase: package        >============================
===>  Building package for sssd-1.16.5_1
pkg-static: Unable to access file /wrkdirs/usr/ports/security/sssd/work/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/stage/usr/local/libexec/sssd/sssd_pac: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_1
build of security/sssd | sssd-1.16.5_1 ended at Fri Apr  9 14:45:05 CEST 2021
build time: 00:11:31
!!! build failure encountered !!!
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2021-04-15 09:46:17 UTC
This is most likely the same breakage that happened in bug #244778
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2021-04-15 11:08:18 UTC
Created attachment 224131 [details]
Proposed patch

Would you mind trying this patch?

It builds fine for me with and without SMB=ON

Cheers!
Comment 3 rainer 2021-04-15 20:27:13 UTC
Thanks.
I will try tomorrow.
Comment 4 rainer 2021-04-16 13:24:09 UTC
You are right, it build this way.

Thanks a lot.