Installing devel/qt5-linguisttools fails, if databases/qt5-sql isn't installed
Created attachment 158222 [details] patch to add sql ===> License LGPL21 accepted by the user ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by qt5-linguisttools-5.4.1 for building ===> Extracting for qt5-linguisttools-5.4.1 => SHA256 Checksum OK for KDE/Qt/5.4.1/qttools-opensource-src-5.4.1.tar.xz. ===> Patching for qt5-linguisttools-5.4.1 ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/lib/qt5/bin/moc - found ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/lib/libQt5Core.so - found ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/lib/qt5/bin/qmake - found ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/lib/libQt5Qml.so - found ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/lib/libQt5Xml.so - found ===> qt5-linguisttools-5.4.1 depends on file: /usr/local/bin/ccache - found ===> Configuring for qt5-linguisttools-5.4.1 echo 'CMAKE_MODULE_TESTS = -' > /tmp/storage/ports/svnports/devel/qt5-linguisttools/work/qttools-opensource-src-5.4.1/.qmake.cache Reading /tmp/storage/ports/svnports/devel/qt5-linguisttools/work/qttools-opensource-src-5.4.1/src/src.pro Reading /tmp/storage/ports/svnports/devel/qt5-linguisttools/work/qttools-opensource-src-5.4.1/src/assistant/assistant.pro Reading /tmp/storage/ports/svnports/devel/qt5-linguisttools/work/qttools-opensource-src-5.4.1/src/assistant/clucene/clucene.pro Reading /tmp/storage/ports/svnports/devel/qt5-linguisttools/work/qttools-opensource-src-5.4.1/src/assistant/help/help.pro Project ERROR: Unknown module(s) in QT_PRIVATE: sql *** Error code 3 Stop. make: stopped in /storage/ports/svnports/devel/qt5-linguisttools
This patch should not be necessary, btw. It builds fine without it in poudriere. So I guess this error comes from it picking up stuff from $LOCALBASE when building...
To the reporter: can you please attach a build log with the error you've mentioned?
@Raphael It's the same as posted by Tobias Berner. Unfortunately in my attempts to fix it ... I fixed it by manually installing databases/qt5-sql first. The situation appeared while updating several ports (portmaster -da). portmaster scheduled an install of databases/qt5-sql in a later step (cannot currently say on what it depended), so I tried an make clean && make install in the ports directory which yielded the same result. Looking at the error I decided to manually install databases/qt5-sql and in the next step portmaster could install devel/qt5-linguisttools just fine. It's hard to really step back to the actual point; I can only (if really needed) pkg delete -f databases/qt5-sql first und the try to reinstall devel/qt5-linguisttools if you think this yields any additional information.
A commit references this bug: Author: rakuco Date: Sun Jul 5 20:37:50 UTC 2015 New revision: 391372 URL: https://svnweb.freebsd.org/changeset/ports/391372 Log: Only process the `linguist' subdir when configuring. Use the same patch that is present in other ports like devel/qt5-designer and graphics/qt5-pixeltool to make sure only the directory we want is processed, otherwise there is a risk of missing dependency errors on non-Poudriere builds. PR: 201247 Changes: head/devel/qt5-linguisttools/files/ head/devel/qt5-linguisttools/files/patch-src__src.pro