Bug 225697 - devel/qt5-buildtools fails configure
Summary: devel/qt5-buildtools fails configure
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 22:47 UTC by Mikhail Teterin
Modified: 2018-03-14 21:31 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 2018-02-05 22:47:08 UTC
Not sure, what is wrong, but my attempts to (re)build the port are failing at configure-stage:

# make
===>   qt5-buildtools-5.9.4 depends on package: pkgconf>=1.3.0_1 - found
===>   qt5-buildtools-5.9.4 depends on file: /opt/lib/qt5/bin/qmake - found
===>   qt5-buildtools-5.9.4 depends on package: perl5>=5.26<5.27 - found
===>   qt5-buildtools-5.9.4 depends on file: /opt/bin/ccache - found
===>  Configuring for qt5-buildtools-5.9.4
/bin/mkdir -p /var/ports/devel/qt5-buildtools/work/qtbase-opensource-src-5.9.4
echo 'CMAKE_MODULE_TESTS = -' > /var/ports/devel/qt5-buildtools/work/qtbase-opensource-src-5.9.4/.qmake.cache
echo 'QMAKE_LIBDIR_FLAGS = -L/var/ports/devel/qt5-buildtools/work/qtbase-opensource-src-5.9.4/lib' >> /var/ports/devel/qt5-buildtools/work/qtbase-opensource-src-5.9.4/.qmake.cache
***Unknown option --
Usage: /var/ports/devel/qt5-buildtools/work/qtbase-opensource-src-5.9.4/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
[....]

The only obvious "deviation from norm" on my system is that LOCALBASE (and, consequently, PREFIX) are set to "/opt" rather than "/usr/local".

Please, advise.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2018-02-06 06:07:45 UTC
Hi Mikhail

I don't even get to qt5-buildtools with PREFIX=LOCALBASE:=/opt



mfg Tobias
Comment 2 Mikhail Teterin freebsd_committer freebsd_triage 2018-02-06 14:13:25 UTC
(In reply to Tobias C. Berner from comment #1)
> I don't even get to qt5-buildtools with PREFIX=LOCALBASE:=/opt
At the end of December, when I was setting this new machine up for the first time, I had no problem building the entire KDE and other ports with LOCALBASE set to /opt.

Now I can't upgrade this and that... Something must've rotted in a fairly short time.
Comment 3 Mikhail Teterin freebsd_committer freebsd_triage 2018-03-14 21:31:03 UTC
After forcibly rebuilding qt5-qmake, I was able to build this port...