update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
Description: Hide error from dlsym()
|
||||
dlsym(), starting in glibc 2.24 actually reports errors. In our case,
|
||||
we try to get ACL functions which are not in the glibc. This causes
|
||||
failures in test suites, so hide those messages for non-debugging
|
||||
purposes for now. It also makes the build logs annoying to read.
|
||||
Author: Julian Andres Klode <juliank@ubuntu.com>
|
||||
Origin: vendor
|
||||
Bug-Debian: https://bugs.debian.org/830912
|
||||
Forwarded: no
|
||||
Last-Update: 2016-08-12
|
||||
|
||||
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
|
||||
|
||||
--- a/libfakeroot.c
|
||||
+++ b/libfakeroot.c
|
||||
@@ -256,10 +256,16 @@ void load_library_symbols(void){
|
||||
/* clear dlerror() just in case dlsym() legitimately returns NULL */
|
||||
msg = dlerror();
|
||||
*(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
|
||||
+
|
||||
if ( (msg = dlerror()) != NULL){
|
||||
- fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
|
||||
-/* abort ();*/
|
||||
+#ifdef LIBFAKEROOT_DEBUGGING
|
||||
+ if (fakeroot_debug) {
|
||||
+ fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
|
||||
+/* abort ();*/
|
||||
+ }
|
||||
+#endif
|
||||
}
|
||||
+
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From a853f21633693f9eefc4949660253a5328d2d2f3 Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sun, 13 Aug 2017 23:21:54 +0200
|
||||
Subject: [PATCH 1/1] communicate: check return status of msgrcv()
|
||||
|
||||
msgrcv can return with -1 to indicate an error condition.
|
||||
One such error is to have been interrupted by a signal.
|
||||
|
||||
Being interrupted by a signal is very rare in this code, except in a
|
||||
very special condition: a highly-parallel (1000 jobs!) mksquashfs on
|
||||
a filesystem with extended attributes, where we see errors like (those
|
||||
are mksquashfs errors):
|
||||
llistxattr for titi/603/883 failed in read_attrs, because Unknown
|
||||
error 1716527536
|
||||
|
||||
See: https://bugs.busybox.net/show_bug.cgi?id=10141
|
||||
|
||||
In this case, we just have to retry the call to msgrcv().
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
communicate.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/communicate.c b/communicate.c
|
||||
index 293f404..787bb63 100644
|
||||
--- a/communicate.c
|
||||
+++ b/communicate.c
|
||||
@@ -553,10 +553,13 @@ void send_get_fakem(struct fake_msg *buf)
|
||||
l=msgrcv(msg_get,
|
||||
(struct my_msgbuf*)buf,
|
||||
sizeof(*buf)-sizeof(buf->mtype),0,0);
|
||||
- while((buf->serial!=serial)||buf->pid!=pid);
|
||||
+ while(((l==-1)&&(errno==EINTR))||(buf->serial!=serial)||buf->pid!=pid);
|
||||
|
||||
semaphore_down();
|
||||
|
||||
+ if(l==-1)
|
||||
+ buf->xattr.flags_rc=errno;
|
||||
+
|
||||
/*
|
||||
(nah, may be wrong, due to allignment)
|
||||
|
||||
--
|
||||
2.11.0
|
||||
|
||||
4
bsp/buildroot-2017.02.11/package/fakeroot/fakeroot.hash
Normal file
4
bsp/buildroot-2017.02.11/package/fakeroot/fakeroot.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://snapshot.debian.org/package/fakeroot/1.20.2-1/
|
||||
sha1 367040df07043edb630942b21939e493f3fad888 fakeroot_1.20.2.orig.tar.bz2
|
||||
# Calculated based on the hash above
|
||||
sha256 7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c fakeroot_1.20.2.orig.tar.bz2
|
||||
22
bsp/buildroot-2017.02.11/package/fakeroot/fakeroot.mk
Normal file
22
bsp/buildroot-2017.02.11/package/fakeroot/fakeroot.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# fakeroot
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FAKEROOT_VERSION = 1.20.2
|
||||
FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.bz2
|
||||
FAKEROOT_SITE = http://snapshot.debian.org/archive/debian/20141005T221953Z/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
|
||||
|
||||
FAKEROOT_LICENSE = GPLv3+
|
||||
FAKEROOT_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user