[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-35 started "build usb-modeswitch.spec" at Sun Sep 7 03:52:43 UTC 2025. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/usb-modeswitch-2.2.6-2/usb-modeswitch.spec ... [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_toolchain_standard/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_toolchain_standard/usb-modeswitch-2.2.6-2/usb-modeswitch.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_toolchain_standard/armv7l/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/packages/ [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/repos/standard/debug/ [ 3s] expanding package dependencies... [ 4s] copying qemu [ 4s] [ 4s] registering binfmt handlers for cross build [ 4s] calculating packages to download... [ 11s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 11s] breaking dependency libxcrypt-devel -> glibc-devel [ 11s] cycle: libsoftokn3 -> nss [ 11s] breaking dependency nss -> libsoftokn3 [ 11s] reordering done [ 13s] deleting rust [ 13s] deleting rust-atomic-polyfill [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(rust-atomic-polyfill-1.0.1-1.armv7l) scriptlet failed, exit status 1 [ 14s] deleting rust-bitflags [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(rust-bitflags-1.3.2-1.armv7l) scriptlet failed, exit status 1 [ 14s] deleting rust-devel [ 14s] deleting rust-errno [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(rust-errno-0.3.0-1.armv7l) scriptlet failed, exit status 1 [ 14s] deleting rust-io-lifetimes [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(rust-io-lifetimes-1.0.6-1.armv7l) scriptlet failed, exit status 1 [ 14s] deleting rust-itoa [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(rust-itoa-1.0.6-1.armv7l) scriptlet failed, exit status 1 [ 14s] deleting rust-libc [ 15s] /sbin/ldconfig: relative path `0' used to build cache [ 15s] warning: %postun(rust-libc-0.2.139-1.armv7l) scriptlet failed, exit status 1 [ 15s] deleting rust-linux-raw-sys [ 15s] /sbin/ldconfig: relative path `0' used to build cache [ 15s] warning: %postun(rust-linux-raw-sys-0.3.0-1.armv7l) scriptlet failed, exit status 1 [ 15s] deleting rust-once_cell [ 15s] /sbin/ldconfig: relative path `0' used to build cache [ 15s] warning: %postun(rust-once_cell-1.17.1-1.armv7l) scriptlet failed, exit status 1 [ 15s] deleting rust-rustix [ 15s] /sbin/ldconfig: relative path `0' used to build cache [ 15s] warning: %postun(rust-rustix-0.36.8-1.armv7l) scriptlet failed, exit status 1 [ 15s] deleting rust-std-shared [ 15s] deleting rust-std-static [ 16s] [1/101] keeping libmagic-data-5.45-1.4 [ 16s] [2/101] keeping setup-0.9-1.1 [ 16s] [3/101] keeping filesystem-3.1-1.1 [ 16s] [4/101] keeping glibc-2.40-1.6 [ 16s] [5/101] keeping libatomic-14.2.0-1.6 [ 16s] [6/101] keeping libgcc-14.2.0-1.6 [ 16s] [7/101] keeping bash-3.2.57-1.1 [ 16s] [8/101] keeping cpio-2.8-1.1 [ 16s] [9/101] keeping diffutils-3.10-1.1 [ 16s] [10/101] keeping findutils-4.3.8-1.4 [ 16s] [11/101] keeping gdbm-1.8.3-1.6 [ 16s] [12/101] keeping hostname-3.23-1.1 [ 16s] [13/101] keeping libattr-2.5.1-1.5 [ 16s] [14/101] keeping libblkid-2.39.3-1.4 [ 16s] [15/101] keeping libbz2-1.0.8-1.6 [ 16s] [16/101] keeping libcap-2.73-1.5 [ 16s] [17/101] keeping libfreebl3-3.109-1.6 [ 16s] [18/101] keeping libgfortran-14.2.0-1.6 [ 16s] [19/101] keeping libgomp-14.2.0-1.6 [ 16s] [20/101] keeping libitm-14.2.0-1.6 [ 16s] [21/101] keeping libltdl-2.4.7-1.6 [ 16s] [22/101] keeping liblua-5.1.5-1.4 [ 16s] [23/101] keeping liblzma-5.6.3-1.6 [ 16s] [24/101] keeping libopenssl3-3.0.16-1.6 [ 16s] [25/101] keeping libpcre-8.45-1.4 [ 16s] [26/101] keeping libpopt-1.16-1.4 [ 16s] [27/101] keeping libsmack-1.3.1-1.4 [ 16s] [28/101] keeping libsmartcols-2.39.3-1.4 [ 16s] [29/101] keeping libsqlite-3.50.2-1.4 [ 16s] [30/101] keeping libstdc++-14.2.0-1.6 [ 16s] [31/101] keeping libuuid-2.39.3-1.4 [ 16s] [32/101] keeping libxcrypt-4.4.36-1.6 [ 16s] [33/101] keeping libxml2-2.13.5-1.6 [ 16s] [34/101] keeping libzstd1-1.5.6-1.5 [ 16s] [35/101] keeping m4-1.4.19-1.1 [ 16s] [36/101] keeping net-tools-2.0_20121208git-1.4 [ 16s] [37/101] keeping nspr-4.36-1.4 [ 16s] [38/101] keeping patch-2.7.6-1.4 [ 16s] [39/101] keeping pkg-config-0.29.2-1.5 [ 16s] [40/101] keeping sed-4.1c-1.4 [ 16s] [41/101] keeping update-alternatives-1.22.2-1.1 [ 16s] [42/101] keeping which-2.17-1.1 [ 16s] [43/101] keeping zlib-1.3.1-1.5 [ 16s] [44/101] keeping build-compare-2023.06.18-1.1 [ 16s] [45/101] keeping hal-rootstrap-checker-0.1.1-1.1 [ 16s] [46/101] keeping libstdc++-devel-14.2.0-1.6 [ 16s] [47/101] keeping qemu-linux-user-x86_64-cross-9.2.3.1-1.1 [ 16s] [48/101] keeping cpp-14.2.0-1.6 [ 16s] [49/101] keeping gcc-c++-14.2.0-1.6 [ 16s] [50/101] keeping binutils-libs-2.43-1.6 [ 17s] [51/101] keeping coreutils-6.9-14.1 [ 17s] [52/101] keeping gawk-3.1.5-1.1 [ 17s] [53/101] keeping grep-2.5.2-1.4 [ 17s] [54/101] keeping libacl-2.3.2-1.5 [ 17s] [55/101] keeping libcc1-14.2.0-1.6 [ 17s] [56/101] keeping libelf-0.189-1.6 [ 17s] [57/101] keeping libmount-2.39.3-1.4 [ 17s] [58/101] keeping make-4.4.1-1.4 [ 17s] [59/101] keeping nss-certs-3.109-1.6 [ 17s] [60/101] keeping smack-1.3.1-1.4 [ 17s] [61/101] keeping bzip2-1.0.8-1.6 [ 17s] [62/101] keeping libfdisk-2.39.3-1.4 [ 17s] [63/101] keeping libmagic-5.45-1.4 [ 17s] [64/101] keeping xz-5.6.3-1.6 [ 17s] [65/101] keeping perl-5.38.0-1.5 [ 17s] [66/101] keeping build-mkbaselibs-20120927-1.1 [ 17s] [67/101] keeping linux-glibc-devel-6.6-1.6 [ 17s] [68/101] keeping terminfo-base-full-6.4-1.6 [ 17s] [69/101] keeping autoconf-2.71-1.7 [ 17s] [70/101] keeping file-5.45-1.4 [ 17s] [71/101] keeping glibc-locale-2.40-1.6 [ 17s] [72/101] keeping tar-1.17-1.1 [ 17s] [73/101] keeping binutils-2.43-1.6 [ 17s] [74/101] keeping gzip-1.3.12-1.4 [ 17s] [75/101] keeping pam-1.1.6-1.4 [ 17s] [76/101] keeping tzdata-2024b-1.1 [ 17s] [77/101] keeping libdw-0.189-1.6 [ 17s] [78/101] keeping gcc-14.2.0-1.6 [ 17s] [79/101] keeping libarchive-3.8.1-1.5 [ 17s] [80/101] keeping qemu-accel-x86_64-armv7l-0.4-1.1 [ 17s] [81/101] keeping automake-1.16.5-1.6 [ 17s] [82/101] keeping libasm-0.189-1.6 [ 17s] [83/101] keeping libncurses6-6.4-1.6 [ 17s] [84/101] keeping build-20120927-1.1 [ 17s] [85/101] cumulate libsystemd-244-0 [ 17s] [86/101] keeping libncurses-6.4-1.6 [ 17s] [87/101] cumulate dbus-libs-1.12.20-3 [ 17s] [88/101] keeping less-668-1.1 [ 17s] [89/101] keeping libreadline-5.2-1.5 [ 17s] [90/101] keeping libtool-2.4.7-1.6 [ 17s] [91/101] keeping elfutils-0.189-1.6 [ 17s] [92/101] cumulate libusb-1.0.25-0 [ 17s] [93/101] keeping util-linux-2.39.3-1.4 [ 17s] [94/101] keeping util-linux-su-2.39.3-1.4 [ 17s] [95/101] keeping libxcrypt-devel-4.4.36-1.6 [ 17s] [96/101] keeping nss-3.109-1.6 [ 17s] [97/101] keeping glibc-devel-2.40-1.6 [ 17s] [98/101] keeping libsoftokn3-3.109-1.6 [ 17s] [99/101] keeping rpm-4.14.1.1-1.6 [ 17s] [100/101] cumulate libusb-devel-1.0.25-0 [ 17s] [101/101] keeping rpm-build-4.14.1.1-1.6 [ 17s] now installing cumulated packages [ 17s] Preparing... ######################################## [ 17s] Updating / installing... [ 17s] libsystemd-244-0 ######################################## [ 18s] dbus-libs-1.12.20-3 ######################################## [ 18s] libusb-1.0.25-0 ######################################## [ 18s] libusb-devel-1.0.25-0 ######################################## [ 18s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18/etc/nsswitch.conf... [ 18s] now finalizing build dir... [ 20s] ----------------------------------------------------------------- [ 20s] ----- building usb-modeswitch.spec (user abuild) [ 20s] ----------------------------------------------------------------- [ 20s] ----------------------------------------------------------------- [ 20s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/usb-modeswitch.spec [ 20s] Building target platforms: armv7l-tizen-linux [ 20s] Building for target armv7l-tizen-linux [ 20s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qlVNqG [ 20s] + umask 022 [ 20s] + cd /home/abuild/rpmbuild/BUILD [ 20s] + cd /home/abuild/rpmbuild/BUILD [ 20s] + rm -rf usb-modeswitch-2.2.6 [ 20s] + /bin/tar -xof - [ 20s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/usb-modeswitch-2.2.6.tar.gz [ 21s] + STATUS=0 [ 21s] + '[' 0 -ne 0 ']' [ 21s] + cd usb-modeswitch-2.2.6 [ 21s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 21s] + exit 0 [ 21s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nZ27zR [ 21s] + umask 022 [ 21s] + cd /home/abuild/rpmbuild/BUILD [ 21s] + cd usb-modeswitch-2.2.6 [ 21s] + ref=/usr/lib/rpm [ 21s] + mints=0 [ 21s] + case $(uname -m) in [ 21s] ++ uname -m [ 21s] + for s in guess sub [ 21s] ++ find -maxdepth 8 -name config.guess [ 21s] + for c in '$(find -maxdepth 8 -name "config.$s")' [ 21s] + grep -q config-patches@ ./jim/autosetup/config.guess [ 21s] ++ sed -n '/^timestamp=/{s///;s/[-'\''"]//g;p;q;}' ./jim/autosetup/config.guess [ 21s] ++ tr -d $'\r' [ 21s] + timestamp=20100924 [ 21s] + test -n 20100924 [ 21s] + test 20100924 -ge 0 [ 21s] + for s in guess sub [ 21s] ++ find -maxdepth 8 -name config.sub [ 21s] + for c in '$(find -maxdepth 8 -name "config.$s")' [ 21s] + grep -q config-patches@ ./jim/autosetup/config.sub [ 21s] ++ sed -n '/^timestamp=/{s///;s/[-'\''"]//g;p;q;}' ./jim/autosetup/config.sub [ 21s] ++ tr -d $'\r' [ 21s] + timestamp=20100911 [ 21s] + test -n 20100911 [ 21s] + test 20100911 -ge 0 [ 21s] + LANG=C [ 21s] + export LANG [ 21s] + unset DISPLAY [ 21s] + CFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 21s] + export CFLAGS [ 21s] + CXXFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 21s] + export CXXFLAGS [ 21s] + FFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 21s] + export FFLAGS [ 21s] + LDFLAGS= [ 21s] + export LDFLAGS [ 21s] + CFLAGS+=' -DTIZEN_MOD -fPIE' [ 21s] + LDFLAGS+=' -pie' [ 21s] + cd jim [ 21s] + ./configure [ 21s] No installed jimsh or tclsh, building local bootstrap jimsh0 [ 24s] Host System...armv7l-unknown-linux-gnueabi [ 24s] Build System...armv7l-unknown-linux-gnueabi [ 24s] C compiler... cc -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE [ 24s] C++ compiler... c++ -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g [ 24s] Build C compiler...cc [ 24s] Checking for stdlib.h...ok [ 24s] Checking for long long...ok [ 24s] Checking for sys/socket.h...ok [ 24s] Checking for netinet/in.h...ok [ 24s] Checking for arpa/inet.h...ok [ 24s] Checking for netdb.h...ok [ 24s] Checking for sys/un.h...ok [ 24s] Checking for dlfcn.h...ok [ 24s] Checking for unistd.h...ok [ 24s] Checking for crt_externs.h...not found [ 24s] Checking libs for inet_ntop...none needed [ 24s] Checking libs for socket...none needed [ 24s] Checking for ualarm...ok [ 25s] Checking for lstat...ok [ 25s] Checking for fork...ok [ 25s] Checking for vfork...ok [ 25s] Checking for system...ok [ 25s] Checking for select...ok [ 25s] Checking for backtrace...ok [ 25s] Checking for geteuid...ok [ 25s] Checking for mkstemp...ok [ 25s] Checking for realpath...ok [ 26s] Checking for strptime...ok [ 26s] Checking for gettimeofday...ok [ 26s] Checking for regcomp...ok [ 26s] Checking for waitpid...ok [ 26s] Checking for sigaction...ok [ 26s] Checking for sys_signame...not found [ 26s] Checking for sys_siglist...not found [ 26s] Checking for syslog...ok [ 26s] Checking for opendir...ok [ 26s] Checking for readlink...ok [ 27s] Checking for sleep...ok [ 27s] Checking for usleep...ok [ 27s] Checking for pipe...ok [ 27s] Checking for getaddrinfo...ok [ 27s] Checking for utimes...ok [ 27s] Checking for sysinfo...ok [ 27s] Checking for struct sysinfo.uptime...ok [ 27s] Checking for _NSGetEnviron...not found [ 27s] Checking environ declared in unistd.h...yes [ 28s] Checking for sys/types.h...ok [ 28s] Checking for sys/stat.h...ok [ 28s] Checking for mkdir with one arg...no [ 28s] Checking for termios.h...ok [ 28s] Checking for isatty...ok [ 28s] Enabling line editing [ 28s] Enabling references [ 28s] Building static library [ 28s] Extension aio...enabled (default) [ 28s] Extension array...enabled (default) [ 28s] Extension binary...not enabled [ 28s] Extension clock...enabled (default) [ 28s] Extension eventloop...enabled (default) [ 28s] Extension exec...enabled (default) [ 28s] Extension file...enabled (default) [ 28s] Extension glob...enabled (default) [ 28s] Checking libs for dlopen...none needed [ 28s] Extension load...enabled (default) [ 28s] Extension mk...not enabled [ 28s] Extension nvp...not enabled [ 28s] Extension oo...not enabled [ 28s] Extension pack...not enabled [ 28s] Extension package...enabled (default) [ 28s] Extension posix...enabled (default) [ 28s] Extension readdir...enabled [ 28s] Extension readline...not enabled [ 28s] Extension regexp...enabled (default) [ 28s] Extension rlprompt...not enabled [ 28s] Extension sdl...not enabled [ 28s] Extension signal...enabled (default) [ 28s] Extension sqlite...not enabled [ 28s] Extension sqlite3...not enabled [ 28s] Extension stdlib...enabled (default) [ 28s] Extension syslog...enabled (default) [ 28s] Extension tclcompat...enabled (default) [ 28s] Extension tree...not enabled [ 28s] Extension win32...not enabled [ 28s] Jim static extensions: aio array clock eventloop exec file glob load package posix readdir regexp signal stdlib syslog tclcompat [ 28s] Created jim-config.h [ 28s] Created jimautoconf.h [ 29s] Created Makefile from Makefile.in [ 29s] + make -j8 [ 29s] /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/jim/autosetup/jimsh0 ./make-load-static-exts.tcl aio array clock eventloop exec file load package posix readdir regexp signal syslog glob stdlib tclcompat >_load-static-exts.c || ( rm _load-static-exts.c; exit 1) [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-subcmd.o jim-subcmd.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-interactive.o jim-interactive.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-format.o jim-format.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim.o jim.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o utf8.o utf8.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jimregexp.o jimregexp.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o linenoise.o linenoise.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-aio.o jim-aio.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-array.o jim-array.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-clock.o jim-clock.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-eventloop.o jim-eventloop.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-exec.o jim-exec.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-file.o jim-file.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-load.o jim-load.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-package.o jim-package.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-posix.o jim-posix.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-readdir.o jim-readdir.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-regexp.o jim-regexp.c [ 29s] jim.c:986:32: warning: 'JimSharedStringsHashTableType' defined but not used [-Wunused-const-variable=] [ 29s] 986 | static const Jim_HashTableType JimSharedStringsHashTableType = { [ 29s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-signal.o jim-signal.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jim-syslog.o jim-syslog.c [ 29s] /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/jim/autosetup/jimsh0 ./make-c-ext.tcl glob.tcl >_glob.c || ( rm _glob.c; exit 1) [ 29s] /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/jim/autosetup/jimsh0 ./make-c-ext.tcl stdlib.tcl >_stdlib.c || ( rm _stdlib.c; exit 1) [ 29s] /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/jim/autosetup/jimsh0 ./make-c-ext.tcl tclcompat.tcl >_tclcompat.c || ( rm _tclcompat.c; exit 1) [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o jimsh.o jimsh.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o glob.o _glob.c || ( rm _glob.c; exit 1) [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o stdlib.o _stdlib.c || ( rm _stdlib.c; exit 1) [ 29s] /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/jim/autosetup/jimsh0 ./make-c-ext.tcl initjimsh.tcl >_initjimsh.c || ( rm _initjimsh.c; exit 1) [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o _load-static-exts.o _load-static-exts.c [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o tclcompat.o _tclcompat.c || ( rm _tclcompat.c; exit 1) [ 29s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -c -o initjimsh.o _initjimsh.c || ( rm _initjimsh.c; exit 1) [ 31s] In function 'Jim_Alloc', [ 31s] inlined from 'Jim_ConcatObj' at jim.c:6189:21: [ 31s] jim.c:563:12: warning: argument 1 range [2147483649, 4294967295] exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] [ 31s] 563 | return malloc(size); [ 31s] | ^~~~~~~~~~~~ [ 31s] In file included from jim.c:47: [ 31s] /usr/include/stdlib.h: In function 'Jim_ConcatObj': [ 31s] /usr/include/stdlib.h:672:14: note: in a call to allocation function 'malloc' declared here [ 31s] 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ [ 31s] | ^~~~~~ [ 35s] In function 'JimFormatReference', [ 35s] inlined from 'JimInfoReferences' at jim.c:13225:9, [ 35s] inlined from 'Jim_InfoCoreCommand' at jim.c:13672:20: [ 35s] jim.c:4597:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] [ 35s] 4597 | const char *fmt = ".%020" JIM_WIDE_MODIFIER ">"; [ 35s] | ^~~~~~~~~~~~~~~~~~~~~~ [ 35s] jim.c: In function 'Jim_InfoCoreCommand': [ 35s] jim.c:4597:66: note: format string is defined here [ 35s] 4597 | const char *fmt = ".%020" JIM_WIDE_MODIFIER ">"; [ 35s] | ^ [ 35s] In file included from /usr/include/stdio.h:970, [ 35s] from jim.c:46: [ 35s] In function 'sprintf', [ 35s] inlined from 'JimFormatReference' at jim.c:4599:5, [ 35s] inlined from 'JimInfoReferences' at jim.c:13225:9, [ 35s] inlined from 'Jim_InfoCoreCommand' at jim.c:13672:20: [ 35s] /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 36 and 43 bytes into a destination of size 42 [ 35s] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, [ 35s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 35s] 31 | __glibc_objsize (__s), __fmt, [ 35s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 35s] 32 | __va_arg_pack ()); [ 35s] | ~~~~~~~~~~~~~~~~~ [ 35s] ar cr libjim.a _load-static-exts.o jim-subcmd.o jim-interactive.o jim-format.o jim.o utf8.o jimregexp.o linenoise.o jim-aio.o jim-array.o jim-clock.o jim-eventloop.o jim-exec.o jim-file.o jim-load.o jim-package.o jim-posix.o jim-readdir.o jim-regexp.o jim-signal.o jim-syslog.o glob.o stdlib.o tclcompat.o [ 35s] ranlib libjim.a [ 35s] cc -D_GNU_SOURCE -Wall -I. -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -rdynamic -pie -o jimsh jimsh.o initjimsh.o libjim.a [ 36s] + cd .. [ 36s] + make -j8 [ 36s] cc -o usb_modeswitch usb_modeswitch.c -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_MOD -fPIE -Wall `pkg-config --libs --cflags libusb-1.0` -pie [ 36s] sed 's_!/usr/bin/tclsh_!'"/usr/bin/tclsh"'_' < usb_modeswitch.tcl > usb_modeswitch_dispatcher [ 36s] usb_modeswitch.c: In function 'main': [ 36s] usb_modeswitch.c:505:17: warning: 'libusb_set_debug' is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations] [ 36s] 505 | libusb_set_debug(ctx, 3); [ 36s] | ^~~~~~~~~~~~~~~~ [ 36s] In file included from usb_modeswitch.h:26, [ 36s] from usb_modeswitch.c:59: [ 36s] /usr/include/libusb-1.0/libusb.h:1362:18: note: declared here [ 36s] 1362 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level); [ 36s] | ^~~~~~~~~~~~~~~~ [ 36s] usb_modeswitch.c: In function 'search_devices': [ 36s] usb_modeswitch.c:1683:36: warning: comparison between pointer and zero character constant [-Wpointer-compare] [ 36s] 1683 | if (!vendor || productList == '\0') [ 36s] | ^~ [ 36s] usb_modeswitch.c:1683:24: note: did you mean to dereference the pointer? [ 36s] 1683 | if (!vendor || productList == '\0') [ 36s] | ^ [ 37s] usb_modeswitch.c: In function 'checkSuccess': [ 37s] usb_modeswitch.c:1563:29: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] [ 37s] 1563 | for (i=i; i < CheckSuccess; i++) { [ 37s] | ~~^~~~~~~~~~~~~~ [ 37s] usb_modeswitch.c:1510:18: note: 'i' was declared here [ 37s] 1510 | int ret, i; [ 37s] | ^ [ 37s] usb_modeswitch.c: In function 'ReadParseParam': [ 37s] usb_modeswitch.c:1959:1: warning: function may return address of local variable [-Wreturn-local-addr] [ 37s] 1959 | } [ 37s] | ^ [ 37s] usb_modeswitch.c:1860:14: note: declared here [ 37s] 1860 | char Str[LINE_DIM], *token, *configPos; [ 37s] | ^~~ [ 37s] usb_modeswitch.c:1860:14: note: declared here [ 37s] usb_modeswitch.c: In function 'readArguments': [ 37s] usb_modeswitch.c:359:35: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] [ 37s] 359 | case 'M': strncpy(MessageContent, optarg, LINE_DIM); break; [ 37s] | ^ [ 37s] usb_modeswitch.c:361:35: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] [ 37s] 361 | case '3': strncpy(MessageContent3, optarg, LINE_DIM); break; [ 37s] | ^ [ 37s] usb_modeswitch.c:360:35: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] [ 37s] 360 | case '2': strncpy(MessageContent2, optarg, LINE_DIM); break; [ 37s] | ^ [ 38s] + exit 0 [ 38s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1K5jQ4 [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd usb-modeswitch-2.2.6 [ 38s] + LANG=C [ 38s] + export LANG [ 38s] + unset DISPLAY [ 38s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/sbin [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/bin [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/udev [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/udev/rules.d [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/share/license [ 38s] + cp usb_modeswitch /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/sbin/usb_modeswitch [ 38s] + chmod 700 /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/sbin/usb_modeswitch [ 38s] + sed -i s/tclsh/jimsh/g usb_modeswitch_dispatcher [ 38s] + cp usb_modeswitch_dispatcher /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/sbin/usb_modeswitch_dispatcher [ 38s] + chmod 700 /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/sbin/usb_modeswitch_dispatcher [ 38s] + cp jim/jimsh /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/bin/jimsh [ 38s] + chmod 700 /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/bin/jimsh [ 38s] + cp usb_modeswitch.conf /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/usb_modeswitch.conf [ 38s] + chmod 700 /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/usb_modeswitch.conf [ 38s] + cp usb_modeswitch.sh /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/udev/usb_modeswitch.sh [ 38s] + chmod 700 /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/udev/usb_modeswitch.sh [ 38s] + cp usb_modeswitch_wrapper.sh /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/udev/usb_modeswitch [ 38s] + chmod 700 /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/etc/udev/usb_modeswitch [ 38s] + cat LICENSE [ 38s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 2.2.6-2 --unique-debug-src-base usb-modeswitch-2.2.6-2.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6 [ 40s] 1+0 records in [ 40s] 1+0 records out [ 40s] 1+0 records in [ 40s] 1+0 records out [ 40s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/sbin/usb_modeswitch [ 40s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm/usr/bin/jimsh [ 40s] 0+0 records in [ 40s] 0+0 records out [ 40s] 0+0 records in [ 40s] 0+0 records out [ 41s] cpio: jim/_glob.c: Cannot stat: No such file or directory [ 41s] cpio: jim/_initjimsh.c: Cannot stat: No such file or directory [ 41s] cpio: jim/_stdlib.c: Cannot stat: No such file or directory [ 41s] cpio: jim/_tclcompat.c: Cannot stat: No such file or directory [ 41s] 1654 blocks [ 41s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/usb-modeswitch-debuginfo.manifest [ 41s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/usb-modeswitch-debugsource.manifest [ 41s] + /usr/lib/rpm/check-buildroot [ 41s] + /usr/lib/rpm//brp-compress [ 41s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 42s] + /usr/lib/rpm/brp-python-hardlink [ 42s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm [ 42s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/usb-modeswitch-2.2.6/isu.list [ 42s] ~/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm ~/rpmbuild/BUILD/usb-modeswitch-2.2.6 [ 42s] ~/rpmbuild/BUILD/usb-modeswitch-2.2.6 [ 42s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh /home/abuild/rpmbuild/SOURCES [ 46s] Processing files: usb-modeswitch-2.2.6-2.armv7l [ 46s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIi8+Cgk8L3Jl [ 46s] cXVlc3Q+CjwvbWFuaWZlc3Q+Cg== [ 46s] [ 47s] Provides: usb-modeswitch = 2.2.6-2 usb-modeswitch(armv7l-32) = 2.2.6-2 [ 47s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 47s] Requires: /bin/sh /usr/bin/jimsh ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libusb-1.0.so.0 rtld(GNU_HASH) [ 47s] Processing files: usb-modeswitch-debugsource-2.2.6-2.armv7l [ 47s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 47s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 47s] [ 47s] Provides: usb-modeswitch-debugsource = 2.2.6-2 usb-modeswitch-debugsource(armv7l-32) = 2.2.6-2 [ 47s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 47s] Processing files: usb-modeswitch-debuginfo-2.2.6-2.armv7l [ 47s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 47s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 47s] [ 47s] Provides: usb-modeswitch-debuginfo = 2.2.6-2 usb-modeswitch-debuginfo(armv7l-32) = 2.2.6-2 [ 47s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 47s] Recommends: usb-modeswitch-debugsource(armv7l-32) = 2.2.6-2 [ 47s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm [ 47s] Wrote: /home/abuild/rpmbuild/SRPMS/usb-modeswitch-2.2.6-2.src.rpm [ 48s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/usb-modeswitch-2.2.6-2.armv7l.rpm [ 48s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/usb-modeswitch-debugsource-2.2.6-2.armv7l.rpm [ 49s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/usb-modeswitch-debuginfo-2.2.6-2.armv7l.rpm [ 49s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VhWriw [ 49s] + umask 022 [ 49s] + cd /home/abuild/rpmbuild/BUILD [ 49s] + cd usb-modeswitch-2.2.6 [ 49s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/usb-modeswitch-2.2.6-2.arm [ 49s] + exit 0 [ 49s] ... checking for files with abuild user/group [ 49s] ... creating baselibs [ 51s] [ 51s] ip-192-168-56-35 finished "build usb-modeswitch.spec" at Sun Sep 7 03:53:33 UTC 2025. [ 51s]