Snip: pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/doc/ECM/html/search.html:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/doc/ECM/html/searchindex.js:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/doc/ECM/html/toolchain/Android.html:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/man/man7/ecm-developer.7.gz:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/man/man7/ecm-find-modules.7.gz:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/man/man7/ecm-kde-modules.7.gz:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/man/man7/ecm-modules.7.gz:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/man/man7/ecm-toolchains.7.gz:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/devel/kf6-extra-cmake-modules/work/stage/usr/local/share/man/man7/ecm.7.gz:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/devel/kf6-extra-cmake-modules Looks like we need conditionals in plist.
Created attachment 248177 [details] poudriere packaging failure log
Created attachment 248178 [details] v0 Moved: * share/man/... to %%MANPAGES%% * share/doc/... to %%DOCS%% Unsure what files are being generated by HELP option though, this is why patch is ugly.
Created attachment 248179 [details] poudriere build log with patch applied With patch from file #248178 and all options still disabled, packaging succeeds. Additionally, I noticed couple of warnings: ====> Running Q/A tests (stage-qa) Warning: you might not need LIB_DEPENDS on libQt6Core.so ===> Registering installation for kf6-extra-cmake-modules-5.248.0_1 pkg-static: DEVELOPER_MODE: Notice: arch "FreeBSD:13:amd64" -- no architecture specific files found: **** could this package use a wildcard architecture?
Created attachment 249350 [details] v1 (apply via `git am`) I was bored and thought -- why not fix it myself? So, here's updated patch with lots of issues fixed (I'm not sure if this everything, but at least no linters complain now). Adriaan, your prompt attention to committing this patch would be highly valued.
Created attachment 249351 [details] poudriere testport log (all options ON)
Created attachment 249352 [details] poudriere testport log (all options OFF)
Created attachment 249373 [details] v2 (apply via `git am`) Removed USE_QT=base, it's not needed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ae57550eff8ceec265401f37a1fa738d0b73bc1 commit 4ae57550eff8ceec265401f37a1fa738d0b73bc1 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-03-22 20:17:51 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-03-22 20:19:26 +0000 devel/kf6-extra-cmake-modules: Multiple fixes - Add LICENSE - Fix packaging with different OPTIONS - Add testing PR: 276821 Based on patch from: Anton Saietskii <vsasjason@gmail.com> devel/kf6-extra-cmake-modules/Makefile | 29 +++-- devel/kf6-extra-cmake-modules/pkg-plist | 208 ++------------------------------ 2 files changed, 26 insertions(+), 211 deletions(-)
Hi Anton, thanks for the patch. I fixed these issues on my own and a bit differently, but your patch was nevertheless useful and I mined a lot of knowledge from it.
*** Bug 275595 has been marked as a duplicate of this bug. ***