Created attachment 192766 [details] patch pkg_replace-20180424 ports-mgmt/pkg_replace update to 20180424 -Cleanup code. -Speed up and strictly check package's dependencies.
Can you pet `portlint -AC`?
Created attachment 192784 [details] patch pkg_replace-20180424 (portlint error fix) I created a new patch for portlint error fix.
`make clean package` fails. Could you also test it? ====> Running Q/A tests (stage-qa) ===> Building package for pkg_replace-20180424 pkg-static: Plist error, directory listed as a file: Probably "@sample etc/${PORTNAME}/pkg_replace.conf.sample" in PLIST_FILES causing that. Please consider using pkg-plist instead of PLIST_FILES. You can use %%ETCDIR%% in pkg-plist file. See also porter's handbook, 3.2.2. pkg-plist: https://www.freebsd.org/doc/en/books/porters-handbook/porting-desc.html
Created attachment 192944 [details] patch pkg_replace-20180424 (add pkg-plist) I created a new patch.
A commit references this bug: Author: meta Date: Sun May 6 10:15:04 UTC 2018 New revision: 469188 URL: https://svnweb.freebsd.org/changeset/ports/469188 Log: ports-mgmt/pkg_replace: Update to 20180424 - Cleanup code - Speed up and strictly check package's dependencies - While here, pet portlint by using pkg-plist instead of PLIST_FILES PR: 227730 Submitted by: kdeguchi@sz.tokoha-u.ac.jp (maintainer) Approved by: pi (mentor) Changes: head/ports-mgmt/pkg_replace/Makefile head/ports-mgmt/pkg_replace/distinfo head/ports-mgmt/pkg_replace/pkg-plist
Sorry for the delay. Committed, thanks!
danfe: Please note that one of the earlier versions of the patch caused this: Something very surprising happens, if I build in poudriere: cur [00:00:15] Error: Build failed in phase: package 111 [00:00:15] Error: Build failed in phase: package 104i [00:00:13] Error: Build failed in phase: package All the builds fail with: ===> Building package for pkg_replace-20180424 Child process pid=83138 terminated abnormally: Bus error *** Error code 1
(In reply to Kurt Jaeger from comment #7) attachment 192784 [details] caused a packaging error because @sample keyword requires an argument (see /usr/ports/Keywords/sample.ucl). When double quotes were removed @sample ended up on a separate line in ${TMPPLIST} as if no argument was specified while the sample file was treated as regular file.
Also, etc/${PORTNAME} is ${ETCDIR_REL}
(In reply to Jan Beich from comment #8) Does that explain the bus error ?
See https://github.com/freebsd/pkg/issues/1680 for some details about the pkg(8) bus error issue.