[Buildroot] [PATCH v2 2/2] libevdev: disable runtime tests

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Oct 12 19:19:35 UTC 2015


Dear Peter Seiderer,

On Sun, 11 Oct 2015 23:56:33 +0200, Peter Seiderer wrote:
> Add new configure option '--disable-runtime-tests' and use it do
> disable runtime tests which fail to compile on some uclibc
> configurations.
> 
> Fixes [1], [2]:
>   test-libevdev-init.c: In function 'test_set_clock_id':
>   test-libevdev-init.c:493: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
> 
> and compile failure for !BR2_USE_MMU configuration:
>   test-main.c:(.text+0x8): undefined reference to `_fork'
> 
> [1] http://autobuild.buildroot.net/results/0d0/0d0a987471ce8e9f76fc96e0ae8f0bfeadb45028/
> [2] http://autobuild.buildroot.net/results/939/9392033f1b8d2c8e4e8791c90918dabbe28a7067/
> 
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> ---
> Changes v1 -> v2:
>   - remove silly debug stuff from added patch
> ---
>  ...onfigure-add-disable-runtime-tests-option.patch | 42 ++++++++++++++++++++++
>  package/libevdev/libevdev.mk                       |  5 +++
>  2 files changed, 47 insertions(+)
>  create mode 100644 package/libevdev/0001-configure-add-disable-runtime-tests-option.patch

Applied, but please submit the patch upstream (or ask upstream to
implement a different solution for the problem).

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list