Bug 219459

Summary: security/snort: FAILURE: pkg-static: Unable to access file
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Dan Langille <dvl>
Status: Closed FIXED    
Severity: Affects Many People CC: dvl
Priority: --- Flags: bugzilla: maintainer-feedback? (zi)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
prefix some pkg-plist entries with %%APPID%% none

Description O. Hartmann 2017-05-22 16:07:57 UTC
Recent update of port security/snort fails to update and/or install (also building on poudriere seems to fail) due to:


[...]
===>  Installing for snort-2.9.9.0
actual-package-depends: dependency on /usr/lib/libpcap.so not registered (normal if it belongs to base)
===>   Registering installation for snort-2.9.9.0
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/bin/appid_detector_builder.sh:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/include/snort/dynamic_preproc/appId.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/include/snort/dynamic_preproc/appIdApi.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/include/snort/dynamic_preproc/dns_defs.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/include/snort/dynamic_preproc/thirdparty_appid_api.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/include/snort/dynamic_preproc/thirdparty_appid_types.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/lib/snort/dynamic_preproc/libsf_dynamic_utils.a:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/src/snort_dynamicsrc/appId.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/src/snort_dynamicsrc/appIdApi.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/src/snort_dynamicsrc/dns_defs.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/src/snort_dynamicsrc/thirdparty_appid_api.h:No such file or directory
pkg-static: Unable to access file /usr/ports/security/snort/work/stage/usr/local/src/snort_dynamicsrc/thirdparty_appid_types.h:No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/security/snort
Comment 1 Dan Langille freebsd_committer 2017-05-22 16:51:39 UTC
Created attachment 182810 [details]
prefix some pkg-plist entries with %%APPID%%

This fixed it for me, I will commit if it fixes it for you.
Comment 2 Dan Langille freebsd_committer 2017-05-22 18:03:39 UTC
I have committed that patch.
Comment 3 commit-hook freebsd_committer 2017-05-22 18:03:43 UTC
A commit references this bug:

Author: dvl
Date: Mon May 22 18:03:05 UTC 2017
New revision: 441484
URL: https://svnweb.freebsd.org/changeset/ports/441484

Log:
  Fix broken build related to missing %%APPID%% prefixes in pkg-plist
  bump PORTREVISION

  PR:		219459

Changes:
  head/security/snort/Makefile
  head/security/snort/pkg-plist
Comment 4 Dan Langille freebsd_committer 2017-12-05 20:29:21 UTC
Closing after long delay with no confirmation from OP.