mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 21:11:41 -09:00
When building host-fakeroot on host with large number of CPUs,
compilation can randomly fail. Failures are observed on hosts
with 24 CPUs or more.
Build logs show errors such as:
make -j$(nproc)
...
awk -f ./wrapawk < ./wrapfunc.inp
awk -f ./wrapawk < ./wrapfunc.inp
...
In file included from libfakeroot.c:265:
wraptmpf.h:607: error: unterminated #ifdef
607 | #ifdef __APPLE__
|
wraptmpf.h:601: error: unterminated #ifdef
601 | #ifdef HAVE_FTS_CHILDREN
|
wraptmpf.h:2: error: unterminated #ifndef
2 | #ifndef WRAPTMPF_H
|
...
This commit fixes the issue by adding a package patch.
Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/9085451831
- https://gitlab.com/buildroot.org/buildroot/-/jobs/9085451244
- https://gitlab.com/buildroot.org/buildroot/-/jobs/9085451198
- and many more...
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
783 B
Makefile
24 lines
783 B
Makefile
################################################################################
|
|
#
|
|
# fakeroot
|
|
#
|
|
################################################################################
|
|
|
|
FAKEROOT_VERSION = 1.36
|
|
FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz
|
|
FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20241022T144244Z/pool/main/f/fakeroot/
|
|
|
|
HOST_FAKEROOT_DEPENDENCIES = host-acl
|
|
# Force capabilities detection off
|
|
# For now these are process capabilities (faked) rather than file
|
|
# so they're of no real use
|
|
HOST_FAKEROOT_CONF_ENV = \
|
|
ac_cv_header_sys_capability_h=no \
|
|
ac_cv_func_capset=no
|
|
# 0001-Makefile.am-fix-parallel-build.patch
|
|
HOST_FAKEROOT_AUTORECONF = YES
|
|
FAKEROOT_LICENSE = GPL-3.0+
|
|
FAKEROOT_LICENSE_FILES = COPYING
|
|
|
|
$(eval $(host-autotools-package))
|