Summary: | security/acme-client fails to build as a user when libressl is not the default ssl library in poudriere | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Guido Falsi <madpilot> | ||||
Component: | Individual Port(s) | Assignee: | Bernard Spil <brnrd> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | ari, daniel | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(brnrd) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Looks like something in poudriere changed that triggers this. Testing now... (In reply to Bernard Spil from comment #1) > Looks like something in poudriere changed that triggers this. > Testing now... Yes, since version 3.2.0 poudriere has BUILD_AS_NON_ROOT tuned on by default [1] [1] https://github.com/freebsd/poudriere/wiki/release_notes_32 A commit references this bug: Author: brnrd Date: Sat Dec 23 12:38:36 UTC 2017 New revision: 457047 URL: https://svnweb.freebsd.org/changeset/ports/457047 Log: security/acme-client: Unbreak build PR: 223692 Reported by: madpilot@ MFH: 2017Q4 Changes: head/security/acme-client/Makefile |
Created attachment 188032 [details] Quick fix In the latest poudriere version te default is to build ports as a user. acme-client fails with the following error, when SSL_DEFAULT != libressl: ===> Returning to build of acme-client-0.1.16_1 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for acme-client-0.1.16_1 chmod: ./bin/openssl: Operation not permitted chmod: ./bin/nc: Operation not permitted chmod: ./bin/ocspcheck: Operation not permitted *** Error code 1 Stop. make: stopped in /usr/ports/security/acme-client =>> Cleaning up wrkdir Attached patch avoids copying those files, avoiding the error.