[MacPorts] #17177: Ruby19 install fails on intel 10.4.11 with multiply defined symbols

MacPorts noreply at macports.org
Mon Nov 10 12:22:49 PST 2008


#17177: Ruby19 install fails on intel 10.4.11 with multiply defined symbols
----------------------------+-----------------------------------------------
  Reporter:  joda at ieee.org  |       Owner:  febeling at macports.org
      Type:  defect         |      Status:  new                  
  Priority:  Normal         |   Milestone:  Port Bugs            
 Component:  ports          |     Version:  1.6.0                
Resolution:                 |    Keywords:                       
      Port:  ruby19         |  
----------------------------+-----------------------------------------------
Description changed by ryandesign at macports.org:

Old description:

> I tried sudo port -v install ruby19
>

> Eventually I got this:
> [[BR]]
> cc -dynamic -bundle -undefined suppress -flat_namespace -o
> ../../../../.ext/i386-darwin8/json/ext/parser.bundle parser.o unicode.o
> -L. -L../../../.. -L. -L/opt/local/lib    -lruby1.9  -lpthread -ldl
> -lobjc
> [[BR]]
> compiling mathn/complex
> [[BR]]
> mkdir -p ../../../.ext/i386-darwin8/mathn
> [[BR]]
> /usr/bin/gcc-4.0 -I. -I../../../.ext/include/i386-darwin8
> -I../../.././include -I../../.././ext/mathn/complex
> -DRUBY_EXTCONF_H=\"extconf.h\" -DEXT_MATHN -DCANON -DCLCANON  -fno-common
> -O2 -O2 -g -Wall -Wno-parentheses  -fno-common -pipe -fno-common  -o
> complex.o -c complex.c
> [[BR]]
> cc -dynamic -bundle -undefined suppress -flat_namespace -o
> ../../../.ext/i386-darwin8/mathn/complex.bundle complex.o -L. -L../../..
> -L. -L/opt/local/lib    -lruby1.9  -lpthread -ldl -lobjc
> [[BR]]
> /usr/bin/ld: multiple definitions of symbol _rb_complex_raw
> [[BR]]
> complex.o definition of _rb_complex_raw in section (__TEXT,__text)
> [[BR]]
> ../../../libruby1.9.dylib(complex.o) definition of _rb_complex_raw
> [[BR]]
> /usr/bin/ld: multiple definitions of symbol _rb_complex_polar
> [[BR]]
> complex.o definition of _rb_complex_polar in section (__TEXT,__text)
> [[BR]]
> ../../../libruby1.9.dylib(complex.o) definition of _rb_complex_polar
> [[BR]]
> /usr/bin/ld: multiple definitions of symbol _rb_complex_new
> [[BR]]
> complex.o definition of _rb_complex_new in section (__TEXT,__text)
> [[BR]]
> ../../../libruby1.9.dylib(complex.o) definition of _rb_complex_new
> [[BR]]
> /usr/bin/ld: multiple definitions of symbol _rb_Complex
> [[BR]]
> complex.o definition of _rb_Complex in section (__TEXT,__text)
> [[BR]]
> ../../../libruby1.9.dylib(complex.o) definition of _rb_Complex
> [[BR]]
> collect2: ld returned 1 exit status
> [[BR]]
> make[1]: *** [../../../.ext/i386-darwin8/mathn/complex.bundle] Error 1
> [[BR]]
> make: *** [exts] Error 1
> [[BR]]
> [[BR]]
> Warning: the following items did not execute (for ruby19):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> [[BR]]
> Error: Status 1 encountered during processing.
> [[BR]]
> [[BR]]
> This is on a recently selfupdated macports on OS 10.4.11 on a MacBookPro

New description:

 I tried sudo port -v install ruby19

 Eventually I got this:

 {{{
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../../../.ext/i386-darwin8/json/ext/parser.bundle parser.o unicode.o
 -L. -L../../../.. -L. -L/opt/local/lib    -lruby1.9  -lpthread -ldl -lobjc
 compiling mathn/complex
 mkdir -p ../../../.ext/i386-darwin8/mathn
 /usr/bin/gcc-4.0 -I. -I../../../.ext/include/i386-darwin8
 -I../../.././include -I../../.././ext/mathn/complex
 -DRUBY_EXTCONF_H=\"extconf.h\" -DEXT_MATHN -DCANON -DCLCANON  -fno-common
 -O2 -O2 -g -Wall -Wno-parentheses  -fno-common -pipe -fno-common  -o
 complex.o -c complex.c
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../../.ext/i386-darwin8/mathn/complex.bundle complex.o -L. -L../../..
 -L. -L/opt/local/lib    -lruby1.9  -lpthread -ldl -lobjc
 /usr/bin/ld: multiple definitions of symbol _rb_complex_raw
 complex.o definition of _rb_complex_raw in section (__TEXT,__text)
 ../../../libruby1.9.dylib(complex.o) definition of _rb_complex_raw
 /usr/bin/ld: multiple definitions of symbol _rb_complex_polar
 complex.o definition of _rb_complex_polar in section (__TEXT,__text)
 ../../../libruby1.9.dylib(complex.o) definition of _rb_complex_polar
 /usr/bin/ld: multiple definitions of symbol _rb_complex_new
 complex.o definition of _rb_complex_new in section (__TEXT,__text)
 ../../../libruby1.9.dylib(complex.o) definition of _rb_complex_new
 /usr/bin/ld: multiple definitions of symbol _rb_Complex
 complex.o definition of _rb_Complex in section (__TEXT,__text)
 ../../../libruby1.9.dylib(complex.o) definition of _rb_Complex
 collect2: ld returned 1 exit status
 make[1]: *** [../../../.ext/i386-darwin8/mathn/complex.bundle] Error 1
 make: *** [exts] Error 1
 Warning: the following items did not execute (for ruby19):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 This is on a recently selfupdated macports on OS 10.4.11 on a MacBookPro

--

-- 
Ticket URL: <http://trac.macports.org/ticket/17177#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list