>>> xlib_libxshmfence 1.3 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-11/output-1/build/.libxshmfence-1.3.tar.bz2.RM9wb6/output' 'http://xorg.freedesktop.org/releases/individual/lib/libxshmfence-1.3.tar.bz2' --2021-07-31 21:27:16-- http://xorg.freedesktop.org/releases/individual/lib/libxshmfence-1.3.tar.bz2 Resolving xorg.freedesktop.org (xorg.freedesktop.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|2610:10:20:722:a800:ff:feda:470f|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.x.org/releases/individual/lib/libxshmfence-1.3.tar.bz2 [following] --2021-07-31 21:27:17-- https://www.x.org/releases/individual/lib/libxshmfence-1.3.tar.bz2 Resolving www.x.org (www.x.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to www.x.org (www.x.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 308644 (301K) [application/x-bzip2] Saving to: '/tmp/instance-11/output-1/build/.libxshmfence-1.3.tar.bz2.RM9wb6/output' 0K .......... .......... .......... .......... .......... 16% 168K 1s 50K .......... .......... .......... .......... .......... 33% 335K 1s 100K .......... .......... .......... .......... .......... 49% 6.53M 0s 150K .......... .......... .......... .......... .......... 66% 350K 0s 200K .......... .......... .......... .......... .......... 82% 226M 0s 250K .......... .......... .......... .......... .......... 99% 266M 0s 300K . 100% 2690G=0.6s 2021-07-31 21:27:18 (505 KB/s) - '/tmp/instance-11/output-1/build/.libxshmfence-1.3.tar.bz2.RM9wb6/output' saved [308644/308644] libxshmfence-1.3.tar.bz2: OK (md5: 42dda8016943dc12aff2c03a036e0937) libxshmfence-1.3.tar.bz2: OK (sha1: 3472218fc0e8ee8183533d22dbcd4bbe90bf3ab8) libxshmfence-1.3.tar.bz2: OK (sha256: b884300d26a14961a076fbebc762a39831cb75f92bed5ccf9836345b459220c7) libxshmfence-1.3.tar.bz2: OK (sha512: c446e055f8fac62b9aa266132289a4cfc030282147974c45ce96d1768a98d1afb997470e58e4a68513174c404cbf373bdde2f0cd4b34abdbce1d89dd0b6fe2b7) >>> xlib_libxshmfence 1.3 Extracting bzcat /tmp/instance-11/dl/xlib_libxshmfence/libxshmfence-1.3.tar.bz2 | tar --strip-components=1 -C /tmp/instance-11/output-1/build/xlib_libxshmfence-1.3 -xf - >>> xlib_libxshmfence 1.3 Patching >>> xlib_libxshmfence 1.3 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-11/output-1/build/xlib_libxshmfence-1.3 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xlib_libxshmfence 1.3 Patching libtool patching file /tmp/instance-11/output-1/build/xlib_libxshmfence-1.3/ltmain.sh Hunk #1 succeeded at 2741 (offset 54 lines). Hunk #2 succeeded at 4331 (offset 54 lines). Hunk #3 succeeded at 6627 (offset 73 lines). Hunk #4 succeeded at 6637 (offset 73 lines). Hunk #5 succeeded at 6930 (offset 73 lines). Hunk #6 succeeded at 7222 (offset 73 lines). Hunk #7 succeeded at 8192 (offset 80 lines). Hunk #8 succeeded at 10822 (offset 112 lines). >>> xlib_libxshmfence 1.3 Configuring (cd /tmp/instance-11/output-1/build/xlib_libxshmfence-1.3/ && rm -rf config.cache && PATH="/tmp/instance-11/output-1/host/bin:/tmp/instance-11/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-11/output-1/host/bin/riscv32-linux-ar" AS="/tmp/instance-11/output-1/host/bin/riscv32-linux-as" LD="/tmp/instance-11/output-1/host/bin/riscv32-linux-ld" NM="/tmp/instance-11/output-1/host/bin/riscv32-linux-nm" CC="/tmp/instance-11/output-1/host/bin/riscv32-linux-gcc" GCC="/tmp/instance-11/output-1/host/bin/riscv32-linux-gcc" CPP="/tmp/instance-11/output-1/host/bin/riscv32-linux-cpp" CXX="/tmp/instance-11/output-1/host/bin/riscv32-linux-g++" FC="/tmp/instance-11/output-1/host/bin/riscv32-linux-gfortran" F77="/tmp/instance-11/output-1/host/bin/riscv32-linux-gfortran" RANLIB="/tmp/instance-11/output-1/host/bin/riscv32-linux-ranlib" READELF="/tmp/instance-11/output-1/host/bin/riscv32-linux-readelf" STRIP="/tmp/instance-11/output-1/host/bin/riscv32-linux-strip" OBJCOPY="/tmp/instance-11/output-1/host/bin/riscv32-linux-objcopy" OBJDUMP="/tmp/instance-11/output-1/host/bin/riscv32-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-11/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-11/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-11/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-11/output-1/host/lib -Wl,-rpath,/tmp/instance-11/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-11/output-1/host/bin/riscv32-linux-as" DEFAULT_LINKER="/tmp/instance-11/output-1/host/bin/riscv32-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/tmp/instance-11/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=riscv32-buildroot-linux-gnu --host=riscv32-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for riscv32-buildroot-linux-gnu-gcc... /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc accepts -g... yes checking for /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc understands -c and -o together... yes checking how to run the C preprocessor... /tmp/instance-11/output-1/host/bin/riscv32-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv32-buildroot-linux-gnu-strip... /tmp/instance-11/output-1/host/bin/riscv32-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... riscv32-buildroot-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc... /tmp/instance-11/output-1/host/bin/riscv32-linux-ld checking if the linker (/tmp/instance-11/output-1/host/bin/riscv32-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-11/output-1/host/bin/riscv32-linux-nm checking the name lister (/tmp/instance-11/output-1/host/bin/riscv32-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv32-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-11/output-1/host/bin/riscv32-linux-ld option to reload object files... -r checking for riscv32-buildroot-linux-gnu-objdump... /tmp/instance-11/output-1/host/bin/riscv32-linux-objdump checking how to recognize dependent libraries... pass_all checking for riscv32-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv32-buildroot-linux-gnu-ar... /tmp/instance-11/output-1/host/bin/riscv32-linux-ar checking for archiver @FILE support... @ checking for riscv32-buildroot-linux-gnu-strip... (cached) /tmp/instance-11/output-1/host/bin/riscv32-linux-strip checking for riscv32-buildroot-linux-gnu-ranlib... /tmp/instance-11/output-1/host/bin/riscv32-linux-ranlib checking command to parse /tmp/instance-11/output-1/host/bin/riscv32-linux-nm output from /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv32-buildroot-linux-gnu-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc static flag -static works... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc linker (/tmp/instance-11/output-1/host/bin/riscv32-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc option to accept ISO C99... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=unknown-warning-option... no checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=unused-command-line-argument... no checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wall... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wpointer-arith... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wmissing-declarations... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wformat=2... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wstrict-prototypes... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wmissing-prototypes... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wnested-externs... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wbad-function-cast... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wold-style-definition... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wdeclaration-after-statement... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wunused... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wuninitialized... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wshadow... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wmissing-noreturn... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wmissing-format-attribute... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wredundant-decls... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Wlogical-op... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=implicit... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=nonnull... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=init-self... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=main... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=missing-braces... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=sequence-point... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=return-type... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=trigraphs... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=array-bounds... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=write-strings... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=address... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -pedantic... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror... yes checking if /tmp/instance-11/output-1/host/bin/riscv32-linux-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking linux/futex.h usability... yes checking linux/futex.h presence... yes checking for linux/futex.h... yes checking for xproto... yes checking for memfd_create... yes checking whether __NR_memfd_create is declared... yes checking sys/memfd.h usability... no checking sys/memfd.h presence... no checking for sys/memfd.h... no checking for symbol visibility support... yes Checking temp dir /run/shm checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating xshmfence.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> xlib_libxshmfence 1.3 Building PATH="/tmp/instance-11/output-1/host/bin:/tmp/instance-11/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-11/output-1/build/xlib_libxshmfence-1.3/ make[1]: Entering directory '/tmp/instance-11/output-1/build/xlib_libxshmfence-1.3' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-11/output-1/build/xlib_libxshmfence-1.3' Making all in src make[3]: Entering directory '/tmp/instance-11/output-1/build/xlib_libxshmfence-1.3/src' CC xshmfence_alloc.lo CC xshmfence_futex.lo In file included from xshmfenceint.h:32, from xshmfence_alloc.c:27: xshmfence_futex.h: In function 'sys_futex': xshmfence_futex.h:58:17: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 58 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex xshmfence_futex.h:58:17: note: each undeclared identifier is reported only once for each function it appears in xshmfence_alloc.c: At top level: xshmfence_alloc.c:51: warning: "MFD_CLOEXEC" redefined 51 | #define MFD_CLOEXEC 0x0001U | In file included from /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/mman-linux.h:113, from /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/mman.h:32, from /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/sys/mman.h:41, from xshmfenceint.h:28, from xshmfence_alloc.c:27: /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/mman-shared.h:31: note: this is the location of the previous definition 31 | # define MFD_CLOEXEC 1U | xshmfence_alloc.c:52: warning: "MFD_ALLOW_SEALING" redefined 52 | #define MFD_ALLOW_SEALING 0x0002U | In file included from /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/mman-linux.h:113, from /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/mman.h:32, from /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/sys/mman.h:41, from xshmfenceint.h:28, from xshmfence_alloc.c:27: /tmp/instance-11/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/mman-shared.h:32: note: this is the location of the previous definition 32 | # define MFD_ALLOW_SEALING 2U | make[3]: *** [Makefile:473: xshmfence_alloc.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from xshmfenceint.h:32, from xshmfence_futex.c:27: xshmfence_futex.h: In function 'sys_futex': xshmfence_futex.h:58:17: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 58 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex xshmfence_futex.h:58:17: note: each undeclared identifier is reported only once for each function it appears in xshmfence_futex.h:59:1: error: control reaches end of non-void function [-Werror=return-type] 59 | } | ^ cc1: some warnings being treated as errors make[3]: *** [Makefile:473: xshmfence_futex.lo] Error 1 make[3]: Leaving directory '/tmp/instance-11/output-1/build/xlib_libxshmfence-1.3/src' make[2]: *** [Makefile:496: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-11/output-1/build/xlib_libxshmfence-1.3' make[1]: *** [Makefile:405: all] Error 2 make[1]: Leaving directory '/tmp/instance-11/output-1/build/xlib_libxshmfence-1.3' make: *** [package/pkg-generic.mk:270: /tmp/instance-11/output-1/build/xlib_libxshmfence-1.3/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-11/buildroot'