Summary: | [patch] Fix broken build for www/nginx when NJS or IP2PROXY are enabled | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ryan Steinmetz <zi> | ||||
Component: | Individual Port(s) | Assignee: | Jochen Neumeister <joneum> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | joneum, osa, zi | ||||
Priority: | --- | Keywords: | buildisok | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(joneum) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
====> Running Q/A tests (stage-qa) Error: Bad linking on [libedit.so.7] for /usr/local/sbin/njs please add USES=libedit Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/179438683 A commit references this bug: Author: joneum Date: Fri Aug 21 11:35:05 UTC 2020 New revision: 545592 URL: https://svnweb.freebsd.org/changeset/ports/545592 Log: - Fix broken build after NJS update (missing USES+=libedit) - Fix broken build when IP2PROXY is enabled (bad comparison) PR: 248464 Reported by: zi Sponsored by: Netzkommune GmbH Changes: head/www/nginx/Makefile head/www/nginx/Makefile.extmod head/www/nginx/files/extra-patch-ip2proxy Hi there, the change related to libedit looks unclear to me because: - it's possible to build njs module with system /lib/libedit.so.7 on FreeBSD 12.1; - according to the FreeBSD Porters Handbook, we should specify USES=libedit if a port uses the devel/libedit only. Could you give me some lights on this. Thank you. It links against it, poudriere picks this up. Remove the USES line and try to build it in poudriere if you would like additional verification. Hi Ryan, thanks for the update. Is there poudriere logs available to view? Thanks. Sorry, did not save them. |
Created attachment 217001 [details] Build fixes patch - Fix broken build after NJS update (missing USES+=libedit) - Fix broken build when IP2PROXY is enabled (bad comparison) - Bump PORTREVISION