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