Bug #8702

POSTLINK fails in test/mkmf/test_framework.rb although RUBY_CODESIGN is given

Added by Kenta Murata 9 months ago. Updated 9 months ago.

[ruby-core:56253]
Status:Closed
Priority:Normal
Assignee:Nobuyoshi Nakada
Category:build
Target version:2.1.0
ruby -v:ruby 2.1.0dev (2013-07-29) [x86_64-darwin12.4.0] Backport:1.9.3: DONE, 2.0.0: DONE

Description

=begin
See ((URL:http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-trunk-m64-o3/log/20130728T233100Z.log.html.gz)):

9) Failure:
TestMkmf::TestHaveFramework#testdifferentnameheader [/Users/mrkn/chkbuild/tmp/build/20130728T233100Z/ruby/test/mkmf/testframework.rb:17]:
"clang -dynamic -dynamiclib -o /Users/mrkn/chkbuild/tmp/build/20130728T233100Z/tmp/frameworks20130729-23269-1zou9/MkmfTest.framework/MkmfTest /Users/mrkn/chkbuild/tmp/build/20130728T233100Z/tmp/frameworks20130729-23269-1zou9/MkmfTest.framework/main.c -Wl,-undefined,dynamiclookup -Wl,-multiplydefined,suppress -lpthread -ldl -lobjc
test -z 'ruby' || codesign -s '' -f $@"
: no identity found

10) Failure:
TestMkmf::TestHaveFramework#testemptyframework [/Users/mrkn/chkbuild/tmp/build/20130728T233100Z/ruby/test/mkmf/testframework.rb:17]:
"clang -dynamic -dynamiclib -o /Users/mrkn/chkbuild/tmp/build/20130728T233100Z/tmp/frameworks20130729-23269-1yh72yj/MkmfTest.framework/MkmfTest /Users/mrkn/chkbuild/tmp/build/20130728T233100Z/tmp/frameworks20130729-23269-1yh72yj/MkmfTest.framework/main.c -Wl,-undefined,dynamic
lookup -Wl,-multiply_defined,suppress -lpthread -ldl -lobjc
test -z 'ruby' || codesign -s '' -f $@"
: no identity found

=end

Associated revisions

Revision 42223
Added by Nobuyoshi Nakada 9 months ago

mkmf.rb: expand all macros

  • lib/mkmf.rb (xsystem): expand environment variable in all macros not expanded with RbConfig. [Bug #8702]
  • test/mkmf/testframework.rb (createframework): replace all $@ not only once.

History

#1 Updated by Nobuyoshi Nakada 9 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r42223.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


mkmf.rb: expand all macros

  • lib/mkmf.rb (xsystem): expand environment variable in all macros not expanded with RbConfig. [Bug #8702]
  • test/mkmf/testframework.rb (createframework): replace all $@ not only once.

#2 Updated by Nobuyoshi Nakada 9 months ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: REQUIRED, 2.0.0: REQUIRED

#3 Updated by Tomoyuki Chikanaga 9 months ago

  • Backport changed from 1.9.3: REQUIRED, 2.0.0: REQUIRED to 1.9.3: REQUIRED, 2.0.0: DONE

Backported to ruby20_0 at r42358.

#4 Updated by Usaku NAKAMURA 9 months ago

  • Backport changed from 1.9.3: REQUIRED, 2.0.0: DONE to 1.9.3: DONE, 2.0.0: DONE

Backported to ruby19_3 at r42463.

Also available in: Atom PDF