Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/tsschecker.spec'], chrootPath='/var/lib/mock/1026692-fedora-30-i386-1567354157.616362/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfut49rt:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfut49rt:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1fe7453cf1254f02917e38b17b785ee6', '-D', '/var/lib/mock/1026692-fedora-30-i386-1567354157.616362/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfut49rt:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/tsschecker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/tsschecker-0.0-1.gitb2ea395.fc30.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/tsschecker.spec'], chrootPath='/var/lib/mock/1026692-fedora-30-i386-1567354157.616362/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfut49rt:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfut49rt:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e932d4b03b51450f8244cb253fe0ef0e', '-D', '/var/lib/mock/1026692-fedora-30-i386-1567354157.616362/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tfut49rt:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/tsschecker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xg3ki2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + /usr/bin/gzip -dc /builddir/build/SOURCES/b2ea39564523aaa09478ccd00c9ca811c53479c0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -fi BUILDSTDERR: aclocal: warning: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' BUILDSTDERR: configure.ac:10: installing './compile' BUILDSTDERR: configure.ac:13: installing './config.guess' BUILDSTDERR: configure.ac:13: installing './config.sub' BUILDSTDERR: configure.ac:4: installing './install-sh' BUILDSTDERR: configure.ac:4: installing './missing' BUILDSTDERR: tsschecker/Makefile.am:6: warning: source file '$(top_srcdir)/external/jssy/jssy/jssy.c' is in a subdirectory, BUILDSTDERR: tsschecker/Makefile.am:6: but option 'subdir-objects' is disabled BUILDSTDERR: automake: warning: possible forward-incompatibility. BUILDSTDERR: automake: At least a source file is in a subdirectory, but the 'subdir-objects' BUILDSTDERR: automake: automake option hasn't been enabled. For now, the corresponding output BUILDSTDERR: automake: object file(s) will be placed in the top-level directory. However, BUILDSTDERR: automake: this behaviour will change in future Automake versions: they will BUILDSTDERR: automake: unconditionally cause object files to be placed in the same subdirectory BUILDSTDERR: automake: of the corresponding sources. BUILDSTDERR: automake: You are advised to start using 'subdir-objects' option throughout your BUILDSTDERR: automake: project, to avoid future incompatibilities. BUILDSTDERR: tsschecker/Makefile.am: installing './depcomp' + tar zxf /builddir/build/SOURCES/e17d3c8ec5216692efbbe59bbe9801bb7661e07d.tar.gz -C external/jssy --strip 1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1ySNNl + umask 022 + cd /builddir/build/BUILD + cd tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i686-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i686-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes BUILDSTDERR: ./configure: line 8920: git: command not found BUILDSTDERR: ./configure: line 8921: git: command not found checking for i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libplist... yes checking for libcurl... yes checking for libfragmentzip... yes checking for libcrypto... yes checking for libirecovery... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking for int32_t... yes checking for int64_t... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for memset... yes checking for mkdir... yes checking for pow... no checking for strchr... yes checking for strdup... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tsschecker/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j2 /usr/bin/make all-recursive Making all in tsschecker make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -c -o tsschecker-tss.o `test -f 'tss.c' || echo './'`tss.c BUILDSTDERR: tss.c: In function 'tss_request_add_ap_img4_tags': BUILDSTDERR: tss.c:373:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 373 | }else BUILDSTDERR: | ^~~~ BUILDSTDERR: tss.c:375:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 375 | node = NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: tss.c: In function 'tss_request_add_savage_tags': BUILDSTDERR: tss.c:1000:27: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] BUILDSTDERR: 1000 | *component_name = strdup(comp_name); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | strcmp BUILDSTDERR: tss.c:1000:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 1000 | *component_name = strdup(comp_name); BUILDSTDERR: | ^ make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -c -o tsschecker-tsschecker.o `test -f 'tsschecker.c' || echo './'`tsschecker.c BUILDSTDERR: tsschecker.c:98: warning: ignoring #pragma mark getJson [-Wunknown-pragmas] BUILDSTDERR: 98 | #pragma mark getJson functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c:253: warning: ignoring #pragma mark more [-Wunknown-pragmas] BUILDSTDERR: 253 | #pragma mark more get functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c: In function 'getBoardconfigFromModel': BUILDSTDERR: tsschecker.c:260:13: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] BUILDSTDERR: 260 | if (strcasecmp(model, table->product_type) == 0){ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | strncmp BUILDSTDERR: tsschecker.c: At top level: BUILDSTDERR: tsschecker.c:358: warning: ignoring #pragma mark json [-Wunknown-pragmas] BUILDSTDERR: 358 | #pragma mark json functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c:370: warning: ignoring #pragma mark get [-Wunknown-pragmas] BUILDSTDERR: 370 | #pragma mark get functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c:555: warning: ignoring #pragma mark tss [-Wunknown-pragmas] BUILDSTDERR: 555 | #pragma mark tss functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c: In function 'tss_populate_random': BUILDSTDERR: tsschecker.c:653:9: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] BUILDSTDERR: 653 | if (strncasecmp(devVals->deviceModel, "AppleTV2,", strlen("AppleTV2,")) == 0 || BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | strncmp BUILDSTDERR: In file included from tss.h:33, BUILDSTDERR: from tsschecker.h:20, BUILDSTDERR: from tsschecker.c:18: BUILDSTDERR: tsschecker.c: In function 'tssrequest': BUILDSTDERR: tsschecker.c:817:18: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 817 | info("\n[TSSR] Found undocumented baseband\n\n", BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:14:28: note: in definition of macro 'info' BUILDSTDERR: 14 | #define info(a ...) printf(a) BUILDSTDERR: | ^ BUILDSTDERR: tsschecker.c: At top level: BUILDSTDERR: tsschecker.c:1075: warning: ignoring #pragma mark print [-Wunknown-pragmas] BUILDSTDERR: 1075 | #pragma mark print functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c:1098:38: warning: missing terminating ' character BUILDSTDERR: 1098 | #warning print devices function doesn't actually check if devices are sorted. it assues they are sorted in json BUILDSTDERR: | ^ BUILDSTDERR: tsschecker.c:1098:2: warning: #warning print devices function doesn't actually check if devices are sorted. it assues they are sorted in json [-Wcpp] BUILDSTDERR: 1098 | #warning print devices function doesn't actually check if devices are sorted. it assues they are sorted in json BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tsschecker.c:1228: warning: ignoring #pragma mark check [-Wunknown-pragmas] BUILDSTDERR: 1228 | #pragma mark check functions BUILDSTDERR: | BUILDSTDERR: tsschecker.c: In function 'getFirmwareJson': BUILDSTDERR: tsschecker.c:232:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 232 | fread(fJson, fsize, 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tsschecker.c: In function 'getOtaJson': BUILDSTDERR: tsschecker.c:248:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 248 | fread(fJson, fsize, 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tsschecker.c: In function 'getBuildManifest': BUILDSTDERR: tsschecker.c:526:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 526 | fread(buildmanifest, fsize, 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tsschecker.c: In function 'isManifestSignedForDevice': BUILDSTDERR: tsschecker.c:986:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 986 | fread(bufManifest, fsize, 1, fmanifest); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tsschecker.c:9: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'getListOfiOSForDevice' at tsschecker.c:1184:21: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -c -o tsschecker-download.o `test -f 'download.c' || echo './'`download.c make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -c -o tsschecker-main.o `test -f 'main.c' || echo './'`main.c make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:177:39: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] BUILDSTDERR: 177 | devVals.deviceModel = strdup(optarg); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | strcmp BUILDSTDERR: main.c:177:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 177 | devVals.deviceModel = strdup(optarg); BUILDSTDERR: | ^ BUILDSTDERR: main.c:181:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 181 | versVals.version = strdup(optarg); BUILDSTDERR: | ^ BUILDSTDERR: main.c:184:34: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 184 | versVals.buildID = strdup(optarg); BUILDSTDERR: | ^ BUILDSTDERR: main.c:187:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 187 | devVals.deviceBoard = strdup(optarg); BUILDSTDERR: | ^ BUILDSTDERR: In file included from download.h:14, BUILDSTDERR: from main.c:16: BUILDSTDERR: main.c:215:137: warning: operation on 'devVals..installType' may be undefined [-Wsequence-point] BUILDSTDERR: 215 | warning("unknown installType %d. Setting installType to default (%d)\n",devVals.installType,devVals.installType = kInstallTypeDefault); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:16:65: note: in definition of macro 'warning' BUILDSTDERR: 16 | #define warning(a ...) if (dbglog) printf("[WARNING] "), printf(a) BUILDSTDERR: | ^ BUILDSTDERR: main.c:307:37: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 307 | devVals.deviceModel = strdup(tmp); BUILDSTDERR: | ^ BUILDSTDERR: main.c:401:47: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 401 | while((bpos = strstr(versVals.version = strdup(versions[i++]),"[B]")) != 0){ BUILDSTDERR: | ^ BUILDSTDERR: main.c:288:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 288 | fread(buf, 1, bufSize, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -c -o libjssy_a-jssy.o `test -f '../external/jssy/jssy/jssy.c' || echo './'`../external/jssy/jssy/jssy.c make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' BUILDSTDERR: ../external/jssy/jssy/jssy.c:289: warning: ignoring #pragma mark helpers [-Wunknown-pragmas] BUILDSTDERR: 289 | #pragma mark helpers BUILDSTDERR: | make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' rm -f libjssy.a ar cru libjssy.a libjssy_a-jssy.o ranlib libjssy.a make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -lplist -lfragmentzip -lzip -lcurl -lz -lcurl -lcrypto -lirecovery -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tsschecker tsschecker-tsschecker.o tsschecker-tss.o tsschecker-download.o tsschecker-main.o -lplist -lfragmentzip -lzip -lcurl -lz -lcurl -lcrypto -lirecovery -lm libjssy.a libtool: link: gcc -I/usr/include/libusb-1.0 -I../external/jssy/jssy/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c11 -D TSSCHECKER_VERSION_COUNT=\"\" -D TSSCHECKER_VERSION_SHA=\"\" -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tsschecker tsschecker-tsschecker.o tsschecker-tss.o tsschecker-download.o tsschecker-main.o -lplist -lfragmentzip -lzip -lz -lcurl -lcrypto -lirecovery -lm libjssy.a make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n2Uc7W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 + cd tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 'INSTALL=/usr/bin/install -p' Making install in tsschecker make[1]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p tsschecker '/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/bin' libtool: install: /usr/bin/install -p tsschecker /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/bin/tsschecker /usr/bin/mkdir -p '/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/lib' /usr/bin/install -p -m 644 libjssy.a '/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/lib' ( cd '/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/lib' && ranlib libjssy.a ) make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[1]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0/tsschecker' make[1]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0' make[2]: Entering directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0' make[1]: Leaving directory '/builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.0-1.gitb2ea395.fc30 --unique-debug-suffix -0.0-1.gitb2ea395.fc30.i386 --unique-debug-src-base tsschecker-0.0-1.gitb2ea395.fc30.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/bin/tsschecker extracting debug info from /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/bin/tsschecker /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 268 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tsschecker-0.0-1.gitb2ea395.fc30.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z3E6Wz + umask 022 + cd /builddir/build/BUILD + cd tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + DOCDIR=/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/doc/tsschecker + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/doc/tsschecker + cp -pr README.md /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/doc/tsschecker + cp -pr nonces.txt /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/doc/tsschecker + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.r3b7Oc + umask 022 + cd /builddir/build/BUILD + cd tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + LICENSEDIR=/builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/licenses/tsschecker + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/licenses/tsschecker + cp -pr LICENSE /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386/usr/share/licenses/tsschecker + exit 0 Provides: tsschecker = 0.0-1.gitb2ea395.fc30 tsschecker(x86-32) = 0.0-1.gitb2ea395.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.1.1 libcrypto.so.1.1(OPENSSL_1_1_0) libcurl.so.4 libfragmentzip.so.0 libirecovery.so.2 libm.so.6 libm.so.6(GLIBC_2.29) libplist.so.3 rtld(GNU_HASH) Processing files: tsschecker-debugsource-0.0-1.gitb2ea395.fc30.i686 Provides: tsschecker-debugsource = 0.0-1.gitb2ea395.fc30 tsschecker-debugsource(x86-32) = 0.0-1.gitb2ea395.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tsschecker-debuginfo-0.0-1.gitb2ea395.fc30.i686 Provides: debuginfo(build-id) = 31d2cad37d58a1ae5dc80e81d94e3a3effaf7709 tsschecker-debuginfo = 0.0-1.gitb2ea395.fc30 tsschecker-debuginfo(x86-32) = 0.0-1.gitb2ea395.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tsschecker-debugsource(x86-32) = 0.0-1.gitb2ea395.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 Wrote: /builddir/build/RPMS/tsschecker-0.0-1.gitb2ea395.fc30.i686.rpm Wrote: /builddir/build/RPMS/tsschecker-debugsource-0.0-1.gitb2ea395.fc30.i686.rpm Wrote: /builddir/build/RPMS/tsschecker-debuginfo-0.0-1.gitb2ea395.fc30.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xhG9pQ + umask 022 + cd /builddir/build/BUILD + cd tsschecker-b2ea39564523aaa09478ccd00c9ca811c53479c0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tsschecker-0.0-1.gitb2ea395.fc30.i386 + exit 0 Child return code was: 0