[MacPorts] #21926: Build of rb-gsl failed
MacPorts
noreply at macports.org
Wed Dec 2 14:41:18 PST 2009
#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
More information about the macports-tickets
mailing list