[MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc
MacPorts
noreply at macports.org
Fri May 19 14:48:40 UTC 2017
#54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in
libgui/graphics/GLCanvas.cc
--------------------+--------------------
Reporter: maehne | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: octave
--------------------+--------------------
The qt5 variant of the octave port fails to build due to a compilation
error in {{{libgui/graphics/GLCanvas.cc}}}:
{{{
$ sudo port -v install octave +qt5
[...]
CXX libgui/graphics/libgui_graphics_libgui_graphics_la-Figure.lo
CXX libgui/graphics/libgui_graphics_libgui_graphics_la-
FigureWindow.lo
CXX libgui/graphics/libgui_graphics_libgui_graphics_la-GLCanvas.lo
libgui/graphics/GLCanvas.cc:33:10: fatal error: 'QApplication.h' file not
found
#include <QApplication.h>
^
1 error generated.
make[2]: *** [libgui/graphics/libgui_graphics_libgui_graphics_la-
GLCanvas.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-4.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-4.2.1'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-4.2.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-4.2.1"
&& /usr/bin/make -j2 -w all
Exit code: 2
Error: Failed to build octave: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port octave failed
}}}
The full log file is attached to this ticket.
--
Ticket URL: <https://trac.macports.org/ticket/54200>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list