[MacPorts] #40380: qgis build fails (10.7.4)
#40380: qgis build fails (10.7.4) -------------------------------+-------------------------------- Reporter: Eric.J.Fielding@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: qgis | Port: -------------------------------+-------------------------------- I was running "port upgrade outdated", and it found broken files and ports. It decided to rebuild qgis: ---> Found 43 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order qgis @1.8.0 +postgis2+postgresql91+python27 py27-matplotlib-basemap @1.0.6 It tried twice, but it failed both times. I attach the main.log file -- Ticket URL: <https://trac.macports.org/ticket/40380> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qgis | --------------------------------+--------------------- Changes (by ryandesign@…): * keywords: qgis => * owner: macports-tickets@… => vince@… * port: => qgis Old description:
I was running "port upgrade outdated", and it found broken files and ports. It decided to rebuild qgis: ---> Found 43 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order qgis @1.8.0 +postgis2+postgresql91+python27 py27-matplotlib-basemap @1.0.6
It tried twice, but it failed both times. I attach the main.log file
New description: I was running "`port upgrade outdated`", and it found broken files and ports. It decided to rebuild qgis: {{{ ---> Found 43 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order qgis @1.8.0 +postgis2+postgresql91+python27 py27-matplotlib-basemap @1.0.6 }}} It tried twice, but it failed both times. I attach the main.log file -- Comment: The first error I see in the log is: {{{ :info:build [ 70%] [ 70%] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-1.8.0/build/python/core/sipcorepart2.cpp:33967:30: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' :info:build QgsMapLayerRegistry::connectNotify(a0); :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-1.8.0/python/../src/core/qgsmaplayerregistry.h:176:10: note: declared private here :info:build void connectNotify( const char * signal ); :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qgis | --------------------------------+--------------------- Comment (by vince@…): Yes, I know something was wrong, because I stumbled on the same error, but thought it has to do with my own installation. I don’t understand what caused the compilation to suddenly fail, since the reported error is not tied in any way to some extern library. Strange. I’ll dive into it and try to fix it ASAP. -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qgis | --------------------------------+--------------------- Comment (by vince@…): Should be fixed in r110754. Please try again. -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: qgis | --------------------------------+--------------------- Comment (by Eric.J.Fielding@…): Replying to [comment:3 vince@…]:
Should be fixed in r110754. Please try again.
Great! It works now for me. -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: qgis | --------------------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => fixed Comment: Excellent. Enjoy! -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: qgis | --------------------------------+--------------------- Comment (by denis.rouzaud@…): This error can be avoided by using SIP 4.14.6. Versions 4.14.7 and 4.15.1 produce this error. See http://www.qgis.org/api/INSTALL.html at the SIP section. -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40380: qgis @1.8.0: error: 'connectNotify' is a private member of 'QgsMapLayerRegistry' --------------------------------+--------------------- Reporter: Eric.J.Fielding@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: qgis | --------------------------------+--------------------- Comment (by vince@…): Sorry I did not see this thread before. I am going to commit a fix with the new QGis 2.0 very soon. -- Ticket URL: <https://trac.macports.org/ticket/40380#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts