Applying /builder/shared-workdir/build/sdk/feeds/packages/utils/openocd/patches/0001-jtag-linuxgpiod-adapt-for-libgpiod-v2-API.patch using plaintext: patching file configure.ac patching file src/jtag/drivers/linuxgpiod.c autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal -I m4 -I . --force autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory jimtcl to autoreconf autoreconf: Entering directory 'jimtcl' autoreconf: neither configure.ac nor configure.in present in jimtcl autoreconf: Leaving directory 'jimtcl' autoreconf: configure.ac: adding subdirectory src/jtag/drivers/libjaylink to autoreconf autoreconf: Entering directory 'src/jtag/drivers/libjaylink' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --copy --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. OpenWrt-libtoolize: copying file 'build-aux/compile' OpenWrt-libtoolize: copying file 'build-aux/config.guess' OpenWrt-libtoolize: copying file 'build-aux/config.sub' OpenWrt-libtoolize: copying file 'build-aux/depcomp' OpenWrt-libtoolize: copying file 'build-aux/install-sh' OpenWrt-libtoolize: copying file 'build-aux/missing' OpenWrt-libtoolize: copying file 'build-aux/ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: copying file 'm4/libtool.m4' OpenWrt-libtoolize: copying file 'm4/ltoptions.m4' OpenWrt-libtoolize: copying file 'm4/ltsugar.m4' OpenWrt-libtoolize: copying file 'm4/ltversion.m4' OpenWrt-libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --copy --force-missing configure.ac:44: installing 'build-aux/ar-lib' autoreconf: Leaving directory 'src/jtag/drivers/libjaylink' autoreconf: configure.ac: creating directory build-aux autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --copy --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. OpenWrt-libtoolize: copying file 'build-aux/compile' OpenWrt-libtoolize: copying file 'build-aux/config.guess' OpenWrt-libtoolize: copying file 'build-aux/config.sub' OpenWrt-libtoolize: copying file 'build-aux/depcomp' OpenWrt-libtoolize: copying file 'build-aux/install-sh' OpenWrt-libtoolize: copying file 'build-aux/missing' OpenWrt-libtoolize: copying file 'build-aux/ltmain.sh' OpenWrt-libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, OpenWrt-libtoolize: and rerunning libtoolize and aclocal. OpenWrt-libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. OpenWrt-libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal -I m4 -I . --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --copy --force-missing Makefile.am:26: installing 'build-aux/mdate-sh' Makefile.am:26: installing 'build-aux/texinfo.tex' autoreconf: Leaving directory '.' configure: loading site script /builder/shared-workdir/build/sdk/include/site/powerpc checking for makeinfo... true checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/ginstall -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for powerpc-openwrt-linux-strip... powerpc-openwrt-linux-musl-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for powerpc-openwrt-linux-gcc... powerpc-openwrt-linux-musl-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 the compiler supports GNU C... yes checking whether powerpc-openwrt-linux-musl-gcc accepts -g... yes checking for powerpc-openwrt-linux-musl-gcc option to enable C23 features... -std=gnu23 checking whether make supports the include directive... yes (GNU style) checking dependency style of powerpc-openwrt-linux-musl-gcc -std=gnu23... none checking for powerpc-openwrt-linux-ranlib... powerpc-openwrt-linux-musl-gcc-ranlib checking pkg-config is at least version 0.23... yes checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc-openwrt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by powerpc-openwrt-linux-musl-gcc -std=gnu23... powerpc-openwrt-linux-musl-ld.bfd checking if the linker (powerpc-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... powerpc-openwrt-linux-musl-gcc-nm checking the name lister (powerpc-openwrt-linux-musl-gcc-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 powerpc-openwrt-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 powerpc-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for file... file checking for powerpc-openwrt-linux-objdump... powerpc-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for powerpc-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc-openwrt-linux-ar... powerpc-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for powerpc-openwrt-linux-strip... (cached) powerpc-openwrt-linux-musl-strip checking command to parse powerpc-openwrt-linux-musl-gcc-nm output from powerpc-openwrt-linux-musl-gcc -std=gnu23 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for powerpc-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -fno-rtti -fno-exceptions... no checking for powerpc-openwrt-linux-musl-gcc -std=gnu23 option to produce PIC... -fPIC -DPIC checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 PIC flag -fPIC -DPIC works... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 static flag -static works... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -c -o file.o... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -c -o file.o... (cached) yes checking whether the powerpc-openwrt-linux-musl-gcc -std=gnu23 linker (powerpc-openwrt-linux-musl-ld.bfd) supports shared libraries... yes 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... no checking whether to build static libraries... yes checking for an ANSI C-conforming const... yes checking for unsigned long long int... yes checking for long long int... yes checking for library containing ioperm... none required checking for library containing dlopen... none required checking for library containing openpty... none required checking for sys/socket.h... yes checking for elf.h... yes checking how to run the C preprocessor... powerpc-openwrt-linux-musl-gcc -std=gnu23 -E checking for egrep -e... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fcntl.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for poll.h... yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking for sys/sysctl.h... no checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking whether to enable assertions... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking whether byte ordering is bigendian... (cached) yes checking for strndup... yes checking for strnlen... yes checking for gettimeofday... (cached) yes checking for usleep... yes checking for realpath... yes checking whether to build a release... yes checking whether to build Doxygen as HTML... yes checking whether to build Doxygen as PDF... no checking whether to enable verbose USB I/O messages... no checking whether to enable verbose USB communication messages... no checking whether to enable malloc free space logging... no checking for libusb-1.0... no configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing libusb-1.x instead checking for capstone... no checking for hidapi... no checking for hidapi-hidraw... no checking for hidapi-libusb... no checking for libftdi1... no checking for libftdi... no checking for libgpiod >= 2.0 ... yes checking for libjaylink >= 0.2... no checking for environ in unistd.h and stdlib.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in jimtcl (/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/jimtcl) configure: running /bin/bash ./configure.gnu --disable-option-checking '--prefix=/usr' '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--disable-dependency-tracking' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--disable-werror' 'MAKEINFO=true' '--enable-dummy' '--enable-sysfsgpio' '--enable-linuxgpiod' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0=openocd-0.12.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DRELSTR=\"-0.12.0-1-OpenWrt\" ' 'LDFLAGS=-L/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/lib -fuse-ld=bfd -znow -zrelro ' 'CPPFLAGS=-I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify ' 'PKG_CONFIG=/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/lib/pkgconfig:/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/lib/pkgconfig:/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. No installed jimsh or tclsh, building local bootstrap jimsh0 Host System...powerpc-openwrt-linux-gnu Build System...x86_64-pc-linux-gnu C compiler...ccache powerpc-openwrt-linux-musl-gcc -Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0=openocd-0.12.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DRELSTR=\"-0.12.0-1-OpenWrt\" C++ compiler...ccache powerpc-openwrt-linux-musl-g++ -Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0=openocd-0.12.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DRELSTR=\"-0.12.0-1-OpenWrt\" Build C compiler...cc Checking for stdlib.h...ok Checking for long long...ok Checking for sizeof int...4 Checking for time.h...ok Checking for sys/time.h...ok Checking for sys/socket.h...ok Checking for netinet/in.h...ok Checking for arpa/inet.h...ok Checking for netdb.h...ok Checking for util.h...not found Checking for pty.h...ok Checking for sys/un.h...ok Checking for dlfcn.h...ok Checking for unistd.h...ok Checking for dirent.h...ok Checking for crt_externs.h...not found Checking for execinfo.h...not found Checking for sizeof time_t...8 Checking libs for inet_ntop...none needed Checking libs for socket...none needed Checking for ualarm...ok Checking for lstat...ok Checking for fork...ok Checking for vfork...ok Checking for system...ok Checking for select...ok Checking for execvpe...ok Checking for geteuid...ok Checking for mkstemp...ok Checking for realpath...ok Checking for isatty...ok Checking for regcomp...ok Checking for waitpid...ok Checking for sigaction...ok Checking for sys_signame...not found Checking for sys_siglist...not found Checking for isascii...ok Checking for syslog...ok Checking for opendir...ok Checking for readlink...ok Checking for sleep...ok Checking for usleep...ok Checking for pipe...ok Checking for getaddrinfo...ok Checking for utimes...ok Checking for shutdown...ok Checking for socketpair...ok Checking for isinf...not found Checking for isnan...not found Checking for link...ok Checking for symlink...ok Checking for fsync...ok Checking for dup...ok Checking for umask...ok Checking for localtime...ok Checking for gmtime...ok Checking for strptime...ok Checking for clock_gettime...ok Checking libs for backtrace...no Checking libs for openpty...none needed Checking for sysinfo...ok Checking for struct sysinfo.uptime...ok Checking for struct stat.st_mtimespec...not found Checking for struct stat.st_mtim...ok Checking for struct flock...ok Checking for sys/types.h...(cached) ok Checking if -D_FILE_OFFSET_BITS=64 is needed...no Checking for fseeko...ok Checking for ftello...ok Checking for make...ok Checking for asciidoc...no Checking for sed...ok Checking for _NSGetEnviron...not found Checking environ declared in unistd.h...yes Checking for sys/types.h...(cached) ok Checking for sys/stat.h...(cached) ok Checking for mkdir with one arg...no Checking for S_IXUSR...ok Checking for S_IRWXG...ok Checking for S_IRWXO...ok Checking for termios.h...ok Enabling line editing Checking for inline support...yes Enabling references Building static library Extension jsonencode...enabled Extension json...enabled Extension aio...enabled Extension array...enabled Extension clock...enabled Extension eventloop...enabled Extension exec...enabled Extension file...enabled Extension readdir...enabled Extension glob...enabled Extension history...enabled Extension interp...enabled Checking libs for dlopen...none needed Extension load...enabled Extension nshelper...enabled Extension namespace...enabled Extension oo...enabled Extension pack...enabled Extension package...enabled Extension posix...enabled Extension regexp...enabled Extension signal...enabled Extension stdlib...enabled Extension syslog...enabled Extension tclcompat...enabled Extension tree...enabled Using built-in regexp Jim static extensions: aio array clock eventloop exec file glob history interp json jsonencode load namespace nshelper oo pack package posix readdir regexp signal stdlib syslog tclcompat tree Created jim-config.h Created jimautoconf.h Created Makefile from Makefile.in Created tests/Makefile from tests/Makefile.in Created examples.api/Makefile from examples.api/Makefile.in Created build-jim-ext from build-jim-ext.in Created jimtcl.pc from jimtcl.pc.in === configuring in src/jtag/drivers/libjaylink (/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink) configure: running /bin/bash ./configure.gnu --disable-option-checking '--prefix=/usr' '--target=powerpc-openwrt-linux' '--host=powerpc-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--disable-dependency-tracking' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--disable-werror' 'MAKEINFO=true' '--enable-dummy' '--enable-sysfsgpio' '--enable-linuxgpiod' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=powerpc-openwrt-linux' 'target_alias=powerpc-openwrt-linux' 'CC=powerpc-openwrt-linux-musl-gcc' 'CFLAGS=-Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0=openocd-0.12.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DRELSTR=\"-0.12.0-1-OpenWrt\" ' 'LDFLAGS=-L/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/lib -fuse-ld=bfd -znow -zrelro ' 'CPPFLAGS=-I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify ' 'PKG_CONFIG=/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/lib/pkgconfig:/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/lib/pkgconfig:/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/pkgconfig' --cache-file=/dev/null --srcdir=. configure: loading site script /builder/shared-workdir/build/sdk/include/site/powerpc checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc-openwrt-linux-gnu checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/ginstall -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for powerpc-openwrt-linux-strip... powerpc-openwrt-linux-musl-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for powerpc-openwrt-linux-gcc... powerpc-openwrt-linux-musl-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 the compiler supports GNU C... yes checking whether powerpc-openwrt-linux-musl-gcc accepts -g... yes checking for powerpc-openwrt-linux-musl-gcc option to enable C23 features... -std=gnu23 checking whether make supports the include directive... yes (GNU style) checking dependency style of powerpc-openwrt-linux-musl-gcc -std=gnu23... none checking for powerpc-openwrt-linux-ar... powerpc-openwrt-linux-musl-gcc-ar checking the archiver (powerpc-openwrt-linux-musl-gcc-ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by powerpc-openwrt-linux-musl-gcc -std=gnu23... powerpc-openwrt-linux-musl-ld.bfd checking if the linker (powerpc-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... powerpc-openwrt-linux-musl-gcc-nm checking the name lister (powerpc-openwrt-linux-musl-gcc-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 powerpc-openwrt-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 powerpc-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for file... file checking for powerpc-openwrt-linux-objdump... powerpc-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for powerpc-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc-openwrt-linux-ranlib... powerpc-openwrt-linux-musl-gcc-ranlib checking for powerpc-openwrt-linux-ar... (cached) powerpc-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for powerpc-openwrt-linux-strip... (cached) powerpc-openwrt-linux-musl-strip checking command to parse powerpc-openwrt-linux-musl-gcc-nm output from powerpc-openwrt-linux-musl-gcc -std=gnu23 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for powerpc-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -fno-rtti -fno-exceptions... no checking for powerpc-openwrt-linux-musl-gcc -std=gnu23 option to produce PIC... -fPIC -DPIC checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 PIC flag -fPIC -DPIC works... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 static flag -static works... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -c -o file.o... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -c -o file.o... (cached) yes checking whether the powerpc-openwrt-linux-musl-gcc -std=gnu23 linker (powerpc-openwrt-linux-musl-ld.bfd) 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... yes checking pkg-config is at least version 0.9.0... yes checking for libusb-1.0 >= 1.0.16... no checking whether byte ordering is bigendian... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libjaylink/Makefile config.status: creating libjaylink/version.h config.status: creating libjaylink.pc config.status: creating Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands libjaylink configuration summary: - Package version ................ 0.3.1 - Library version ................ 2:0:2 - Installation prefix ............ /usr - Building on .................... x86_64-pc-linux-gnu - Building for ................... powerpc-openwrt-linux-gnu Enabled transports: - USB ............................ no (missing: libusb-1.0) - TCP ............................ yes OpenOCD configuration summary -------------------------------------------------- MPSSE mode of FTDI based devices no ST-Link Programmer no TI ICDI JTAG Programmer no Keil ULINK JTAG Programmer no Altera USB-Blaster II Compatible no Bitbang mode of FT232R based devices no Versaloon-Link JTAG Programmer no TI XDS110 Debug Probe no CMSIS-DAP v2 Compliant Debugger no OSBDM (JTAG only) Programmer no eStick/opendous JTAG Programmer no Olimex ARM-JTAG-EW Programmer no Raisonance RLink JTAG Programmer no USBProg JTAG Programmer no Espressif JTAG Programmer no Andes JTAG Programmer (deprecated) no CMSIS-DAP Compliant Debugger no Nu-Link Programmer no Cypress KitProg Programmer no Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no Linux GPIO bitbang through libgpiod yes SEGGER J-Link Programmer yes (auto) Bus Pirate yes (auto) Use Capstone disassembly framework no make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0' mkdir -p src cat src/helper/startup.tcl src/jtag/startup.tcl src/target/startup.tcl src/server/startup.tcl src/flash/startup.tcl | ./src/helper/bin2char.sh > src/startup_tcl.inc || { rm -f src/startup_tcl.inc; false; } make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0' Making all in jimtcl make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/jimtcl' MKLDEXT _load-static-exts.c CC jim-subcmd.o CC jim-interactive.o CC jim-format.o CC jim.o CC utf8.o CC jimregexp.o CC jimiocompat.o CC linenoise.o CC jim-tty.o CC jsmn/jsmn.o CC jim-aio.o CC jim-array.o CC jim-clock.o CC jim-eventloop.o CC jim-exec.o CC jim-file.o CC jim-history.o CC jim-interp.o CC jim-json.o CC jim-load.o CC jim-namespace.o CC jim-pack.o CC jim-package.o CC jim-posix.o CC jim-readdir.o CC jim-regexp.o CC jim-signal.o CC jim-syslog.o TCLEXT _glob.c CC glob.o TCLEXT _jsonencode.c CC jsonencode.o TCLEXT _nshelper.c CC nshelper.o TCLEXT _oo.c CC oo.o TCLEXT _stdlib.c CC stdlib.o TCLEXT _tclcompat.c CC tclcompat.o TCLEXT _tree.c CC tree.o CC jimsh.o TCLEXT _initjimsh.c CC initjimsh.o CC _load-static-exts.o AR libjim.a LINK jimsh make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/jimtcl' Making all in src/jtag/drivers/libjaylink make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink' make all-recursive make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink' Making all in libjaylink make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink/libjaylink' /bin/bash ../libtool --tag=CC --silent --mode=compile powerpc-openwrt-linux-musl-gcc -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify -Wall -Wextra -Werror -fvisibility=hidden -Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0=openocd-0.12.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DRELSTR=\"-0.12.0-1-OpenWrt\" -c -o libjaylink_la-buffer.lo `test -f 'buffer.c' || echo './'`buffer.c /bin/bash ../libtool --tag=CC --silent --mode=compile powerpc-openwrt-linux-musl-gcc -std=gnu23 -DHAVE_CONFIG_H -I. -I.. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify -Wall -Wextra -Werror -fvisibility=hidden -Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0=openocd-0.12.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DRELSTR=\"-0.12.0-1-OpenWrt\" -c -o libjaylink_la-core.lo `test -f 'core.c' || echo './'`core.c In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/stdlib.h:27, from core.c:24: /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[8]: *** [Makefile:564: libjaylink_la-core.lo] Error 1 make[8]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink/libjaylink' make[7]: *** [Makefile:484: all-recursive] Error 1 make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink' make[6]: *** [Makefile:391: all] Error 2 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/src/jtag/drivers/libjaylink' make[5]: *** [Makefile:5011: all-recursive] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0' make[4]: *** [Makefile:2119: all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0' make[3]: *** [Makefile:98: /builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/openocd-0.12.0/.built] Error 2 time: package/feeds/packages/openocd/compile#139.09#23.66#606.93