[MacPorts] #40334: gdal 1.10.1 build fails on Snow Leopard due to known upstream issue
#40334: gdal 1.10.1 build fails on Snow Leopard due to known upstream issue --------------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: upstream bug | Port: gdal --------------------------+-------------------------------- [http://trac.osgeo.org/gdal/ticket/5197]. discusses changes in the definition (or not) of {{{TARGET_OS_IPHONE}}} by Apple in {{{TargetConditionals.h}}} as used in {{{port/cpl_spawn.cpp}}}. A workaround for Snow Leopard with Xcode 3.2 is to run the configure step, edit {{{port/cpl_spawn.cpp}}}, and then build. -- Ticket URL: <https://trac.macports.org/ticket/40334> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1 build fails on Snow Leopard due to known upstream issue -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gdal | -----------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: upstream bug => -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1 build fails on Snow Leopard due to known upstream issue -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gdal | -----------------------+-------------------------------- Comment (by Eric.J.Fielding@…): Fails on 10.7.4 also. Seems to be the same reason: :info:build Undefined symbols for architecture x86_64: :info:build "_environ", referenced from: :info:build _CPLSpawnAsync in cpl_spawn.o :info:build ld: symbol(s) not found for architecture x86_64 -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1 build fails on Snow Leopard due to known upstream issue -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gdal | -----------------------+-------------------------------- Comment (by calvin@…): Same problem for me. -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1 build fails on Snow Leopard due to known upstream issue -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gdal | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@…, jorgos.castello@… (added) Comment: Has duplicate #40431. Upstream has applied [http://trac.osgeo.org/gdal/changeset/26424 a fix] to their code. We should try adding this to the port. -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1: Undefined symbols: _environ -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gdal | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: calvin@… (added) -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1: Undefined symbols: _environ -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gdal | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: mdekauwe@… (added) Comment: Has duplicate #40452. -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1: Undefined symbols: _environ -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gdal | -----------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r110974 -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1: Undefined symbols: _environ -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gdal | -----------------------+-------------------------------- Comment (by mdekauwe@…): Replying to [comment:9 ryandesign@…]:
r110974
how do we apply this fix? Or is it awaiting some kind of confirmation? I tried to reinstall GDAL and it was still failing for me. Thanks -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40334: gdal 1.10.1: Undefined symbols: _environ -----------------------+-------------------------------- Reporter: gnwiii@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gdal | -----------------------+-------------------------------- Comment (by ryandesign@…): As always, wait 30 minutes after the commit, then run "sudo port selfupdate". -- Ticket URL: <https://trac.macports.org/ticket/40334#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts