Hi folks, on 12.3-RELEASE I've done: # cd /usr/ports/x11-toolkits/qt5-declarative # make and it stopped with: --- sub-testlib-all --- Project ERROR: Unknown module(s) in QT: qmltest-private *** [sub-testlib-all] Error code 3 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/imports --- sub-folderlistmodel-all --- WARNING: Failure to find: qmlfolderlistmodelplugin_metatypes.json --- sub-settings-all --- WARNING: Failure to find: qmlsettingsplugin_metatypes.json --- sub-labsmodels-all --- WARNING: Failure to find: labsmodelsplugin_metatypes.json --- sub-localstorage-all --- WARNING: Failure to find: qmllocalstorageplugin_metatypes.json --- sub-statemachine-all --- WARNING: Failure to find: qtqmlstatemachine_metatypes.json --- sub-window-all --- WARNING: Failure to find: windowplugin_metatypes.json --- sub-labsanimation-all --- WARNING: Failure to find: labsanimationplugin_metatypes.json --- sub-wavefrontmesh-all --- WARNING: Failure to find: qmlwavefrontmeshplugin_metatypes.json --- sub-layouts-all --- WARNING: Failure to find: qquicklayoutsplugin_metatypes.json --- sub-builtins-all --- *** [sub-builtins-all] Error code 2 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/imports --- sub-sharedimage-all --- WARNING: Failure to find: sharedimageplugin_metatypes.json --- sub-workerscript-all --- *** [sub-workerscript-all] Error code 2 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/imports --- sub-models-all --- *** [sub-models-all] Error code 2 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/imports --- sub-qtqml-all --- *** [sub-qtqml-all] Error code 2 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/imports --- sub-settings-all --- *** [sub-settings-all] Error code 2 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/imports --- sub-folderlistmodel-all --- *** [sub-folderlistmodel-all] Error code 2 and it spit out lots more of that. I suppose something's wrong with that port beyond my humble scope to fix. Hope you can help. Kind regards Frank
pkg delete -f qt5-testlib is the workaround.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9224581a101ea6aa9cfc84002ec344d49b1ee259 commit 9224581a101ea6aa9cfc84002ec344d49b1ee259 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-12-17 12:01:36 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-12-17 12:01:36 +0000 x11-toolkits/qt5-declarative: fix testlib-build-failures Since Qt5 testlib tries to be a build-dependency only when needed, and since we build the QML bits without installing the corresponding test-tools, declarative had the following problem: - without testlib installed, would build fine - with testlib installed, would assume the QML test bits are available, and then fail in the build. This is basically our split-up-packaging without subpackages shooting us in the foot; fix the build by removing one more place where testlib leads to the building-of-tests. (The existing patch files/patch-src_src.pro does something similar) PR: 257102 260433 Reported by: Frank Reisert, Philipp Ost x11-toolkits/qt5-declarative/Makefile | 2 +- .../qt5-declarative/files/patch-src_imports_imports.pro (new) | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-)
A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c2c034e2148bcdb088b0618115efd406ea186ce commit 4c2c034e2148bcdb088b0618115efd406ea186ce Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-12-17 12:01:36 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2021-12-17 13:13:47 +0000 x11-toolkits/qt5-declarative: fix testlib-build-failures Since Qt5 testlib tries to be a build-dependency only when needed, and since we build the QML bits without installing the corresponding test-tools, declarative had the following problem: - without testlib installed, would build fine - with testlib installed, would assume the QML test bits are available, and then fail in the build. This is basically our split-up-packaging without subpackages shooting us in the foot; fix the build by removing one more place where testlib leads to the building-of-tests. (The existing patch files/patch-src_src.pro does something similar) PR: 257102 260433 Reported by: Frank Reisert, Philipp Ost (cherry picked from commit 9224581a101ea6aa9cfc84002ec344d49b1ee259) x11-toolkits/qt5-declarative/Makefile | 2 +- .../qt5-declarative/files/patch-src_imports_imports.pro (new) | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-)