Bug 227201 - security/sssd doesn't build in 2018Q2
Summary: security/sssd doesn't build in 2018Q2
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2018-04-02 12:28 UTC by rainer
Modified: 2018-09-02 21:18 UTC (History)
3 users (show)

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


Attachments
poudriere build log (38.93 KB, application/x-bzip2)
2018-04-02 12:29 UTC, rainer
no flags Details
Patch removes PAC responder (537 bytes, patch)
2018-05-03 12:05 UTC, Rick
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2018-04-02 12:28:09 UTC
Hi,

it fails at packaging.

===========================================================================
=======================<phase: package        >============================
===>  Building package for sssd-1.11.7_11
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




See attached build-log
Comment 1 rainer 2018-04-02 12:29:41 UTC
Created attachment 192104 [details]
poudriere build log
Comment 2 rainer 2018-04-02 12:30:14 UTC
attachment is bz2 compressed due to size restrictions
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2018-04-02 12:36:05 UTC
Correctly name port and notify maintainer

CC last committer (ports r462684)
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-04-02 15:57:00 UTC
see also #204827.
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-04-02 15:57:32 UTC
see also Bug #204827.
Comment 6 Rick 2018-04-17 16:46:01 UTC
I have also experienced this failure. Build occurs on stable/11 in 11.1-RELEASE-p9 jail. Error from build log:

===========================================================================
=======================<phase: package        >============================
===>  Building package for sssd-1.11.7_11
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.11.7_11
build of security/sssd | sssd-1.11.7_11 ended at Tue Apr 17 14:50:17 EDT 2018
build time: 00:04:25
!!! build failure encountered !!!
Comment 7 Rick 2018-05-03 12:05:12 UTC
Created attachment 193020 [details]
Patch removes PAC responder

Poudriere builds of this port appear to fail because the plist contains entries for the PAC responder. Review of the SSSD build documentation exposes the existence of "--enable-pac-responder" in the configure script implying that PAC is not enabled by default, which would explain the error.

A patch to Makefile updating CONFIGURE_ARGS to include "--enable-pac-responder" failed to result in a built package, but the opposite worked. This patch removes the presumably disabled PAC responder from the plist allowing Poudriere to build a package thus resolving the error.
Comment 8 rainer 2018-05-03 17:43:36 UTC
Thank you!

I'll try it later.
Comment 9 rainer 2018-05-13 00:05:40 UTC
Hi,

this somehow does not apply to my 2018Q2.

However, if I manually remove the lines, it does build.
Comment 10 rainer 2018-07-07 21:25:05 UTC
I think the sssd port was updated a while ago to recognize newer krb-versions - or something to this effect.

So, this can probably be closed.

https://svnweb.freebsd.org/ports?view=revision&revision=472753