Opened 14 years ago

Closed 14 years ago

#27896 closed defect (fixed)

build rb-rubyosa @0.4.0 fails in Snow Lep

Reported by: vulcan_@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: rb-rubyosa

Description

this msg came up during a batch build of things i wanted for Ruby

ing patches to rb-rubyosa
Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/ruby/rb-rubyosa/files/patch-src-lib-rbosa.rb.diff
patching file src/lib/rbosa.rb
Configuring rb-rubyosa
checking for OSACopyScriptingDefinition()... yes
checking for LSFindApplicationForInfo()... yes
create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubyosa/work/rubyosa-0.4.0/src/osx_ruby.h ...
create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubyosa/work/rubyosa-0.4.0/src/osx_intern.h ...
creating Makefile
Building rb-rubyosa
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_OSACOPYSCRIPTINGDEFINITION -DHAVE_LSFINDAPPLICATIONFORINFO -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch i386  -fno-common -pipe -fno-common  -Wall  -arch i386 -c src/rbosa.c
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_OSACOPYSCRIPTINGDEFINITION -DHAVE_LSFINDAPPLICATIONFORINFO -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -pipe -O2 -arch i386  -fno-common -pipe -fno-common  -Wall  -arch i386 -c src/rbosa_conv.c
src/rbosa.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sClasses'
src/rbosa.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sApp'
src/rbosa.c: In function '__rbosa_class_from_desc_data':
src/rbosa.c:55: error: 'sClasses' undeclared (first use in this function)
src/rbosa.c:55: error: (Each undeclared identifier is reported only once
src/rbosa.c:55: error: for each function it appears in.)
src/rbosa.c: In function 'rbosa_element_make':
src/rbosa.c:114: error: 'sApp' undeclared (first use in this function)
src/rbosa.c: In function '__rbosa_elementlist_get':
src/rbosa.c:594: error: 'sApp' undeclared (first use in this function)
src/rbosa.c: In function 'Init_osa':
src/rbosa.c:680: error: 'sClasses' undeclared (first use in this function)
src/rbosa.c:681: error: 'sApp' undeclared (first use in this function)
make: *** [rbosa.o] Error 1
make: *** Waiting for unfinished jobs....
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubyosa/work/rubyosa-0.4.0" && /usr/bin/make -j2 all RUBY="/opt/local/bin/ruby -rvendor-specific" " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for rb-rubyosa): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for rb-rubyosa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-rubyosa/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Executing: /opt/local/bin/port -v install rb-rails rb-rake rb-rubyosa xmlformat

Change History (2)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to kimuraw@…
Summary: build rb-rubyosa fails in Snow Lepbuild rb-rubyosa @0.4.0 fails in Snow Lep

Please remember to cc the maintainer, and mention the port version in the summary.

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

Resolution: fixed
Status: newclosed

Thanks vulcan_,

This problem was fixed at r74945. please try to install rb-rubyosa after port selfupdate.

Note: See TracTickets for help on using tickets.