On Mon Oct 23, 2023 at 08:58:09PM +0200, Theo Buehler wrote: > On Fri, Oct 20, 2023 at 05:46:33PM +0200, Rafael Sadowski wrote: > > Hi ports, Hi bulk builders, > > > > I would like to disable building tests in KDE frameworks applications. > > In a short test in devel/kf, this saves 25% build time. > > > > If someone wants to run the tests, they can simply set the flag to Yes. > > > > I hope that the bulk builds will be significantly faster and we do not > > build that many do not need. > > > > What is your opinion about it? > > It is hard to judge how much is saved by it. My bulk had a few failures > which in turn will have knocked out a few more ports, so the timing > isn't going to tell us anything. > > It's not clear to me if all these failures are actually related ot this > particular diff or consequences fo other qt-related changes recently. > > akonadi-mime > > Error: > /tmp/pobj/akonadi-mime-23.08.0/fake-amd64/usr/local/bin/akonadi_benchmarker > does not exist pkg_create: can't continue > > kimap > > Error: > /tmp/pobj/kimap-23.08.0/fake-amd64/usr/local/include/KPim5/KIMAPTest/kimaptest/fakeserver.h > does not exist > Error: > /tmp/pobj/kimap-23.08.0/fake-amd64/usr/local/include/KPim5/KIMAPTest/kimaptest/mockjob.h > does not exist > Error: > /tmp/pobj/kimap-23.08.0/fake-amd64/usr/local/lib/libkimaptest.a does not exist > > kparts > > Error: > /tmp/pobj/kparts-5.110.0/fake-amd64/usr/local/lib/qt5/plugins/spellcheckplugin.so > does not exist > > libkipi: > > Error: > /tmp/pobj/libkipi-23.08.0/fake-amd64/usr/local/lib/qt5/plugins/kipiplugin_kxmlhelloworld.so > does not exist > Error: > /tmp/pobj/libkipi-23.08.0/fake-amd64/usr/local/share/kservices5/kipiplugin_kxmlhelloworld.desktop > does not exist > Error: > /tmp/pobj/libkipi-23.08.0/fake-amd64/usr/local/share/kxmlgui5/kipi/kipiplugin_kxmlhelloworldui.rc > does not exist > > libqaccessibilityclient > > Error: > /tmp/pobj/libqaccessibilityclient-0.4.1/fake-amd64/usr/local/bin/accessibleapps > does not exist > Error: > /tmp/pobj/libqaccessibilityclient-0.4.1/fake-amd64/usr/local/bin/dumper does > not exist > pkg_create: can't continue
Thanks Theo for the report I had found a few of these as well. I am currently building all devel/kf5 ports but this helps a lot. The errors are the result of the following wrong patterns: if(BUILD_TESTING) add_subdirectory(tests) add_subdirectory(examples) endif() "examples" or other tools like akonadi_benchmarker are in the BUILD_TESTING condition. I will soon come up with a new diff.