Bug 561 - ltp-testsuite failed to install
Summary: ltp-testsuite failed to install
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal
Target Milestone: 2010.05
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 13:40 UTC by Olivier Duclos
Modified: 2010-12-14 11:03 UTC (History)
1 user (show)

See Also:
Host: Intel Core 2 Duo 32bit Mandriva Linux
Target: generic_arm
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duclos 2009-08-11 13:40:12 UTC
Here is what I got when trying to generate an image for ARM with Linux 2.6.29 and ltp-testsuite using buildroot 2009.08-rc2.

Applying ltp-testsuite-enable-openposix-for-nptl.patch using plaintext: 
patching file testcases/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file testcases/Makefile.rej

Can I remove this patch safely ?

Also, because of the patch "ltp-testsuite-generate-needs-bash.patch" we should add bash as a dependency of ltp-testsuite.
Comment 1 Will Newton 2009-08-11 14:21:04 UTC
(In reply to comment #0)
> Here is what I got when trying to generate an image for ARM with Linux 2.6.29
> and ltp-testsuite using buildroot 2009.08-rc2.
> 
> Applying ltp-testsuite-enable-openposix-for-nptl.patch using plaintext: 
> patching file testcases/Makefile
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file testcases/Makefile.rej
> 
> Can I remove this patch safely ?
> 
> Also, because of the patch "ltp-testsuite-generate-needs-bash.patch" we should
> add bash as a dependency of ltp-testsuite.
> 

Removing the patch will reduce the coverage of testing by not enabling the Open POSIX Test Suite. LTP contains lots more tests so it still covers many syscalls etc. without the Open POSIX tests.

I don't think a dependency on bash is appropriate. LTP can run lots of different subsets of tests, many of which do not require bash, and bash is a big package to put on a small embedded system.
Comment 2 Thomas Petazzoni 2010-12-14 11:03:17 UTC
The ltp-testsuite package has been updated and reworked by http://git.buildroot.net/buildroot/commit/?id=a72a670489547a3ca645ff7c3a0d9c3fb66eab51, and I have been able to successfully build it and run it.