Project

General

Profile

Bug #1

Ruby remembers C compiler and uses it when installing pacackages

Added by Redmine Admin about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Aports
Target version:
Start date:
03/09/2009
Due date:
% Done:

100%

Estimated time:
Affected versions:
Security IDs:

Description

When I try to install any additional package for ruby with c files it will use the same compile as which it was build. ncopa uses distcc so it will try to use it. Reference can be find here:

usr\lib\ruby\1.8\i686-linux\rbconfig.rb

Line 69 : CONFIG["CC"] = "distcc"
Line 74 : CONFIG["CPP"] = "distcc -E"
Line 147 : CONFIG["configure_args"] = " '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared' 'CC=distcc' 'CFLAGS=-march=i486 -Os -fomit-frame-pointer' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=-march=i486 -Os -fomit-frame-pointer'"

Associated revisions

Revision 7904d45c (diff)
Added by Natanael Copa almost 10 years ago

extra/ruby: set arch to CARCH, disable distcc/ccache

the CC variable is remembered in rbconfig.rb.
fixes #1

History

#1 Updated by Natanael Copa almost 10 years ago

  • Status changed from New to Resolved

this is resolved in ruby-1.8.7_p160-r3

#2 Updated by Natanael Copa almost 10 years ago

  • % Done changed from 0 to 100

#3 Updated by Natanael Copa almost 10 years ago

  • Target version set to Alpine 1.9 beta

#4 Updated by Natanael Copa almost 10 years ago

  • Category set to Aports
  • Status changed from Resolved to Closed
  • Assignee set to Natanael Copa

Also available in: Atom PDF