Opened 13 years ago

Closed 10 years ago

#29742 closed defect (fixed)

ruby19's files contain -arch flags

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: ruby19

Description

Some of the files installed by the ruby19 port contain the -arch flags used to build ruby19. This is an error. (For example it causes rb19-mysql to fail to build if ruby19 was installed with the universal variant.) See PortfileRecipes for how to correct it.

Change History (2)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Please fix this. It's been 2.5 years.

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

Resolution: fixed
Status: newclosed

this problem looks to be fixed on current version of ruby19.

I activated "universal" variant of port:rb19-mysql and got successful result of building "rb19-mysql +universal" on Snow Leopard with gcc-4.2.

% port installed ruby19 rb19-mysql
The following ports are currently installed:
  rb19-mysql @2.8.2_0+universal (active)
  ruby19 @1.9.3-p484_0+doc+universal (active)
% file /opt/local/lib/ruby1.9/site_ruby/1.9.1/universal-darwin10/mysql.bundle
/opt/local/lib/ruby1.9/site_ruby/1.9.1/universal-darwin10/mysql.bundle: Mach-O u
niversal binary with 2 architectures
/opt/local/lib/ruby1.9/site_ruby/1.9.1/universal-darwin10/mysql.bundle (for arch
itecture x86_64):	Mach-O 64-bit bundle x86_64
/opt/local/lib/ruby1.9/site_ruby/1.9.1/universal-darwin10/mysql.bundle (for arch
itecture i386):	Mach-O bundle i386
% uname -r
10.8.0
% cc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note: See TracTickets for help on using tickets.