Bug 270898 - www/nginx: pkg-plist error
Summary: www/nginx: pkg-plist error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-17 14:05 UTC by Matthew Wener
Modified: 2023-04-17 18:57 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (joneum)


Attachments
nginx-1.24.0,3 Log (89.29 KB, text/plain)
2023-04-17 14:05 UTC, Matthew Wener
no flags Details
untested patch (1.25 KB, patch)
2023-04-17 14:26 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Wener 2023-04-17 14:05:15 UTC
Created attachment 241541 [details]
nginx-1.24.0,3 Log

Getting an error on the latest build. I imagine these need to be removed from the pkg-plist if they are no longer used.

pkg-static: Unable to access file /wrkdirs/usr/ports/www/nginx/work/stage/usr/local/libexec/nginx/ngx_mail_ssl_ct_module.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/nginx/work/stage/usr/local/libexec/nginx/ngx_stream_geoip2_module.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/www/nginx/work/stage/usr/local/libexec/nginx/ngx_stream_ssl_ct_module.so:No such file or directory
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2023-04-17 14:26:10 UTC
Created attachment 241543 [details]
untested patch

Hi,

I've encountered the same error.

I have a patch I'm using locally. I've not performed proper testing on it, but "it works for me" at present.

Attaching it in case maintainer is interested.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2023-04-17 14:27:25 UTC
For more context, looks like in the update some plist substitutions were lost.
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2023-04-17 15:14:48 UTC
(In reply to Guido Falsi from comment #2)

my mistake when adding the plist entries. Commit comes asap
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2023-04-17 16:47:59 UTC
(In reply to Guido Falsi from comment #1)
Your patch work for me too. Thanks.
Comment 5 Raúl 2023-04-17 18:42:58 UTC
(In reply to Guido Falsi from comment #1)
Also works here, thanks!
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-04-17 18:57:10 UTC
A commit in branch main references this bug:

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

commit 58030d180920a74379fe4a0e9008b6c7f66e45da
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2023-04-17 18:55:06 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2023-04-17 18:56:06 +0000

    www/nginx: fix a plist problem

    PR:     270898
    Sponsored by:   Netzkommune GmbH

 www/nginx/pkg-plist | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)