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