[MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
#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
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
#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:
Resolution:          |   Keywords:
      Port:  octave  |
---------------------+-----------------
Changes (by maehne):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/54200>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
In reply to this post by MacPorts
#54200: octave  @4.2.1_1 +qt5: fails to build due to compilation error in
libgui/graphics/GLCanvas.cc
---------------------+---------------------------------
  Reporter:  maehne  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  octave  |
---------------------+---------------------------------
Changes (by mf2k):

 * cc: MarcusCalhoun-Lopez (removed)
 * owner:   => MarcusCalhoun-Lopez
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/54200#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
In reply to this post by MacPorts
#54200: octave  @4.2.1_1 +qt5: fails to build due to compilation error in
libgui/graphics/GLCanvas.cc
---------------------+---------------------------------
  Reporter:  maehne  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  octave  |
---------------------+---------------------------------

Comment (by MarcusCalhoun-Lopez):

 I can not reproduce this problem.[[BR]]
 By any chance, are you using a case-sensitive file system?

--
Ticket URL: <https://trac.macports.org/ticket/54200#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
In reply to this post by MacPorts
#54200: octave  @4.2.1_1 +qt5: fails to build due to compilation error in
libgui/graphics/GLCanvas.cc
---------------------+---------------------------------
  Reporter:  maehne  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  octave  |
---------------------+---------------------------------

Comment (by maehne):

 Yes, I do use a case-sensitive HFS+ file system on my MacBook Air running
 OS X El Capitan Version 10.11.6 (15G1510).

--
Ticket URL: <https://trac.macports.org/ticket/54200#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
In reply to this post by MacPorts
#54200: octave  @4.2.1_1 +qt5: fails to build due to compilation error in
libgui/graphics/GLCanvas.cc
---------------------+---------------------------------
  Reporter:  maehne  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  octave  |
---------------------+---------------------------------
Changes (by MarcusCalhoun-Lopez):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"77e4aee43d15dacd897cd8285bf6198b5786f159/macports-ports"
 77e4aee43d15dacd897cd8285bf6198b5786f159/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="77e4aee43d15dacd897cd8285bf6198b5786f159"
 octave: fix patch for case-sensitive file systems

 No revbump because port either builds correctly or not at all.
 Fixes https://trac.macports.org/ticket/54200
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54200#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #54200: octave @4.2.1_1 +qt5: fails to build due to compilation error in libgui/graphics/GLCanvas.cc

MacPorts
In reply to this post by MacPorts
#54200: octave  @4.2.1_1 +qt5: fails to build due to compilation error in
libgui/graphics/GLCanvas.cc
---------------------+---------------------------------
  Reporter:  maehne  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  octave  |
---------------------+---------------------------------

Comment (by maehne):

 Thanks a lot for the fix! The qt5 variant of octave builds now fine on my
 machine!

--
Ticket URL: <https://trac.macports.org/ticket/54200#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS