Building math/octave fails to build for me in poudriere because it cannot find a Qt installation of '4'. I have attached the poudriere build log. I believe I have qt4 and qt5 installed. As a pkg info shows: qt4-corelib-4.8.7_12 qt5-core-5.9.4_2 So don't know why I am getting this error. Here is the relevant portion of the build log below: perl ./doc/interpreter/mk-qthelp.pl octave.html doc/interpreter/octave_interpreter && \ qcollectiongenerator -qt4 doc/interpreter/octave_interpreter.qhcp -o doc/interpreter/octave_interpreter.qhc >/dev/null && \ rm -f doc/interpreter/octave_interpreter.qhcp doc/interpreter/octave_interpreter.qhp qcollectiongenerator: could not find a Qt installation of '4' gmake[3]: *** [Makefile:27880: doc/interpreter/octave_interpreter.qhc] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/math/octave/work/octave-4.4.0' gmake[2]: *** [Makefile:26469: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/math/octave/work/octave-4.4.0' gmake[1]: *** [Makefile:10185: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/octave/work/octave-4.4.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/math/octave =>> Cleaning up wrkdir ===> Cleaning for octave-4.4.0 build of math/octave | octave-4.4.0 ended at Sat May 5 17:41:11 EDT 2018 build time: 00:03:44 !!! build failure encountered !!!
Someone committed a bandaid fix to this bug, but I hope to get a better fix soon.
A commit references this bug: Author: stephen Date: Sun May 6 00:24:00 UTC 2018 New revision: 469170 URL: https://svnweb.freebsd.org/changeset/ports/469170 Log: - Fixed error in which -qt4 is passed to QT tools. It should be -qt=qt4. - Set MKINFO in configure_args so that makeinfo works. - Since plist changed, bump portrevision. PR: ports/228004 Submitted by: Robert Cina <transitive@gmail.com> Changes: head/math/octave/Makefile head/math/octave/files/patch-configure head/math/octave/files/patch-libgnu-math.in.h head/math/octave/pkg-plist
Fixed, thanks.