CC src/feature/stats/predict_ports.o CC src/app/config/config.o CC src/app/config/quiet_level.o CC src/app/config/statefile.o CC src/app/main/main.o CC src/app/main/shutdown.o CC src/app/main/subsystem_list.o CC src/app/main/subsysmgr.o CC src/tools/tor_runner.o CC src/app/main/tor_main.o CC src/tools/tor-resolve.o CC src/tools/tor-print-ed-signing-cert.o CC src/tools/tor-gencert.o CC src/test/bench.o CC src/test/test_ntor_cl.o CC src/test/test_hs_ntor_cl.o AR src/ext/ed25519/ref10/libed25519_ref10.a AR src/ext/ed25519/donna/libed25519_donna.a AR src/ext/keccak-tiny/libkeccak-tiny.a AR src/lib/libtor-buf.a AR src/lib/libtor-err.a AR src/lib/libtor-ctime.a AR src/lib/libtor-compress.a AR src/lib/libtor-confmgt.a AR src/lib/libtor-container.a AR src/lib/libtor-crypt-ops.a AR src/lib/libtor-dispatch.a AR src/lib/libtor-evloop.a AR src/lib/libtor-encoding.a AR src/lib/libtor-fdio.a AR src/lib/libtor-fs.a AR src/lib/libtor-geoip.a AR src/lib/libtor-intmath.a AR src/lib/libcurve25519_donna.a AR src/lib/libtor-lock.a AR src/lib/libtor-log.a AR src/lib/libtor-math.a AR src/lib/libtor-memarea.a AR src/lib/libtor-meminfo.a AR src/lib/libtor-malloc.a AR src/lib/libtor-net.a AR src/lib/libtor-osinfo.a AR src/lib/libtor-process.a AR src/lib/libtor-pubsub.a AR src/lib/libtor-sandbox.a AR src/lib/libtor-string.a AR src/lib/libtor-smartlist-core.a AR src/lib/libtor-term.a AR src/lib/libtor-thread.a AR src/lib/libtor-time.a AR src/lib/libtor-tls.a AR src/lib/libtor-trace.a AR src/lib/libtor-version.a AR src/lib/libtor-wallclock.a AR src/trunnel/libor-trunnel.a AR src/tools/libtorrunner.a CCLD src/tools/tor-print-ed-signing-cert CCLD src/tools/tor-resolve CCLD src/tools/tor-gencert AR src/core/libtor-app.a CCLD src/test/bench CCLD src/app/tor CCLD src/test/test-ntor-cl CCLD src/test/test-hs-ntor-cl make[2]: Leaving directory '/tmp/instance-0/output-1/build/tor-0.4.3.6' make[1]: Leaving directory '/tmp/instance-0/output-1/build/tor-0.4.3.6' >>> tor 0.4.3.6 Installing to target 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 -j32 DESTDIR=/tmp/instance-0/output-1/target install -C /tmp/instance-0/output-1/build/tor-0.4.3.6/ make[1]: Entering directory '/tmp/instance-0/output-1/build/tor-0.4.3.6' make[2]: Entering directory '/tmp/instance-0/output-1/build/tor-0.4.3.6' /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/bin' /bin/mkdir -p '/tmp/instance-0/output-1/target/etc/tor' /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/doc/tor' /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/tor' /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/man/man1' /bin/mkdir -p '/tmp/instance-0/output-1/target/usr/bin' /usr/bin/install -c contrib/client-tools/torify '/tmp/instance-0/output-1/target/usr/bin' /usr/bin/install -c -m 644 doc/tor.html doc/tor-gencert.html doc/tor-resolve.html doc/torify.html doc/tor-print-ed-signing-cert.html '/tmp/instance-0/output-1/target/usr/share/doc/tor' /usr/bin/install -c -m 644 src/config/torrc.sample '/tmp/instance-0/output-1/target/etc/tor' /usr/bin/install -c -m 644 src/config/geoip src/config/geoip6 '/tmp/instance-0/output-1/target/usr/share/tor' /usr/bin/install -c src/app/tor src/tools/tor-resolve src/tools/tor-print-ed-signing-cert src/tools/tor-gencert '/tmp/instance-0/output-1/target/usr/bin' /usr/bin/install -c -m 644 doc/tor.1 doc/tor-gencert.1 doc/tor-resolve.1 doc/torify.1 doc/tor-print-ed-signing-cert.1 '/tmp/instance-0/output-1/target/usr/share/man/man1' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tor-0.4.3.6' make[1]: Leaving directory '/tmp/instance-0/output-1/build/tor-0.4.3.6' /usr/bin/install -D -m 644 /tmp/instance-0/output-1/build/tor-0.4.3.6/src/config/torrc.minimal /tmp/instance-0/output-1/target/etc/tor/torrc umtprd-1.3.6.tar.gz: OK (sha256: 5f6f9f2882597cd3767b12b0814fdfa27c0cb18ce32e3082176f9658be167a27) >>> umtprd 1.3.6 Extracting gzip -d -c /tmp/instance-0/dl/umtprd/umtprd-1.3.6.tar.gz | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/output-1/build/umtprd-1.3.6 -xf - >>> umtprd 1.3.6 Patching Applying 0001-Fix-the-missing-definitions-build-errors-warnings-on-some-systems.patch using patch: patching file src/usb_gadget.c Applying 0002-Fix-the-pthread-missing-definition-build-error-on-some-systems.patch using patch: patching file src/fs_handles_db.c patching file src/mtp_cfg.c patching file src/mtp_datasets.c patching file src/mtp_operations/mtp_op_sendobject.c patching file src/mtp_properties.c >>> umtprd 1.3.6 Configuring >>> umtprd 1.3.6 Building /usr/bin/make -j32 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/nds32le-linux-ar" AS="/tmp/instance-0/output-1/host/bin/nds32le-linux-as" LD="/tmp/instance-0/output-1/host/bin/nds32le-linux-ld" NM="/tmp/instance-0/output-1/host/bin/nds32le-linux-nm" CC="/tmp/instance-0/output-1/host/bin/nds32le-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/nds32le-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/nds32le-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/nds32le-linux-g++" FC="/tmp/instance-0/output-1/host/bin/nds32le-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/nds32le-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/nds32le-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/nds32le-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/nds32le-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/nds32le-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/nds32le-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-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/nds32le-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/nds32le-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 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no -C /tmp/instance-0/output-1/build/umtprd-1.3.6 make[1]: Entering directory '/tmp/instance-0/output-1/build/umtprd-1.3.6' /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/umtprd.o src/umtprd.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_support_def.o src/mtp_support_def.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/fs_handles_db.o src/fs_handles_db.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/usbstring.o src/usbstring.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/usb_gadget.o src/usb_gadget.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_cfg.o src/mtp_cfg.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/logs_out.o src/logs_out.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_constant_strings.o src/mtp_constant_strings.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_helpers.o src/mtp_helpers.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_properties.o src/mtp_properties.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_datasets.o src/mtp_datasets.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp.o src/mtp.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/msgqueue.o src/msgqueue.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/inotify.o src/inotify.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getdevicepropvalue.o src/mtp_operations/mtp_op_getdevicepropvalue.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_endeditobject.o src/mtp_operations/mtp_op_endeditobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjectpropssupported.o src/mtp_operations/mtp_op_getobjectpropssupported.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjectpropdesc.o src/mtp_operations/mtp_op_getobjectpropdesc.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjectreferences.o src/mtp_operations/mtp_op_getobjectreferences.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjecthandles.o src/mtp_operations/mtp_op_getobjecthandles.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/umtprd.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getdeviceinfos.o src/mtp_operations/mtp_op_getdeviceinfos.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_sendobjectinfo.o src/mtp_operations/mtp_op_sendobjectinfo.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_support_def.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/usbstring.c:42: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/usb_gadget.c:28: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_helpers.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/fs_handles_db.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_constant_strings.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_properties.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_cfg.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/logs_out.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_datasets.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getpartialobject.o src/mtp_operations/mtp_op_getpartialobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_begineditobject.o src/mtp_operations/mtp_op_begineditobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/inotify.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_getobjectpropssupported.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjectpropvalue.o src/mtp_operations/mtp_op_getobjectpropvalue.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/msgqueue.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE In file included from src/mtp_operations/mtp_op_getdevicepropvalue.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_endeditobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getstorageids.o src/mtp_operations/mtp_op_getstorageids.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_getobjectreferences.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getdevicepropdesc.o src/mtp_operations/mtp_op_getdevicepropdesc.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_getobjectpropdesc.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_setobjectpropvalue.o src/mtp_operations/mtp_op_setobjectpropvalue.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_getobjecthandles.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjectproplist.o src/mtp_operations/mtp_op_getobjectproplist.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_truncateobject.o src/mtp_operations/mtp_op_truncateobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_closesession.o src/mtp_operations/mtp_op_closesession.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_getdeviceinfos.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobject.o src/mtp_operations/mtp_op_getobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_getpartialobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_sendobjectinfo.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_getstorageids.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_setobjectpropvalue.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_getobjectpropvalue.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_getobjectproplist.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_begineditobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_getdevicepropdesc.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_closesession.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_truncateobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_getobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_deleteobject.o src/mtp_operations/mtp_op_deleteobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_ops_helpers.o src/mtp_operations/mtp_ops_helpers.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_deleteobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_ops_helpers.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_sendobject.o src/mtp_operations/mtp_op_sendobject.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getobjectinfo.o src/mtp_operations/mtp_op_getobjectinfo.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_sendobject.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_getstorageinfo.o src/mtp_operations/mtp_op_getstorageinfo.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o obj/mtp_op_opensession.o src/mtp_operations/mtp_op_opensession.c -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I./inc -lpthread -Wall -O3 In file included from src/mtp_operations/mtp_op_getobjectinfo.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition src/inotify.c: In function 'get_file_info.part.0.constprop': src/inotify.c:74:6: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy( fileinfo->filename, event->name, 256 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/mtp_operations/mtp_op_getstorageinfo.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition In file included from src/mtp_operations/mtp_op_opensession.c:26: ./inc/buildconf.h:1: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition src/fs_handles_db.c: In function 'fs_entry_stat': src/fs_handles_db.c:134:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(fileinfo->filename,&path[i],256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/msgqueue.c: In function 'send_message_queue': src/msgqueue.c:214:3: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] strncpy(msg_buf.mesg_text,message,sizeof(msg_buf.mesg_text)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-0/output-1/host/bin/nds32le-linux-gcc -o umtprd obj/umtprd.o obj/mtp_support_def.o obj/fs_handles_db.o obj/usbstring.o obj/usb_gadget.o obj/mtp_cfg.o obj/logs_out.o obj/mtp_constant_strings.o obj/mtp_helpers.o obj/mtp_properties.o obj/mtp_datasets.o obj/mtp.o obj/msgqueue.o obj/inotify.o obj/mtp_op_getdevicepropvalue.o obj/mtp_op_endeditobject.o obj/mtp_op_getobjectpropssupported.o obj/mtp_op_getobjectpropdesc.o obj/mtp_op_getobjectreferences.o obj/mtp_op_getobjecthandles.o obj/mtp_op_getdeviceinfos.o obj/mtp_op_sendobjectinfo.o obj/mtp_op_getpartialobject.o obj/mtp_op_begineditobject.o obj/mtp_op_getobjectpropvalue.o obj/mtp_op_getstorageids.o obj/mtp_op_getdevicepropdesc.o obj/mtp_op_setobjectpropvalue.o obj/mtp_op_getobjectproplist.o obj/mtp_op_truncateobject.o obj/mtp_op_closesession.o obj/mtp_op_getobject.o obj/mtp_op_deleteobject.o obj/mtp_ops_helpers.o obj/mtp_op_sendobject.o obj/mtp_op_getobjectinfo.o obj/mtp_op_getstorageinfo.o obj/mtp_op_opensession.o -lpthread make[1]: Leaving directory '/tmp/instance-0/output-1/build/umtprd-1.3.6' >>> umtprd 1.3.6 Installing to target /usr/bin/install -D -m 0755 /tmp/instance-0/output-1/build/umtprd-1.3.6/umtprd /tmp/instance-0/output-1/target/usr/sbin/umtprd >>> Finalizing host directory >>> Finalizing target directory grep -qsE '^/bin/bash$' /tmp/instance-0/output-1/target/etc/shells || echo "/bin/bash" >> /tmp/instance-0/output-1/target/etc/shells mkdir -p /tmp/instance-0/output-1/target/etc echo "buildroot" > /tmp/instance-0/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-0/output-1/target/etc/hosts mkdir -p /tmp/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-0/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-0/output-1/target/etc/shadow rm -f /tmp/instance-0/output-1/target/bin/sh printf '%s\n' C en_US locale-archive > /tmp/instance-0/output-1/build/locales.nopurge for dir in /tmp/instance-0/output-1/target/usr/share/locale /tmp/instance-0/output-1/target/usr/share/X11/locale /tmp/instance-0/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-0/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-0/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-0/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-0/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-0/output-1/target/usr/include /tmp/instance-0/output-1/target/usr/share/aclocal \ /tmp/instance-0/output-1/target/usr/lib/pkgconfig /tmp/instance-0/output-1/target/usr/share/pkgconfig \ /tmp/instance-0/output-1/target/usr/lib/cmake /tmp/instance-0/output-1/target/usr/share/cmake \ /tmp/instance-0/output-1/target/usr/doc find /tmp/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-0/output-1/target/lib/ /tmp/instance-0/output-1/target/usr/lib/ /tmp/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f rm -rf /tmp/instance-0/output-1/target/usr/share/gdb rm -rf /tmp/instance-0/output-1/target/usr/share/zsh rm -rf /tmp/instance-0/output-1/target/usr/man /tmp/instance-0/output-1/target/usr/share/man rm -rf /tmp/instance-0/output-1/target/usr/info /tmp/instance-0/output-1/target/usr/share/info rm -rf /tmp/instance-0/output-1/target/usr/doc /tmp/instance-0/output-1/target/usr/share/doc rm -rf /tmp/instance-0/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-0/output-1/target/lib/debug /tmp/instance-0/output-1/target/usr/lib/debug find /tmp/instance-0/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-0/output-1/host/bin/nds32le-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-0/output-1/host/bin/nds32le-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-0/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-0/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2020.08-rc2-261-gaf6cffb64e"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2020.11-git"; \ echo "PRETTY_NAME=\"Buildroot 2020.11-git\"" \ ) > /tmp/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-0/output-1/per-package /tmp/instance-0/buildroot/support/scripts/fix-rpath target touch /tmp/instance-0/output-1/target/usr ln -snf /tmp/instance-0/output-1/host/nds32le-buildroot-linux-gnu/sysroot /tmp/instance-0/output-1/staging make: Leaving directory '/tmp/instance-0/buildroot' make: Entering directory '/tmp/instance-0/buildroot' >>> Buildroot 2020.08-rc2-261-gaf6cffb64e Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> host-tar 1.29 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-andes-nds32 Collecting legal info >>> toolchain Collecting legal info >>> bash 5.0 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-bison 3.6.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> readline 8.0 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> bridge-utils 1.7 Collecting legal info COPYING: OK (sha256: 995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> corkscrew 2.0 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> cpuload 0.3 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> dehydrated 0.6.5 Collecting legal info LICENSE: OK (sha256: b4583b7dd07e3e2a08906de38e7e329d41f921ed9dcb6310b3886e013a6b8723) >>> freetype 2.10.2 Collecting legal info docs/LICENSE.TXT: OK (sha256: fd056de4196903a676208ef58cfddafc7d583d1f28fa2e44c309cf84a59e62fb) docs/FTL.TXT: OK (sha256: 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1) docs/GPLv2.TXT: OK (sha256: c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18) >>> host-pkgconf 1.6.1 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> gawk 5.1.0 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-gawk 5.1.0 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> genext2fs 1.4.1 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> gzip 1.10 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> libass 0.14.0 Collecting legal info COPYING: OK (sha256: f7e30699d02798351e7f839e3d3bfeb29ce65e44efa7735c225464c4fd7dfe9c) >>> libfribidi 1.0.9 Collecting legal info COPYING: OK (sha256: 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b) >>> libcap-ng 0.7.11 Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYING.LIB: OK (sha256: f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa) >>> libcurl 7.72.0 Collecting legal info COPYING: OK (sha256: db3c4a3b3695a0f317a0c5176acd2f656d18abc45b3ee78e50935a78eb1e132e) >>> openssl Collecting legal info >>> libopenssl 1.1.1g Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> libevent 2.1.12 Collecting legal info LICENSE: OK (sha256: ff02effc9b331edcdac387d198691bfa3e575e7d244ad10cb826aa51ef085670) >>> libfreefare 0.4.0 Collecting legal info COPYING: OK (sha256: be6209dfd763a0ba77fbe990cfd2512804441d8b5f0cad927baa3341b50fcade) >>> libnfc 1.8.0 Collecting legal info COPYING: OK (sha256: 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1) >>> libmicrohttpd 0.9.71 Collecting legal info COPYING: OK (sha256: 7399547209438c93f9b90297954698773d4846cea44cde5ca982c84c45952a3b) >>> libpcap 1.9.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> libscrypt 1.21 Collecting legal info LICENSE: OK (sha256: aacbfd9e19e5b38ea09616cebf0751ef0cc7b6a19ea0fd78f4b0598b2c503394) >>> libupnp 1.6.25 Collecting legal info LICENSE: OK (sha256: 0375955c8a79d6e8fa0792d45d00fc4e7710d7ac95bcbd27f9225a83f5c946fd) >>> openvpn 2.4.9 Collecting legal info COPYRIGHT.GPL: OK (sha256: 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043) >>> p910nd 0.97 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> tcpdump 4.9.3 Collecting legal info LICENSE: OK (sha256: 9b03d5d13e66d6de02a4bb2d0dd1cb9f41808d045962cdcc42350d5291b141a1) >>> tor 0.4.3.6 Collecting legal info LICENSE: OK (sha256: ae2afe6cd3fd9d512afbaa1ef218757eb00aa6b6aa5e2dfc2774b6837e373fa1) >>> umtprd 1.3.6 Collecting legal info LICENSE: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-andes-nds32: cannot save license (TOOLCHAIN_EXTERNAL_ANDES_NDS32_LICENSE_FILES not defined) Legal info produced in /tmp/instance-0/output-1/legal-info make: Leaving directory '/tmp/instance-0/buildroot'