>>> host-libselinux 2.8 Extracting gzip -d -c /home/naourr/work/instance-3/dl/libselinux/libselinux-2.8.tar.gz | /home/naourr/work/instance-3/output-1/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-3/output-1/build/host-libselinux-2.8 -xf - >>> host-libselinux 2.8 Patching Applying 0001-fix-musl-build.patch using patch: patching file src/booleans.c Hunk #1 succeeded at 64 with fuzz 2 (offset 2 lines). Applying 0002-revert-ln-relative.patch using patch: patching file src/Makefile Hunk #1 succeeded at 190 (offset 9 lines). Applying 0003-Fix-build-break-around-__atomic_-with-GCC-4.7.patch using patch: patching file src/label_file.h >>> host-libselinux 2.8 Configuring >>> host-libselinux 2.8 Building PATH="/home/naourr/work/instance-3/output-1/host/bin:/home/naourr/work/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-3/output-1/host/lib/pkgconfig:/home/naourr/work/instance-3/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /home/naourr/work/instance-3/output-1/build/host-libselinux-2.8 PATH="/home/naourr/work/instance-3/output-1/host/bin:/home/naourr/work/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-3/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-3/output-1/host/lib/pkgconfig:/home/naourr/work/instance-3/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/naourr/work/instance-3/output-1/host/include" CFLAGS="-O2 -I/home/naourr/work/instance-3/output-1/host/include" CXXFLAGS="-O2 -I/home/naourr/work/instance-3/output-1/host/include" LDFLAGS="-L/home/naourr/work/instance-3/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-3/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl PREFIX=/home/naourr/work/instance-3/output-1/host SHLIBDIR=/home/naourr/work/instance-3/output-1/host/lib LDFLAGS="-L/home/naourr/work/instance-3/output-1/host/lib -Wl,-rpath,/home/naourr/work/instance-3/output-1/host/lib -lpcre -lpthread" PYINC="-I/home/naourr/work/instance-3/output-1/host/include/python2.7/" PYSITEDIR="/home/naourr/work/instance-3/output-1/host/lib/python2.7/site-packages" SWIG_LIB="/home/naourr/work/instance-3/output-1/host/share/swig/3.0.12/" all make[1]: Entering directory '/home/naourr/work/instance-3/output-1/build/host-libselinux-2.8' make[2]: Entering directory '/home/naourr/work/instance-3/output-1/build/host-libselinux-2.8/src' /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o avc.o avc.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o avc_internal.o avc_internal.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o avc_sidtab.o avc_sidtab.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o booleans.o booleans.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o callbacks.o callbacks.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o canonicalize_context.o canonicalize_context.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o checkAccess.o checkAccess.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o check_context.o check_context.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o checkreqprot.o checkreqprot.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o compute_av.o compute_av.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o compute_create.o compute_create.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o compute_member.o compute_member.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o compute_relabel.o compute_relabel.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o compute_user.o compute_user.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o context.o context.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o deny_unknown.o deny_unknown.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o disable.o disable.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o enabled.o enabled.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o fgetfilecon.o fgetfilecon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o freecon.o freecon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o freeconary.o freeconary.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o fsetfilecon.o fsetfilecon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o get_context_list.o get_context_list.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o get_default_type.o get_default_type.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o get_initial_context.o get_initial_context.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o getenforce.o getenforce.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o getfilecon.o getfilecon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o getpeercon.o getpeercon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o init.o init.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o is_customizable_type.o is_customizable_type.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o label.o label.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o label_db.o label_db.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o label_file.o label_file.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o label_media.o label_media.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o label_support.o label_support.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o label_x.o label_x.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o lgetfilecon.o lgetfilecon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o load_policy.o load_policy.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o lsetfilecon.o lsetfilecon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o mapping.o mapping.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o matchmediacon.o matchmediacon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o matchpathcon.o matchpathcon.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o policyvers.o policyvers.c /usr/bin/gcc -O2 -I/home/naourr/work/instance-3/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/home/naourr/work/instance-3/output-1/host/include -c -o procattr.o procattr.c procattr.c:27:14: error: static declaration of 'gettid' follows non-static declaration 27 | static pid_t gettid(void) | ^~~~~~ In file included from /usr/include/unistd.h:1170, from procattr.c:2: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' was here 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ make[2]: *** [Makefile:170: procattr.o] Error 1 make[2]: Leaving directory '/home/naourr/work/instance-3/output-1/build/host-libselinux-2.8/src' make[1]: *** [Makefile:44: all] Error 1 make[1]: Leaving directory '/home/naourr/work/instance-3/output-1/build/host-libselinux-2.8' make: *** [package/pkg-generic.mk:255: /home/naourr/work/instance-3/output-1/build/host-libselinux-2.8/.stamp_built] Error 2 make: Leaving directory '/home/naourr/work/instance-3/buildroot'