| ^~~~~ core/cpio_utils.c:146:26: note: format string is defined here 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:99:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 99 | "ERROR : " format, ## arg); \ | ^~~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:4: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:146:26: note: format string is defined here 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u In file included from core/cpio_utils.c:22: include/util.h:103:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 103 | "[%s] : " format, __func__, ## arg); \ | ^~~~~~~~~ include/util.h:110:2: note: in expansion of macro 'swupdate_notify' 110 | swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) | ^~~~~~~~~~~~~~~ core/cpio_utils.c:146:4: note: in expansion of macro 'ERROR' 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ^~~~~ core/cpio_utils.c:146:26: note: format string is defined here 146 | ERROR("cannot write %lu bytes: %s", len, strerror(errno)); | ~~^ | | | long unsigned int | %u CC core/bootloader.o CC core/install_from_file.o CC bootloader/none.o LD ipc/built-in.o CC corelib/multipart_parser.o CC corelib/parsing_library_libconfig.o CC corelib/swupdate_settings.o LD bootloader/built-in.o AR mongoose/lib.a LD handlers/built-in.o CC parser/parse_external.o CC core/util.o AR suricatta/lib.a CC core/parser.o CC core/pctl.o CC core/state.o CC parser/parser.o AR fs/lib.a AR corelib/lib.a CC core/syslog.o CC core/installer.o CC core/network_thread.o CC tools/swupdate-client.o CC tools/swupdate-ipc.o CC tools/swupdate-progress.o CC core/stream_interface.o CC core/progress_thread.o CC core/parsing_library.o CC core/artifacts_versions.o AR tools/lib.a CC core/swupdate_dict.o LD libswupdate.so.0.1 CC core/semver.o AR parser/lib.a CC core/strlcpy.o LD core/built-in.o LD swupdate_unstripped LD tools/swupdate-ipc LD tools/swupdate-client LD tools/swupdate-progress echo tools/swupdate-ipc echo tools/swupdate-client echo swupdate echo tools/swupdate-progress >>> swupdate 2022.05 Installing to target PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc" SKIP_STRIP=y HAVE_LIBEXT2FS=n HAVE_JSON_C=n HAVE_LIBARCHIVE=n HAVE_LIBBLKID=n HAVE_LIBCONFIG=y HAVE_LIBCURL=n HAVE_LIBFDISK=n HAVE_LIBGPIOD=n HAVE_URIPARSER=n HAVE_LIBWEBSOCKETS=n HAVE_LUA=n HAVE_MBEDTLS=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=n HAVE_LIBCRYPTO=n HAVE_P11KIT=n HAVE_LIBSYSTEMD=n HAVE_WOLFSSL=n HAVE_ZCK=n HAVE_LIBZEROMQ=n HAVE_ZLIB=n HAVE_ZSTD=n HAVE_LIBRSYNC=n /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05 CROSS_COMPILE="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-" CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CONFIG_EXTRA_LDFLAGS="" DESTDIR=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target install make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' install -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/bin install -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/include install -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib install -m 755 swupdate /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/bin for i in tools/swupdate-ipc tools/swupdate-client tools/swupdate-progress;do \ install -m 755 $i /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/bin; \ done install -m 0644 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/include/network_ipc.h /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/include install -m 0644 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/include/swupdate_status.h /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/include install -m 0644 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/include/progress_ipc.h /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/include install -m 0755 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05/libswupdate.so.0.1 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib ln -sfr /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib/libswupdate.so.0.1 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib/libswupdate.so if [ n = y ]; then \ install -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib/lua/; \ install -m 0755 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib/lua/; \ ln -sf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target//usr/lib/lua//lua_swupdate.so; \ fi make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/swupdate-2022.05' ushare-2.1.tar.gz: OK (sha256: e4563141a171138900540cc979f205cf666e820f709d47a98521bc77f53a99e6) >>> ushare 2.1 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/dl/ushare/ushare-2.1.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1 -xf - >>> ushare 2.1 Patching Applying 0001-Don-t-build-po-files-if-NLS-is-disabled.patch using patch: patching file Makefile patching file configure >>> ushare 2.1 Configuring (cd /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1; PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" AR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc-ar" AS="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-as" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-ld" NM="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc-nm" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc" GCC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc" CPP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-cpp" CXX="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-g++" FC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gfortran" F77="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gfortran" RANLIB="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc-ranlib" READELF="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-readelf" STRIP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-strip" OBJCOPY="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-objcopy" OBJDUMP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-as" DEFAULT_LINKER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-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 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ./configure --prefix=/usr --cross-compile --cross-prefix="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-" --sysconfdir=/etc --disable-strip --disable-nls ) Checking for compiler available... Checking for locales ... Checking for ifaddrs ... Checking for langinfo ... Checking for iconv ... Checking for libixml ... Checking for libupnp >= 1.4.2 ... uShare: configure is OK version 1.1a using libupnp 1.14.12 configuration: install prefix /usr configuration dir /etc locales dir ${PREFIX}/share/locale NLS support no DLNA support no C compiler /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc STRIP /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-strip make make CPU x86_64 () debug symbols no strip symbols no optimize yes CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp LDFLAGS extralibs -lixml -lpthread -lupnp -pthread -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib Creating config.mak ... Creating config.h ... >>> ushare 2.1 Building PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" /usr/bin/make -j8 LDFLAGS=" " -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1 make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1' for subdir in scripts src ; do \ make -C $subdir all; \ done make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/scripts' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/scripts' make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/src' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -I.. -MM cds.c cms.c msr.c http.c presentation.c metadata.c mime.c services.c buffer.c util_iconv.c content.c cfgparser.c trace.c redblack.c osdep.c ctrl_telnet.c ushare.c 1>.depend /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o cds.o cds.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o cms.o cms.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o msr.o msr.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o http.o http.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o presentation.o presentation.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o metadata.o metadata.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o mime.o mime.c cds.c: In function 'didl_add_value': cds.c:271:33: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 271 | buffer_appendf (out, " %s=\"%zu\"", param, value); | ~~^ ~~~~~ | | | | unsigned int off_t {aka long long int} | %llu cds.c: In function 'cds_browse': cds.c:485:43: warning: variable 'sort_criteria' set but not used [-Wunused-but-set-variable] 485 | int result_count = 0, index, count, id, sort_criteria; | ^~~~~~~~~~~~~ cds.c: In function 'cds_search': cds.c:805:43: warning: variable 'sort_criteria' set but not used [-Wunused-but-set-variable] 805 | int result_count = 0, index, count, id, sort_criteria; | ^~~~~~~~~~~~~ In file included from cds.c:28: cds.c: At top level: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In file included from msr.c:24: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In file included from metadata.c:38: trace.h:32:13: warning: inline function 'start_log' declared but never defined 32 | inline void start_log (void); | ^~~~~~~~~ In file included from metadata.h:29, from metadata.c:34: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In file included from cms.c:28: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In file included from metadata.h:29, from presentation.c:30: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ cds.c: In function 'matches_search': cds.c:615:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 615 | strncpy (keyword, search_criteria | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 616 | + strlen (SEARCH_PROTOCOL_CONTAINS_KEYWORD), sizeof (keyword)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cds.c:604:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 604 | strncpy (keyword, search_criteria | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | + strlen (SEARCH_CLASS_DERIVED_KEYWORD), sizeof (keyword)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cds.c:593:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 593 | strncpy (keyword, search_criteria | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 594 | + strlen (SEARCH_CLASS_MATCH_KEYWORD), sizeof (keyword)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from http.c:42: http.c: In function 'http_seek': trace.h:52:28: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] 52 | print_log (ULOG_VERBOSE, (s), ##str); \ | ^~~ http.c:318:5: note: in expansion of macro 'log_verbose' 318 | log_verbose ("Attempting to seek to %zu (was at %zu) in %s\n", | ^~~~~~~~~~~ trace.h:52:28: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 52 | print_log (ULOG_VERBOSE, (s), ##str); \ | ^~~ http.c:318:5: note: in expansion of macro 'log_verbose' 318 | log_verbose ("Attempting to seek to %zu (was at %zu) in %s\n", | ^~~~~~~~~~~ trace.h:52:28: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] 52 | print_log (ULOG_VERBOSE, (s), ##str); \ | ^~~ http.c:323:5: note: in expansion of macro 'log_verbose' 323 | log_verbose ("Attempting to seek by %zu from %zu in %s\n", | ^~~~~~~~~~~ trace.h:52:28: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 52 | print_log (ULOG_VERBOSE, (s), ##str); \ | ^~~ http.c:323:5: note: in expansion of macro 'log_verbose' 323 | log_verbose ("Attempting to seek by %zu from %zu in %s\n", | ^~~~~~~~~~~ trace.h:52:28: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'off_t' {aka 'long long int'} [-Wformat=] 52 | print_log (ULOG_VERBOSE, (s), ##str); \ | ^~~ http.c:328:5: note: in expansion of macro 'log_verbose' 328 | log_verbose ("Attempting to seek by %zu from end (was at %zu) in %s\n", | ^~~~~~~~~~~ trace.h:52:28: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 52 | print_log (ULOG_VERBOSE, (s), ##str); \ | ^~~ http.c:328:5: note: in expansion of macro 'log_verbose' 328 | log_verbose ("Attempting to seek by %zu from end (was at %zu) in %s\n", | ^~~~~~~~~~~ http.c: At top level: trace.h:32:13: warning: inline function 'start_log' declared but never defined 32 | inline void start_log (void); | ^~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o services.o services.c In file included from services.h:27, from http.c:35: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In file included from mime.c:27: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In function 'cms_get_protocol_info', inlined from 'cms_get_protocol_info' at cms.c:87:1: cms.c:117:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 117 | strncpy (respPtr, protocol, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cms.c: In function 'cms_get_protocol_info': cms.c:116:11: note: length computed here 116 | len = strlen (protocol); | ^~~~~~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o buffer.o buffer.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o util_iconv.o util_iconv.c In file included from services.c:33: trace.h:32:13: warning: inline function 'start_log' declared but never defined 32 | inline void start_log (void); | ^~~~~~~~~ In file included from services.c:28: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o content.o content.c content.c: In function 'content_del': content.c:58:6: warning: nonnull argument 'list' compared to NULL [-Wnonnull-compare] 58 | if (!list || n >= list->count) | ^ content.c: In function 'content_free': content.c:80:6: warning: nonnull argument 'list' compared to NULL [-Wnonnull-compare] 80 | if (!list) | ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o cfgparser.o cfgparser.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o trace.o trace.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o redblack.o redblack.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o osdep.o osdep.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o ctrl_telnet.o ctrl_telnet.c redblack.c: In function 'rbinit': redblack.c:143:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 143 | char c; | ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I.. -W -Wall -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -pthread -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/upnp -o ushare.o ushare.c In file included from trace.c:28: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ In file included from cfgparser.c:32: trace.h:32:13: warning: inline function 'start_log' declared but never defined 32 | inline void start_log (void); | ^~~~~~~~~ In file included from cfgparser.h:24, from cfgparser.c:30: ushare.h:133:13: warning: inline function 'display_headers' declared but never defined 133 | inline void display_headers (void); | ^~~~~~~~~~~~~~~ cfgparser.c: In function 'parse_config_file': cfgparser.c:279:6: warning: nonnull argument 'ut' compared to NULL [-Wnonnull-compare] 279 | if (!ut) | ^ In file included from ctrl_telnet.c:27: trace.h:32:13: warning: inline function 'start_log' declared but never defined 32 | inline void start_log (void); | ^~~~~~~~~ ctrl_telnet.c: In function 'ctrl_telnet_tokenize': ctrl_telnet.c:759:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 759 | if (!has_backslash) | ^ ctrl_telnet.c:765:7: note: here 765 | case ' ': | ^~~~ In file included from ushare.c:73: trace.h:32:13: warning: inline function 'start_log' declared but never defined 32 | inline void start_log (void); | ^~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc cds.o cms.o msr.o http.o presentation.o metadata.o mime.o services.o buffer.o util_iconv.o content.o cfgparser.o trace.o redblack.o osdep.o ctrl_telnet.o ushare.o -lixml -lpthread -lupnp -pthread -L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -o ushare make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/src' make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1' >>> ushare 2.1 Installing to target PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" /usr/bin/make -j8 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1 DESTDIR=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target install make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1' for subdir in scripts src ; do \ make -C $subdir install; \ done make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/scripts' /usr/bin/install -c -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc /usr/bin/install -c -m 644 "ushare.conf" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc /usr/bin/install -c -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/init.d /usr/bin/install -c -m 755 "ushare" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/init.d make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/scripts' make[2]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/src' /usr/bin/install -c -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/bin /usr/bin/install -c ushare /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/bin echo ignoring strip /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/bin/ushare ignoring strip /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/bin/ushare make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1/src' make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/ushare-2.1' rm -f /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/init.d/ushare >>> Finalizing host directory >>> Finalizing target directory mkdir -p /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_CC@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc%g" -e "s%@TARGET_CXX@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-g++%g" -e "s%@TARGET_AR@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc-ar%g" -e "s%@TARGET_STRIP@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm926ej-s%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@BR2_CMAKE@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host%g" -e "s%@STAGING_DIR@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot%g" -e "s%@STATIC@%false%g" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot/support/misc/cross-compilation.conf.in > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc%g" -e "s%@TARGET_CXX@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-g++%g" -e "s%@TARGET_AR@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-gcc-ar%g" -e "s%@TARGET_STRIP@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm926ej-s%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@BR2_CMAKE@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host%g" -e "s%@STAGING_DIR@%/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot%g" -e "s%@STATIC@%false%g" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot/support/misc/cross-compilation.conf.in > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/etc/meson/cross-compilation.conf mkdir -p /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc echo "buildroot" > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/hosts mkdir -p /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc echo "Welcome to Buildroot" > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/shadow rm -f /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/bin/sh printf '%s\n' C en_US locale-archive > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/locales.nopurge for dir in /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/locale /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/X11/locale /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/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##*/}" /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/include /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/aclocal \ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/lib/pkgconfig /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/pkgconfig \ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/lib/cmake /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/cmake \ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/doc find /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/lib/ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/lib/ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/libexec/': No such file or directory rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/gdb rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/bash-completion rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/bash_completion.d rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/zsh rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/man /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/man rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/info /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/info rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/doc /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/doc rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share/gtk-doc rmdir /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/share 2>/dev/null || true rm -rf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/lib/debug /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/lib/debug find /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-6100-g1cebbbc"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.05.1"; \ echo "PRETTY_NAME=\"Buildroot 2022.05.1\"" \ ) > /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/per-package /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot/support/scripts/fix-rpath target touch /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/target/usr ln -snf /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/staging make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot' make: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot' >>> Buildroot 2021.05-6100-g1cebbbc Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external-custom Collecting legal info >>> host-skeleton Collecting legal info >>> host-tar 1.34 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> bird 2.0.8 Collecting legal info README: OK (sha256: 94c53c84320078920ac1f0d49c81a4e9004512f534521a58bdf145acbcbc2cd2) >>> host-autoconf 2.71 Collecting legal info COPYINGv3: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) COPYING.EXCEPTION: OK (sha256: 1f1cde9fb68b9b3cff18c420894bec5bd4defacd700b7d13df54a887301e5350) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-automake 1.16.5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-bison 3.8.2 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> 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) >>> toolchain Collecting legal info >>> toolchain-external Collecting legal info >>> brcm-patchram-plus 95b7b6916d661a4da3f9c0adf52d5e1f4f8ab042 Collecting legal info COPYING: OK (sha256: 26324f5c563b7e338c2876c8abe90c3681c1e9a6163fc59b494c94ad6493eda4) >>> daq3 3.0.5 Collecting legal info COPYING: OK (sha256: 64601289158eddad72cb4de72652f9e64dc886942c910b38ddee93ba13b0db26) LICENSE: OK (sha256: 64601289158eddad72cb4de72652f9e64dc886942c910b38ddee93ba13b0db26) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> freeradius-client 1.1.7 Collecting legal info COPYRIGHT: OK (sha256: e579878de7971b2224ae2263bbc61f6c465fe40e884a9068d5fa9d17fbfd2ebe) >>> libcgi 1.3.0 Collecting legal info LICENSES/LGPL-2.1.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) LICENSES/MIT.txt: OK (sha256: f32c31e26ec840753a8cd47cd2681e48be4cee853212d16a4b1d85ac4d677669) >>> host-cmake 3.18.6 Collecting legal info Copyright.txt: OK (sha256: 131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d) >>> libconfig 1.7.3 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libogg 1.3.5 Collecting legal info COPYING: OK (sha256: d2ab5758336489da61c12cc5bb757da5339c4ae9001f9bb0562b4370249af814) >>> libupnp 1.14.12 Collecting legal info COPYING: OK (sha256: c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3) >>> mbuffer 20211018 Collecting legal info LICENSE: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> memstat 1.0 Collecting legal info debian/copyright: OK (sha256: 5e5db2a2fab637bbbc5d2400141fcb9f1b4b55540d025c2dc54378dc497cb524) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> safeclib 3.7.1 Collecting legal info COPYING: OK (sha256: c33e77efd5781e3d59a2bb648c82d2a615035ef0d24cf58880380e3af906510b) >>> setserial 2.17 Collecting legal info debian/copyright: OK (sha256: 1d7e810ed28daf370def626dfd4c502f2f77d2b678f1ac72e2ba675dd6f9af0d) >>> speex 1.2.0 Collecting legal info COPYING: OK (sha256: 671bb5d8fd3c6b05a2e831d90f978ac27965c92bd8ea6d16b3df76e3440c0e9f) >>> swupdate 2022.05 Collecting legal info LICENSES/BSD-1-Clause.txt: OK (sha256: 4cf04ed34ff0ebbf5c71345b56e6af5093fc17206364cca0ebbae92ef3940683) LICENSES/BSD-3-Clause.txt: OK (sha256: e27a3e87706b3aa5ff2e50eaafe2e6ed5397fbf2d7679eaf444a6d000518a3a6) LICENSES/CC0-1.0.txt: OK (sha256: 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192) LICENSES/CC-BY-SA-4.0.txt: OK (sha256: cde7883b9050a1104f4ac19a1572aafd6e5d7323b68351aaf51fbf4beba54966) LICENSES/GPL-2.0-only.txt: OK (sha256: 5d51b52a40391a26cbb2accf5dc5d1c165de49a022d9d5efb50b22204d2682ec) LICENSES/GPL-2.0-or-later.txt: OK (sha256: 43fd695e9b198a9a4997cc2d02e10d26cae937e2c4930b9eff9c6d349c85cd32) LICENSES/ISC.txt: OK (sha256: 492e801f1b0632185431472f148885a4fe8e990b10da57b4986a8bcf140a5374) LICENSES/LGPL-2.1-or-later.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) LICENSES/MIT.txt: OK (sha256: 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e) LICENSES/OFL-1.1.txt: OK (sha256: 8f2368a292194be10b1223a8875815240a9208bb30785cb13d8849eb6a750fe9) >>> ushare 2.1 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/legal-info make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot'