Created attachment 212828 [details] appends xmllint as a build dependency kf5-breeze-icons fails in the *configuration* stage if `xmllint` does not come as a dependency: ``` CMake Error at icons/CMakeLists.txt:20 (add_dependencies): Cannot add target-level dependencies to non-existent target "breeze-validate-svg". ``` The required target 'breeze-validate-svg' will only be defined if both `sh` and `xmllint` were found: ``` find_program(SH_EXE sh) find_program(XMLLINT_EXE xmllint) if(SH_EXE AND XMLLINT_EXE) [...] add_custom_target(breeze-validate-svg ALL ``` The attached patch appends `xmllint` into `BUILD_DEPENDS`.
Moin moin How are you building your ports? mfg Tobias
I'm running the build within a poudriere: One has to first uncheck some xml related options of the port dependencies.I didn't checked out which one exactly. $ poudriere testport -j test -o x11-themes/kf5-breeze-icon -- Performing Test HAVE_DATE_TIME - Success CMake Error at icons/CMakeLists.txt:20 (add_dependencies): Cannot add target-level dependencies to non-existent target "breeze-validate-svg". The add_dependencies works for top-level logical targets created by the add_executable, add_library, or add_custom_target commands. If you want to add file-level dependencies see the DEPENDS option of the add_custom_target and add_custom_command commands. CMake Error at icons-dark/CMakeLists.txt:20 (add_dependencies): Cannot add target-level dependencies to non-existent target "breeze-validate-svg". The add_dependencies works for top-level logical targets created by the add_executable, add_library, or add_custom_target commands. If you want to add file-level dependencies see the DEPENDS option of the add_custom_target and add_custom_command commands. The issue was reported on a french irc channel, where a user hit this by calling a regular poudriere bulk.
Should be fixed now.
A commit references this bug: Author: tcberner Date: Sun Mar 29 15:03:00 UTC 2020 New revision: 529805 URL: https://svnweb.freebsd.org/changeset/ports/529805 Log: x11-themes/kf5-breeze-icons: fix cmake with respect to optional xmllint PR: 245162 Reported by: David Marec <david@lapinbilly.eu> Changes: head/x11-themes/kf5-breeze-icons/files/ head/x11-themes/kf5-breeze-icons/files/patch-D28407