Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16928 closed defect (fixed)

rb-cocoa 0.13.2 build error

Reported by: colin.dewey@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: rb-cocoa Cc:
Port: rb-cocoa

Description (last modified by mf2k (Frank Schima))

Running on Mac OS X 10.5.5, starting with a cleaned rb-cocoa port, I get a build error.

$ sudo port install rb-cocoa
--->  Fetching rb-cocoa
--->  Attempting to fetch RubyCocoa-0.13.2.tgz from
http://downloads.sourceforge.net/rubycocoa
--->  Verifying checksum(s) for rb-cocoa
--->  Extracting rb-cocoa
--->  Applying patches to rb-cocoa
--->  Configuring rb-cocoa
--->  Building rb-cocoa with target setup
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-cocoa/work/RubyCocoa-0.13.2" && /opt/local/bin/ruby -rvendor-specific install.rb setup " returned error 1
Command output:     setenv VERSION_INFO_STRING "\"@(#)PROGRAM:RubyCocoa  PROJECT:RubyCocoa-\""
    setenv WARNING_CFLAGS "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"
    setenv WRAPPER_EXTENSION framework
    setenv WRAPPER_NAME RubyCocoa.framework
    setenv WRAPPER_SUFFIX .framework
    setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
    setenv XCODE_VERSION_ACTUAL 0300
    setenv XCODE_VERSION_MAJOR 0300
    setenv YACC /Developer/usr/bin/yacc
    /bin/sh -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.13.2/framework/build/RubyCocoa.build/Default/RubyCocoa.build/Script-4D7AD1190BF2994500F1A2C6.sh

Touch /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.13.2/framework/build/Default/RubyCocoa.framework
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.13.2/framework
    /usr/bin/touch -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.13.2/framework/build/Default/RubyCocoa.framework
** BUILD SUCCEEDED **
strip -x build/Default/RubyCocoa.framework/Versions/Current/RubyCocoa
<--- framework
---> lib
---> lib/osx
<--- lib/osx
<--- lib
---> ext
---> ext/rubycocoa
make
cc -dynamic -bundle -undefined suppress -flat_namespace -o rubycocoa.bundle rubycocoa.o -L. -L/opt/local/lib -F../../framework/build/Default -framework RubyCocoa -undefined suppress -flat_namespace -lxml2  -lffi     -lruby  -lpthread -ldl -lobjc
i686-apple-darwin9-gcc-4.0.1: rubycocoa.o: No such file or directory
make: *** [rubycocoa.bundle] Error 1
setup failed
'system make' failed
try 'ruby install.rb --help' for usage

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to kimuraw@…

Assigning to maintainer.

comment:2 Changed 16 years ago by kimuraw (kimura wataru)

Status: newassigned

I guess your `make' is not /usr/bin/make. Please tell me result of the following operations.

% cd `port work rb-cocoa`
% cd RubyCocoa-0.13.2/ext/rubycocoa
% sudo make clean
% sudo ruby extconf.rb
% sudo make
% sudo /usr/bin/make

comment:3 Changed 16 years ago by kimuraw (kimura wataru)

I hope this problem was fixed 0.13.2_2 (at 2008-10-28: r41224). Please port sync and try the newer version.

comment:4 Changed 16 years ago by colin.dewey@…

The latest version works now, thanks!

comment:5 Changed 16 years ago by blb@…

Resolution: fixed
Status: assignedclosed

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.