Quantcast

[MacPorts] #53231: QGIS @2_18_2_2 build failure

classic Classic list List threaded Threaded
54 messages Options
123
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by SiggyF):

 Replying to [comment:37 michaelld]:
 > I'm attaching a patch to fix the Qsci cmake issue. QGIS still doesn't
 build for me, even with all of the patches attached or noted here.

 This patch is also relevant for #53668. This same pattern should also be
 used for the qt5 version which is now called `libqscintilla2_qt5.dylib`.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:40>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by fgassert):

 With the patches supplied here by Fabrice and Michael, I am able to get
 the build farther, but am still hitting an error with sip on Sierra
 10.12.3.

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/python/gui/sip_guipart3.cpp:5968:7:
 error: deleted function '~sipQgsFileDownloader' cannot override a non-
 deleted function
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/QGIS/work
 /QGIS-2_18_2/build/python/gui/sip_guipart3.cpp:5968:30:
 error: base class '::QgsFileDownloader' has private destructor
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:41>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 So, I've that PORTFILE that pulls from HEAD and compiles 2.99 fine EXCEPT
 for a missing qgis_python.h file.
 Is anyone conversant with CMAKE to help me find the bug?

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:43>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by michaelld):

 Replying to [comment:43 Veence]:
 > So, I've that PORTFILE that pulls from HEAD and compiles 2.99 fine
 EXCEPT for a missing qgis_python.h file.
 > Is anyone conversant with CMAKE to help me find the bug?

 I do a lot of CMake & maybe can help out. Can you post your Portfile or a
 "git diff" of the port or a tarball of the port?

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:44>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Thanks a bunch! Will do that in a short while. Hold on.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:45>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Ok, sorry. Can you get the Portfile I posted a while ago and try it? What
 outwits me is how the "qgis_python.h" file is generated.
 I see it in a few Cmake text files, but not in a way that would indicate a
 creation. I’m a bit baffled/flummoxed/nonplussed (pick the relevant one).

 Thanks a bunch

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:46>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by michaelld):

 You mean the tarball "QGIS_head.tgz"?

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:47>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------
Changes (by Veence):

 * status:  assigned => accepted


Comment:

 Replying to [comment:47 michaelld]:
 > You mean the tarball "QGIS_head.tgz"?
 Yup.
 You can substitute that one for your regular Portfile and see what
 happens.
 But no wait. I'm going to upload a fresh one with the correct Qscintilla
 library. Hold on.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:48>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------
Changes (by Veence):

 * Attachment "qgis.tgz" added.

 Latest HEAD portfile

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

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Done

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:49>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by michaelld):

 OK; thx. I'll take a look over the weekend.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:50>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Thanks to ''you''! :)

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:51>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by michaelld):

 After some work on your Portfile, I can get the recently released 2.18.5
 to build. I can't get the current GIT master head to build, with the same
 issue as you encountered (no file "qgis_python.h"). I'm really not sure
 why you included the cmake and GitHub PortGroups without really using
 them, so I reenabled using them to simplify the Portfile. I'll look into
 the missing file situation a bit further before porting my updates, just
 in case it's an easy solution.

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:52>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return type ('int') than the function it overrides (which has return type 'QGis::DataType')

MacPorts
In reply to this post by MacPorts
#53231: QGIS @2_18_2_2: error: virtual function 'dataType' has a different return
type ('int') than the function it overrides (which has return type
'QGis::DataType')
-----------------------+----------------------
  Reporter:  gcarlino  |      Owner:  Veence
      Type:  defect    |     Status:  accepted
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  QGIS      |
-----------------------+----------------------

Comment (by Veence):

 Fantastic. Let me know when you're ready, I'll commit your Portfile.
 Thanks a bunch again.

 (The Portfile I gave you was mainly experimental, that’s why I left a lot
 of cruft in it)

--
Ticket URL: <https://trac.macports.org/ticket/53231#comment:53>
MacPorts <https://www.macports.org/>
Ports system for macOS
123
Loading...