From: "Vít Ondruch" Date: 2011-08-05T04:16:40+09:00 Subject: [ruby-core:38796] Re: [Ruby 1.9 - Bug #5135] Ruby 1.9.3-preview1 tests fails in Fedora Rawhide Dne 4.8.2011 11:55, KOSAKI Motohiro napsal(a): > 2011/8/4 Vit Ondruch: >> Issue #5135 has been updated by Vit Ondruch. >> >> >> Motohiro KOSAKI wrote: >>> Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide? >>> I suspect about half of them are false positive failure. example, your test machine failed to find ps command >>> and made one test error (see below), but I don't think newest fedora don't have ps. >>> >>> 50) Error: >>> test_set_program_name(TestRubyOptions): >>> Errno::ENOENT: No such file or directory - ps -p 20829 -o command >> It is obvious from [1] that the minimal build root, which is used by mock, does not contain the 'procps' package, so adding BuildRequires: procps should fix this issue. >> >> [1] http://koji.fedoraproject.org/koji/getfile?taskID=3251503&name=root.log > Hmm.. > > I suspect "adding BuildRequires" mean you plan to change SRPM build > information, right? > If so, I don't think this is good idea. Actually, now ruby's test > suite depend on procps, but ruby itself doesn't depend on it. > > The best way is, you skip this test or send us a patch to fix the test script. > > Thanks. > BuildRequires are just dependencies required for build, they do not usually propagates into runtime dependencies. The typical example of BuildRequires packages are the -devel packages, which contains header files, but you don't need them for runtime. Vit