Bug 201247 - devel/qt5-linguisttools missing dependency on databases/qt5-sql
Summary: devel/qt5-linguisttools missing dependency on databases/qt5-sql
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-01 13:14 UTC by ob
Modified: 2015-07-05 20:38 UTC (History)
1 user (show)

See Also:


Attachments
patch to add sql (350 bytes, patch)
2015-07-01 13:25 UTC, Tobias Berner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ob 2015-07-01 13:14:01 UTC
Installing devel/qt5-linguisttools fails, if databases/qt5-sql isn't installed
Comment 1 Tobias Berner 2015-07-01 13:25:09 UTC
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
Comment 2 Tobias Berner 2015-07-01 13:44:13 UTC
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...
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2015-07-02 22:37:06 UTC
To the reporter: can you please attach a build log with the error you've mentioned?
Comment 4 ob 2015-07-03 08:34:59 UTC
@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.
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-07-05 20:37:52 UTC
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