[MacPorts] #47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ---------------------------------------------+----------------------------- Reporter: vaccari@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: postgis2 snow leopard Xcode 4.2 | Version: 2.3.3 | Port: postgis2 ---------------------------------------------+----------------------------- Installation fails in this configuration: Mac OS X 10.6.8[[BR]] Xcode 4.2 for Snow Leopard The problem is that with Xcode 4.2 for Snow Leopard the compilers in /usr/bin are /usr/bin/gcc[[BR]] /usr/bin/i686-apple-darwin10-llvm-gcc-4.2[[BR]] /usr/bin/llvm-gcc[[BR]] /usr/bin/llvm-gcc-4.2 while the installer is looking for /usr/bin/gcc-4.2. I attach the main.log file -- Ticket URL: <https://trac.macports.org/ticket/47331> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+--------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: postgis2 | ------------------------+--------------------- Changes (by mf2k@…): * keywords: postgis2 snow leopard Xcode 4.2 => * owner: macports-tickets@… => vince@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers postgis2}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Changes (by mf2k@…): * keywords: => snowleopard -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vince@…): Argh. Snow Leopard. Did you manage to find a workaround since, or is this still relevant? -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vaccari@…): Eh, it actually should be nice if this could be solved. I have some Xserves and managed clients still working perfectly that cannot be updated to newer OS… Of course, I don’t know how hard a fix would be, and I agree we are speaking of dinosaurs here… Thanks for looking into it anyway Franco -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vaccari@…): Just adding here that of all the many packages that I have installed on my Yosemite laptop *and* on the Snow Leopard server and clients, this is the only one that fails on SL, and that's why I'm still hoping that it can be solved... -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vince@…): Well, talk about serendipity. I still have an old i386-MacMini running SL. Going to dig into this using it. -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vince@…): I cannot reproduce your bug: {{{ uname -a Darwin vieuxmacmini.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 sudo port -v install postgis2 +postgresql94 ---> Computing dependencies for postgis2. ---> Fetching archive for postgis2 ---> postgis2-2.1.7_0+postgresql94+raster+topology.darwin_10.i386.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch postgis2-2.1.7_0+postgresql94+raster+topology.darwin_10.i386.tbz2 from http://lil.fr.packages.macports.org/postgis2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch postgis2-2.1.7_0+postgresql94+raster+topology.darwin_10.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/postgis2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 315 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch postgis2-2.1.7_0+postgresql94+raster+topology.darwin_10.i386.tbz2 from http://nue.de.packages.macports.org/macports/packages/postgis2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Fetching distfiles for postgis2 ---> postgis-2.1.7.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/postgis2 ---> Attempting to fetch postgis-2.1.7.tar.gz from http://lil.fr.distfiles.macports.org/postgis2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6644k 100 6644k 0 0 4411k 0 0:00:01 0:00:01 --:--:-- 4438k ---> Verifying checksums for postgis2 ---> Checksumming postgis-2.1.7.tar.gz ---> Extracting postgis2 ---> Extracting postgis-2.1.7.tar.gz ---> Configuring postgis2 checking build system type... i386-apple-darwin10.8.0 checking host system type... i386-apple-darwin10.8.0 checking how to print strings... printf checking for gcc... /usr/bin/llvm-gcc-4.2 checking whether the C compiler works... yes […] make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.1.7/extensions' make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.1.7' ---> Patching liblwgeom.la: /dependency_libs/ s/'.*'/''/ ---> Installing postgis2 @2.1.7_0+postgresql94+raster+topology }}} -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by larryv@…): Replying to [comment:8 vince@…]:
I cannot reproduce your bug:
What version of Xcode does your machine have? OP has Xcode 4.2, which lacks GCC 4.2. -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vince@…): I have Xcode 4.2 build 4C199 installed on this machine. -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Comment (by vaccari@…): Replying to [comment:10 vince@…]:
I have Xcode 4.2 build 4C199 installed on this machine.
It is the same exact version I have and, insert your preferred embarrassment expression here, unlike the last time I've tried, it now builds flawlessly also on my servers and clients. So I confirm the case can be closed, and thank you again for investigating! -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#47331: postgis2 failure: /usr/bin/gcc-4.2: No such file or directory ------------------------+------------------------- Reporter: vaccari@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: snowleopard Port: postgis2 | ------------------------+------------------------- Changes (by vince@…): * status: new => closed * resolution: => fixed Comment: Ammazza! Perfetto. Un problema di meno da risolvere! Have a great day! -- Ticket URL: <https://trac.macports.org/ticket/47331#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts