[MacPorts] #21856: rb-cocoa build fails
#21856: rb-cocoa build fails ----------------------------------+----------------------------------------- Reporter: jwhowse4@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ----------------------------------+----------------------------------------- On an Intel Mac running Leopard 10.5.8 with Xcode 3.1.4 my rb-cocoa upgrade from 1.0.0_0 fails with the following error. Any ideas? {{{ Touch /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_ports_ruby_rb- cocoa/work/RubyCocoa-1.0.0/framework/build/Default/RubyCocoa.framework cd /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-cocoa/work/RubyCocoa-1.0.0/framework /usr/bin/touch -c /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_ports_ruby_rb- cocoa/work/RubyCocoa-1.0.0/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 /usr/bin/gcc-4.0 -I. -I/opt/macports/lib/ruby/1.8/i686-darwin9 -I/opt/macports/lib/ruby/1.8/i686-darwin9 -I/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports .org_release_ports_ruby_rb-cocoa/work/RubyCocoa-1.0.0/ext/rubycocoa -I/opt/macports/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -F../../framework/build/Default -fno-common -g -fobjc-exceptions -Wall -DRB_ID=ID -I/usr/include/libxml2 -DHAS_LIBXML2 -I/usr/include/ffi -DMACOSX -arch -c rubycocoa.m gcc-4.0: Invalid arch name : -c make: *** [rubycocoa.o] Error 1 setup failed 'system make' failed try 'ruby install.rb --help' for usage }}} -- Ticket URL: <http://trac.macports.org/ticket/21856> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21856: rb-cocoa build fails ----------------------------------+----------------------------------------- Reporter: jwhowse4@… | Owner: kimuraw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: rb-cocoa ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => kimuraw@… * port: => rb-cocoa -- Ticket URL: <http://trac.macports.org/ticket/21856#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21856: rb-cocoa build fails ----------------------------------+----------------------------------------- Reporter: jwhowse4@… | Owner: kimuraw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: rb-cocoa ----------------------------------+----------------------------------------- Comment(by jwhowse4@…): Revision 2 builds and installs properly for me. Thanks for the fix. James -- Ticket URL: <http://trac.macports.org/ticket/21856#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21856: rb-cocoa build fails -----------------------------------+---------------------------------------- Reporter: jwhowse4@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: rb-cocoa | -----------------------------------+---------------------------------------- Changes (by kimuraw@…): * status: new => closed * resolution: => fixed Comment: this problem is a bug of RubyCocoa configuration script. build fails when -arch is not given for ruby or $build_arch is not specified in macports.conf. I fixed this bug at r58818. -- Ticket URL: <http://trac.macports.org/ticket/21856#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21856: rb-cocoa build fails -----------------------------------+---------------------------------------- Reporter: jwhowse4@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: rb-cocoa | -----------------------------------+---------------------------------------- Comment(by jmr@…): Setting build_arch to blank in macports.conf is user error. It is commented out by default, and therefore has a default value appropriate to the hardware and OS version. -- Ticket URL: <http://trac.macports.org/ticket/21856#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21856: rb-cocoa build fails -----------------------------------+---------------------------------------- Reporter: jwhowse4@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: rb-cocoa | -----------------------------------+---------------------------------------- Comment(by jwhowse4@…): The variable build_arch is not specified at all in macports.conf on my machine. It is not set to blank. -- Ticket URL: <http://trac.macports.org/ticket/21856#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts