[MacPorts] #21336: Add a gcc44 variant to gsl
#21336: Add a gcc44 variant to gsl ---------------------------------+------------------------------------------ Reporter: luis.beca@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: gsl ---------------------------------+------------------------------------------ Please add a gcc44 variant to gsl. -- Ticket URL: <http://trac.macports.org/ticket/21336> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ---------------------------------+------------------------------------------ Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: gsl ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => jochen@… * version: 1.8.0 => * type: request => enhancement -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Changes (by jochen@…): * status: new => closed * resolution: => fixed Comment: Done in r57589 (untested and unsupported) -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Comment(by luis.beca@…): Replying to [comment:2 jochen@…]:
Done in r57589 (untested and unsupported) Doesn't build on Snow Leopard:
{{{ $ sudo port -vu install gsl +gcc44 ---> Computing dependencies for gsl. ---> Fetching gsl ---> gsl-1.13.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/gsl ---> Attempting to fetch gsl-1.13.tar.gz from http://distfiles.macports.org/gsl % 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 gsl-1.13.tar.gz from http://mirrors.kernel.org/gnu/gsl % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2943k 100 2943k 0 0 210k 0 0:00:13 0:00:13 --:--:-- 194k ---> Verifying checksum(s) for gsl ---> Checksumming gsl-1.13.tar.gz ---> Extracting gsl ---> Extracting gsl-1.13.tar.gz ---> Configuring gsl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets $(MAKE)... (cached) yes checking build system type... i386-apple-darwin10.0.0 checking host system type... i386-apple-darwin10.0.0 checking for gcc... ccache gcc-mp-4.4 checking for C compiler default output file name... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gsl/work/gsl-1.13': configure: error: C compiler cannot create executables See `config.log' for more details. Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gsl/work/gsl-1.13" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info " returned error 77 Command output: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets $(MAKE)... (cached) yes checking build system type... i386-apple-darwin10.0.0 checking host system type... i386-apple-darwin10.0.0 checking for gcc... ccache gcc-mp-4.4 checking for C compiler default output file name... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gsl/work/gsl-1.13': configure: error: C compiler cannot create executables See `config.log' for more details. Warning: the following items did not execute (for gsl): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Comment(by jwhowse4@…): I get the same error on an Intel Mac running Leopard 10.5.8 with Xcode 3.1.3 when trying to compile with MacPorts compiler gcc 4.3.4. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Comment(by jochen@…): As I said before, this is untested and unsupported:
Done in r57589 (untested and unsupported)
Please provide a patch to make it work, I will happily apply it. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Comment(by jwhowse4@…): I am trying to compile with gcc43 not gcc44 and I am still getting this failure. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Comment(by jochen@…): So what's the relevant part of config.log? -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gsl | ----------------------------------+----------------------------------------- Comment(by jwhowse4@…): Here what happens. When I run an install I get the following error. {{{ port -v install gsl +gcc43 +doc Error: gsl: Variant gcc43 conflicts with gcc43 Error: Unable to open port: Error evaluating variants }}} This is just because the Portfile says that gcc43 conflicts with gcc43. I believe this should read gcc43 conflicts with gcc44. Making this change to the Portfile and trying the install again gives the following error. {{{ port -v install gsl +gcc43 +doc ---> Computing dependencies for gsl. ---> Fetching gsl ---> Verifying checksum(s) for gsl ---> Checksumming gsl-1.13.tar.gz ---> Extracting gsl ---> Extracting gsl-1.13.tar.gz ---> Configuring gsl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/macports/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make sets $(MAKE)... (cached) yes checking build system type... i386-apple-darwin9.8.0 checking host system type... i386-apple-darwin9.8.0 checking for gcc... gcc-mp-4.3 checking for C compiler default output file name... configure: error: in `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_math_gsl/work/gsl-1.13': configure: error: C compiler cannot create executables See `config.log' for more details. }}} This looks to me like the same error the gentlemen above obtained when trying to compile using gcc44. I will also attach my config.log file. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: -arch gsl gcc43 gcc44 Port: gsl | ----------------------------------+----------------------------------------- Changes (by jochen@…): * cc: macports-dev (added) * keywords: => -arch gsl gcc43 gcc44 * version: => 1.8.0 Comment: So the problem is that MacPorts since version 1.8 apparently automagically adds {{{ -arch x86_64 }}} to the cflags and the MacPorts GCCs don't understand that... I'll see how to disable it, but any feedback is welcome. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: -arch gsl gcc43 gcc44 Port: gsl | ----------------------------------+----------------------------------------- Comment(by jochen@…): Well, this might take a while, as I can not compile gcc43 nor gcc44 on Snow Leopard (which is all I have), see Ticket #20816. If you can figure out how to remove the "-arch ..." statements from configure.cflags and friends, I'll implement it. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21336: Add a gcc44 variant to gsl ----------------------------------+----------------------------------------- Reporter: luis.beca@… | Owner: jochen@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: -arch gsl gcc43 gcc44 Port: gsl | ----------------------------------+----------------------------------------- Comment(by jwhowse4@…): Attached is a Portfile that worked for me. I am using an Intel Mac running Leopard 10.5.8 and compiling with the Macports GCC 4.3.4 compiler. -- Ticket URL: <http://trac.macports.org/ticket/21336#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts