setools: fix race condition
PATCH 1/1 setools: fix race condition
As reported upstream:
https://github.com/TresysTechnology/setools3/issues/5
setools tries to compile a .c file before being generated and then it produces an error like this one:
error: policy_scan.c: No such file or directory
Until upstream fixes the problem we can workaround this by using MAKE1 as the SETOOLS_MAKE.
Fixes:
http://autobuild.buildroot.net/results/119/1196ac448c77320b59b63b6133d2d1af1245bf69/
--- package/setools/setools.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
package/setools/setools.mk +4 -0
@@ -12,6 +12,10 @@ SETOOLS_INSTALL_STAGING = YES SETOOLS_LICENSE = GPLv2+ LGPLv2.1+ SETOOLS_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL +# Race condition reported upstream: +# https://github.com/TresysTechnology/setools3/issues/5 +SETOOLS_MAKE = $(MAKE1) + # configure.ac is patched by the cross compile patch, # so autoreconf is necessary SETOOLS_AUTORECONF = YES
Signature · 1 line
1.7.1
PATCH 1/1 setools: fix race condition
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vicente" == Vicente Olivert Riera <[email protected]> writes:
As reported upstream:
https://github.com/TresysTechnology/setools3/issues/5setools tries to compile a .c file before being generated and then it produces an error like this one:
error:
policy_scan.c: No such file or directory
Quoted 8 lines
Until upstream fixes the problem we can workaround this by using MAKE1 as the
SETOOLS_MAKE.Fixes:
http://autobuild.buildroot.net/results/119/1196ac448c77320b59b63b6133d2d1af1245bf69/
Signed-off-by Vicente Olivert Riera <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard