[MacPorts] #23972: ruby-1.8.6-p114 Build failure

MacPorts noreply at macports.org
Sun Mar 7 15:15:56 PST 2010


#23972: ruby-1.8.6-p114 Build failure
-----------------------------------+----------------------------------------
 Reporter:  guaripete@…            |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.2                                
 Keywords:  ruby openssl building  |        Port:  ruby                                 
-----------------------------------+----------------------------------------
 Openssl error on ruby build.

 System information:

 {{{
 Hardware:

     Hardware Overview:

       Model Name: MacBook Pro
       Model Identifier: MacBookPro3,1
       Processor Name: Intel Core 2 Duo
       Processor Speed: 2.6 GHz
       Number Of Processors: 1
       Total Number Of Cores: 2
       L2 Cache: 4 MB
       Memory: 4 GB
       Bus Speed: 800 MHz
       Boot ROM Version: MBP31.0070.B07
       SMC Version (system): 1.16f11
       Sudden Motion Sensor:
           State: Enabled

 Software:

     System Software Overview:

       System Version: Mac OS X 10.5.8 (9L30)
       Kernel Version: Darwin 9.8.0
       Time since boot: 5 days 1:10


 }}}




 {{{
 > sudo port clean ruby
 --->  Cleaning ruby
 [18:38] ~ srafael$
 > sudo port install ruby
 --->  Computing dependencies for ruby
 --->  Fetching ruby
 --->  Verifying checksum(s) for ruby
 --->  Extracting ruby
 --->  Applying patches to ruby
 --->  Configuring ruby
 --->  Building ruby
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_Shared_dports_lang_ruby/work/ruby-1.8.6-p114"
 && /usr/bin/make -j1 all " returned error 2
 Command output: /usr/bin/gcc-4.0 -I. -I../.. -I../../. -I../.././ext/fcntl
 -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-
 common  -c fcntl.c
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../.ext/i686-darwin9.8.0/fcntl.bundle fcntl.o -L\".\" -L\"../..\" -L.
 -L/opt/local/lib    -lruby  -lpthread -ldl -lobjc
 compiling gdbm
 /usr/bin/gcc-4.0 -I. -I../.. -I../../. -I../.././ext/gdbm -DHAVE_GDBM_H
 -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-
 common  -c gdbm.c
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../.ext/i686-darwin9.8.0/gdbm.bundle gdbm.o -L\".\" -L\"../..\" -L.
 -L/opt/local/lib    -lruby -lgdbm  -lpthread -ldl -lobjc
 compiling iconv
 /usr/bin/gcc-4.0 -I. -I../.. -I../../. -I../.././ext/iconv
 -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-
 common  -c iconv.c
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../.ext/i686-darwin9.8.0/iconv.bundle iconv.o -L\".\" -L\"../..\" -L.
 -L/opt/local/lib    -lruby -liconv  -lpthread -ldl -lobjc
 compiling io/wait
 mkdir -p ../../../.ext/i686-darwin9.8.0/io
 /usr/bin/gcc-4.0 -I. -I../../.. -I../../../. -I../../.././ext/io/wait
 -DFIONREAD_HEADER="<sys/ioctl.h>" -I/opt/local/include -fno-common -O2
 -arch i386  -fno-common -pipe -fno-common  -c wait.c
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../../.ext/i686-darwin9.8.0/io/wait.bundle wait.o -L\".\"
 -L\"../../..\" -L. -L/opt/local/lib    -lruby  -lpthread -ldl -lobjc
 mkdir -p ../../../.ext/common/io
 cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io
 compiling nkf
 /usr/bin/gcc-4.0 -I. -I../.. -I../../. -I../.././ext/nkf
 -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-
 common  -c nkf.c
 nkf.c: In function 'nkf_split_options':
 nkf.c:116: warning: pointer targets in passing argument 1 of 'options'
 differ in signedness
 nkf.c:124: warning: pointer targets in passing argument 1 of 'options'
 differ in signedness
 cc -dynamic -bundle -undefined suppress -flat_namespace -o
 ../../.ext/i686-darwin9.8.0/nkf.bundle nkf.o -L\".\" -L\"../..\" -L.
 -L/opt/local/lib    -lruby  -lpthread -ldl -lobjc
 cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
 compiling openssl
 /usr/bin/gcc-4.0 -I. -I../.. -I../../. -I../.././ext/openssl
 -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -fno-common -O2 -arch
 i386  -fno-common -pipe -fno-common  -c openssl_missing.c
 In file included from openssl_missing.c:22:
 openssl_missing.h:119: error: conflicting types for 'BN_rand_range'
 /opt/local/include/openssl/bn.h:411: error: previous declaration of
 'BN_rand_range' was here
 openssl_missing.h:120: error: conflicting types for 'BN_pseudo_rand_range'
 /opt/local/include/openssl/bn.h:412: error: previous declaration of
 'BN_pseudo_rand_range' was here
 make[1]: *** [openssl_missing.o] Error 1
 make: *** [all] Error 1

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}

 Output with debug flag attached.

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


More information about the macports-tickets mailing list