Lucas Nussbaum dijo [Tue, Aug 07, 2007 at 12:31:02AM +0200]: > Package: rake > version: 0.7.3-1 > Severity: serious > User: [EMAIL PROTECTED] > Usertags: qa-ftbfs-20070806 qa-ftbfs > Justification: FTBFS on i386 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on i386. > > Relevant part: > WARNING: RubyGems not installed > WARNING: Unable to test GemPackaging ... requires RubyGems > Loaded suite ./lib/rake/rake_test_loader > Started > ........Package Target requires RubyGEMs > ..E............................................................................................................................................................................................................................................ > Finished in 9.535479 seconds. > > 1) Error: > test_load_rakefile_from_subdir(TestApplication): > Errno::ENOENT: No such file or directory - test/data/unittest/subdir > ./test/test_application.rb:68:in `chdir' > ./test/test_application.rb:68:in `test_load_rakefile_from_subdir' > (...)
Don't let yourself be mislead - The relevant part is not that RubyGems
is not installed, but one of the test cases missing: One of the tests
defined in test/test_application.rb is:
def test_load_rakefile_from_subdir
original_dir = Dir.pwd
Dir.chdir("test/data/unittest/subdir")
@app.instance_eval do
handle_options
options.silent = true
load_rakefile
end
assert_equal "rakefile", @app.rakefile.downcase
assert_match(%r(unittest$), Dir.pwd)
ensure
Dir.chdir(original_dir)
end
And of course, if test/data/unittest/subdir does not exist, it just
dies.
I have not dug into this, just looked at the symptom and "cured" it
for me: «mkdir test/data/unittest/subdir» allowed the package to be
built again. But then again, there might be an actual reason this is
failing :) So, of course, feel free to look deeper into it.
Greetings,
--
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
pgp0Ye7Bm03EK.pgp
Description: PGP signature

