Bug 228004 - math/octave fails to build in poudriere because it could not find a Qt installation of '4'
Summary: math/octave fails to build in poudriere because it could not find a Qt instal...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-05 21:57 UTC by Robert Cina
Modified: 2018-05-06 00:27 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2018-05-05 21:57:25 UTC
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 !!!
Comment 1 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2018-05-06 00:01:24 UTC
Someone committed a bandaid fix to this bug, but I hope to get a better fix soon.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-05-06 00:24:57 UTC
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
Comment 3 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2018-05-06 00:27:24 UTC
Fixed, thanks.