>>> zip 3.0 Extracting gzip -d -c /tmp/instance-0/dl/zip/zip30.tgz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/zip-3.0 -xf - >>> zip 3.0 Patching Applying 0001-configure-Remove-Check-C-compiler-type-optimization-.patch using patch: patching file unix/configure Applying 0002-configure-Don-t-use-host-CPP.patch using patch: patching file unix/configure Applying 0003-Makefile-Use-CFLAGS-from-command-line.patch using patch: patching file unix/Makefile Applying 0004-configure-use-LDFLAGS-from-command-line.patch using patch: patching file unix/configure Applying 0005-unix-configure-remove-GID-UID-size-check.patch using patch: patching file unix/configure Applying 0006-unix-configure-borrow-the-LFS-test-from-autotools.patch using patch: patching file unix/configure Applying 0007-timezone.c-needs-time.h-fixes-musl-compile.patch using patch: patching file timezone.c >>> zip 3.0 Configuring >>> zip 3.0 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ar" AS="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-as" LD="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ld" NM="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-nm" CC="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-g++" FC="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-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-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-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 -O2 -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -g0 -static" FFLAGS=" -O2 -g0 -static" PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl -C /tmp/instance-0/output-1/build/zip-3.0 CFLAGS="-D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT" AS="/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c" -f unix/Makefile generic make[1]: Entering directory '/tmp/instance-0/output-1/build/zip-3.0' sh unix/configure "/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" "-D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT" "" Check bzip2 support Check for bzip2 in bzip2 directory Check if OS already has bzip2 library installed -- OS supports bzip2 - linking in bzip2 Check for the C preprocessor Check if we can use asm code Check for ANSI options Check for prototypes Check the handling of const Check for time_t Check for size_t Check for off_t Check for Large File Support -- yes we have Large File Support! Check for wide char support -- have wchar_t - enabling Unicode support Check for gcc no-builtin flag Check for rmdir Check for strchr Check for strrchr Check for rename Check for mktemp Check for mktime Check for mkstemp Check for memset Check for memmove Check for strerror Check for errno declaration Check for directory libraries Check for readlink Check for directory include file Check for nonexistent include files Check for term I/O include file Check for valloc Check for /usr/local/bin and /usr/local/man Check for OS-specific flags Check for symbolic links eval /usr/bin/make -f unix/Makefile zips `cat flags` make[2]: Entering directory '/tmp/instance-0/output-1/build/zip-3.0' /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c /tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c unix/unix.c:70:14: error: conflicting types for 'DIR' 70 | typedef FILE DIR; | ^~~ In file included from unix/unix.c:29: /tmp/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/dirent.h:20:28: note: previous declaration of 'DIR' was here 20 | typedef struct __dirstream DIR; | ^~~ unix/unix.c: In function 'readdir': unix/unix.c:79:6: error: argument 'dirp' doesn't match prototype 79 | DIR *dirp; | ^~~~ In file included from unix/unix.c:29: /tmp/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/dirent.h:27:16: error: prototype declaration 27 | struct dirent *readdir(DIR *); | ^~~~~~~ unix/unix.c: In function 'readd': unix/unix.c:97:6: error: argument 'd' doesn't match prototype 97 | DIR *d; /* directory stream to read from */ | ^ unix/unix.c:62:13: error: prototype declaration 62 | local char *readd OF((DIR *)); | ^~~~~ unix/unix.c:103:15: warning: passing argument 1 of 'readdir' from incompatible pointer type [-Wincompatible-pointer-types] 103 | e = readdir(d); | ^ | | | DIR * {aka FILE *} unix/unix.c:79:6: note: expected 'DIR *' but argument is of type 'DIR *' {aka 'FILE *'} 79 | DIR *dirp; | ^~~~ unix/unix.c: In function 'procname': unix/unix.c:181:25: warning: passing argument 1 of 'readd' from incompatible pointer type [-Wincompatible-pointer-types] 181 | while ((e = readd(d)) != NULL) { | ^ | | | DIR * {aka FILE *} unix/unix.c:97:6: note: expected 'DIR *' but argument is of type 'DIR *' {aka 'FILE *'} 97 | DIR *d; /* directory stream to read from */ | ^ make[2]: *** [unix/Makefile:117: unix.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/zip-3.0' make[1]: *** [unix/Makefile:202: generic] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/zip-3.0' make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/zip-3.0/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'