>>> host-libselinux 2.8 Downloading --2020-02-28 11:01:08-- https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libselinux-2.8.tar.gz Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 187759 (183K) [application/octet-stream] Saving to: '/nvmedata/autobuild/instance-11/output-1/build/.libselinux-2.8.tar.gz.OUfHZ9/output' 0K .......... .......... .......... .......... .......... 27% 9.23M 0s 50K .......... .......... .......... .......... .......... 54% 19.5M 0s 100K .......... .......... .......... .......... .......... 81% 16.3M 0s 150K .......... .......... .......... ... 100% 73.4M=0.01s 2020-02-28 11:01:09 (15.9 MB/s) - '/nvmedata/autobuild/instance-11/output-1/build/.libselinux-2.8.tar.gz.OUfHZ9/output' saved [187759/187759] libselinux-2.8.tar.gz: OK (sha256: 31db96ec7643ce10912b3c3f98506a08a9116dcfe151855fd349c3fda96187e1) >>> host-libselinux 2.8 Extracting gzip -d -c /nvmedata/autobuild/instance-11/dl/libselinux/libselinux-2.8.tar.gz | /nvmedata/autobuild/instance-11/output-1/host/bin/tar --strip-components=1 -C /nvmedata/autobuild/instance-11/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="/nvmedata/autobuild/instance-11/output-1/host/bin:/nvmedata/autobuild/instance-11/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-11/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="/nvmedata/autobuild/instance-11/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-11/output-1/host/share/pkgconfig" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-11/output-1/build/host-libselinux-2.8 PATH="/nvmedata/autobuild/instance-11/output-1/host/bin:/nvmedata/autobuild/instance-11/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-11/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="/nvmedata/autobuild/instance-11/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-11/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/nvmedata/autobuild/instance-11/output-1/host/include" CFLAGS="-O2 -I/nvmedata/autobuild/instance-11/output-1/host/include" CXXFLAGS="-O2 -I/nvmedata/autobuild/instance-11/output-1/host/include" LDFLAGS="-L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl PREFIX=/nvmedata/autobuild/instance-11/output-1/host SHLIBDIR=/nvmedata/autobuild/instance-11/output-1/host/lib LDFLAGS="-L/nvmedata/autobuild/instance-11/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-11/output-1/host/lib -lpcre -lpthread" PYINC="-I/nvmedata/autobuild/instance-11/output-1/host/include/python3.7m/" PYSITEDIR="/nvmedata/autobuild/instance-11/output-1/host/lib/python3.7/site-packages" SWIG_LIB="/nvmedata/autobuild/instance-11/output-1/host/share/swig/3.0.12/" all make[1]: Entering directory '/nvmedata/autobuild/instance-11/output-1/build/host-libselinux-2.8' make[2]: Entering directory '/nvmedata/autobuild/instance-11/output-1/build/host-libselinux-2.8/src' /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o avc.o avc.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o avc_internal.o avc_internal.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o avc_sidtab.o avc_sidtab.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o booleans.o booleans.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o callbacks.o callbacks.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o canonicalize_context.o canonicalize_context.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o checkAccess.o checkAccess.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o check_context.o check_context.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o checkreqprot.o checkreqprot.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o compute_av.o compute_av.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o compute_create.o compute_create.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o compute_member.o compute_member.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o compute_relabel.o compute_relabel.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o compute_user.o compute_user.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o context.o context.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o deny_unknown.o deny_unknown.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o disable.o disable.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o enabled.o enabled.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o fgetfilecon.o fgetfilecon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o freecon.o freecon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o freeconary.o freeconary.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o fsetfilecon.o fsetfilecon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o get_context_list.o get_context_list.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o get_default_type.o get_default_type.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o get_initial_context.o get_initial_context.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o getenforce.o getenforce.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o getfilecon.o getfilecon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o getpeercon.o getpeercon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o init.o init.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o is_customizable_type.o is_customizable_type.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o label.o label.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o label_db.o label_db.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o label_file.o label_file.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o label_media.o label_media.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o label_support.o label_support.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o label_x.o label_x.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o lgetfilecon.o lgetfilecon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o load_policy.o load_policy.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o lsetfilecon.o lsetfilecon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o mapping.o mapping.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o matchmediacon.o matchmediacon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o matchpathcon.o matchpathcon.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/output-1/host/include -c -o policyvers.o policyvers.c /usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-11/output-1/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -I/nvmedata/autobuild/instance-11/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/x86_64-linux-gnu/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 '/nvmedata/autobuild/instance-11/output-1/build/host-libselinux-2.8/src' make[1]: *** [Makefile:44: all] Error 1 make[1]: Leaving directory '/nvmedata/autobuild/instance-11/output-1/build/host-libselinux-2.8' make: *** [package/pkg-generic.mk:241: /nvmedata/autobuild/instance-11/output-1/build/host-libselinux-2.8/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-11/buildroot'