[MacPorts] #21926: Build of rb-gsl failed
#21926: Build of rb-gsl failed ----------------------------------+----------------------------------------- Reporter: harry.park@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.8.1 Keywords: rb-gsl | Port: rb-gsl ----------------------------------+----------------------------------------- rb-gsl failed to build for me when installing from mac ports. 10.6 Snow Leopard MBP Ruby: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10] #: sudo port install rb-gsl ---> Computing dependencies for rb-gsl ---> Building rb-gsl Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3" && /opt/local/bin/ruby -rvendor-specific setup.rb setup " returned error 1 Command output: ---> lib ---> lib/gsl <--- lib/gsl ---> lib/ool <--- lib/ool <--- lib ---> ext make /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3/ext -DHAVE_ROUND -I/opt/local/lib/ruby/site_ruby/1.8/i686-darwin10 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -Wall -I../include -I/opt/local/include -arch x86_64 -c const.c const.c: In function 'rb_gsl_const_cgs': const.c:602: error: 'GSL_CONST_CGSM_GAUSS' undeclared (first use in this function) const.c:602: error: (Each undeclared identifier is reported only once const.c:602: error: for each function it appears in.) make: *** [const.o] Error 1 setup.rb:655:in `command': system("make") failed (RuntimeError) from setup.rb:664:in `make' from setup.rb:1258:in `setup_dir_ext' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1524:in `exec_task_traverse' from setup.rb:1519:in `each' from setup.rb:1519:in `exec_task_traverse' from setup.rb:1246:in `exec_setup' from setup.rb:996:in `exec_setup' from setup.rb:826:in `__send__' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/21926> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21926: Build of rb-gsl failed ----------------------------------+----------------------------------------- Reporter: harry.park@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rb-gsl ----------------------------------+----------------------------------------- Changes (by ram@…): * keywords: rb-gsl => * priority: High => Normal * version: 1.8.1 => Old description:
rb-gsl failed to build for me when installing from mac ports. 10.6 Snow Leopard MBP Ruby: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]
#: sudo port install rb-gsl ---> Computing dependencies for rb-gsl ---> Building rb-gsl Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3" && /opt/local/bin/ruby -rvendor-specific setup.rb setup " returned error 1 Command output: ---> lib ---> lib/gsl <--- lib/gsl ---> lib/ool <--- lib/ool <--- lib ---> ext make /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3/ext -DHAVE_ROUND -I/opt/local/lib/ruby/site_ruby/1.8/i686-darwin10 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -Wall -I../include -I/opt/local/include -arch x86_64 -c const.c const.c: In function 'rb_gsl_const_cgs': const.c:602: error: 'GSL_CONST_CGSM_GAUSS' undeclared (first use in this function) const.c:602: error: (Each undeclared identifier is reported only once const.c:602: error: for each function it appears in.) make: *** [const.o] Error 1 setup.rb:655:in `command': system("make") failed (RuntimeError) from setup.rb:664:in `make' from setup.rb:1258:in `setup_dir_ext' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1524:in `exec_task_traverse' from setup.rb:1519:in `each' from setup.rb:1519:in `exec_task_traverse' from setup.rb:1246:in `exec_setup' from setup.rb:996:in `exec_setup' from setup.rb:826:in `__send__' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578
Error: Status 1 encountered during processing.
New description: rb-gsl failed to build for me when installing from mac ports. 10.6 Snow Leopard MBP Ruby: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10] {{{ #: sudo port install rb-gsl ---> Computing dependencies for rb-gsl ---> Building rb-gsl Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3" && /opt/local/bin/ruby -rvendor-specific setup.rb setup " returned error 1 Command output: ---> lib ---> lib/gsl <--- lib/gsl ---> lib/ool <--- lib/ool <--- lib ---> ext make /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3/ext -DHAVE_ROUND -I/opt/local/lib/ruby/site_ruby/1.8/i686-darwin10 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -Wall -I../include -I/opt/local/include -arch x86_64 -c const.c const.c: In function 'rb_gsl_const_cgs': const.c:602: error: 'GSL_CONST_CGSM_GAUSS' undeclared (first use in this function) const.c:602: error: (Each undeclared identifier is reported only once const.c:602: error: for each function it appears in.) make: *** [const.o] Error 1 setup.rb:655:in `command': system("make") failed (RuntimeError) from setup.rb:664:in `make' from setup.rb:1258:in `setup_dir_ext' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1524:in `exec_task_traverse' from setup.rb:1519:in `each' from setup.rb:1519:in `exec_task_traverse' from setup.rb:1246:in `exec_setup' from setup.rb:996:in `exec_setup' from setup.rb:826:in `__send__' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/21926#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21926: Build of rb-gsl failed ----------------------------------+----------------------------------------- Reporter: harry.park@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rb-gsl ----------------------------------+----------------------------------------- Comment(by peter@…): same problem. snow leopard 10.6.2, macbook core 2 duo, ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10] {{{ /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3/ext -DHAVE_ROUND -I/opt/local/lib/ruby/site_ruby/1.8/i686-darwin10 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -Wall -I../include -I/opt/local/include -arch x86_64 -c const.c const.c: In function 'rb_gsl_const_cgs': const.c:602: error: 'GSL_CONST_CGSM_GAUSS' undeclared (first use in this function) const.c:602: error: (Each undeclared identifier is reported only once const.c:602: error: for each function it appears in.) make: *** [const.o] Error 1 setup.rb:655:in `command': system("make") failed (RuntimeError) from setup.rb:664:in `make' from setup.rb:1258:in `setup_dir_ext' from setup.rb:1532:in `__send__' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1524:in `exec_task_traverse' from setup.rb:1519:in `each' from setup.rb:1519:in `exec_task_traverse' from setup.rb:1246:in `exec_setup' from setup.rb:996:in `exec_setup' from setup.rb:826:in `__send__' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578 Error: Status 1 encountered during processing. }}} Looks like a problem with the libgsl library because reports like this (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549435): "In upstream libgsl, version 1.13, the GSL_CONST_CGSM_GAUSS symbol was removed. The attached patch fixes the problem. The correct solution is to remove the reference to the symbol entirely, as upstream says the value of the constant wasn't reliable." -- Ticket URL: <http://trac.macports.org/ticket/21926#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21926: Build of rb-gsl failed ----------------------------------+----------------------------------------- Reporter: harry.park@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rb-gsl ----------------------------------+----------------------------------------- Comment(by peter@…): The SVN version of rb-gsl compiles fine, suggest using that until a new tag is released: svn checkout svn://rubyforge.org/var/svn/rb-gsl -- Ticket URL: <http://trac.macports.org/ticket/21926#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21926: Build of rb-gsl failed ----------------------------------+----------------------------------------- Reporter: harry.park@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: rb-gsl ----------------------------------+----------------------------------------- Comment(by burkestar@…): rb-gsl Macport is still broken on Snow Leopard. As a workaround, follow Rok Sribar's installation steps (posted Mar 15, 2008) - notably steps 4 and 5. http://rubyforge.org/forum/forum.php?thread_id=19389&forum_id=1225 Step 4) Download rb-gsl from: http://rb-gsl.rubyforge.org/ and copy rb-gsl-x.xx.x folder to: /Library/Ruby/Gems/1.8/gems/ Step 5) Install rb-gsl by following instructions at http://rb- gsl.rubyforge.org/ or # % cd /Library/Ruby/Gems/1.8/gems/rb-gsl-1.10.3/ # % ruby setup.rb config # % ruby setup.rb setup # % sudo ruby setup.rb install # Password: -- DONE -- -- Ticket URL: <http://trac.macports.org/ticket/21926#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21926: Build of rb-gsl failed -----------------------------------+---------------------------------------- Reporter: harry.park@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: rb-gsl | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r74844 -- Ticket URL: <https://trac.macports.org/ticket/21926#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts