Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libmobi.spec'], chrootPath='/var/lib/mock/f33-build-292733-54942/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libmobi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/libmobi-0.4-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libmobi.spec'], chrootPath='/var/lib/mock/f33-build-292733-54942/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libmobi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hysk2G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmobi-0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/libmobi-0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libmobi-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rv6ieI + umask 022 + cd /builddir/build/BUILD + cd libmobi-0.4 + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force 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' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:15: installing './compile' configure.ac:9: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-14 00:27:47.984052669 -0400 +++ ./configure 2020-08-14 00:28:36.784053361 -0400 @@ -1781,7 +1781,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-14 00:28:36.784053361 -0400 +++ ./configure 2020-08-14 00:28:37.834053376 -0400 @@ -6582,7 +6582,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14520,7 +14520,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ 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' ']' ++ 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=riscv64-redhat-linux-gnu --host=riscv64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-encryption --with-libxml2 --with-zlib 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 whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-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 riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6507: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 riscv64-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... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for strdup... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking for utime... yes checking whether __SUNPRO_C is declared... no checking for visibility hidden compiler flag... -fvisibility=hidden checking for inline keyword... __inline__ checking whether enable xmlwriter (for opf support)... yes checking whether compile with libxml2... yes checking for xml2-config... xml2-config checking libxml/xmlwriter.h usability... yes checking libxml/xmlwriter.h presence... yes checking for libxml/xmlwriter.h... yes checking whether enable encryption... yes checking whether enable debugging... no checking whether enable alloc debugging... no checking whether link tools against static libmobi... no checking whether compile with zlib... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for md5sum... md5sum -t checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libmobi.pc config.status: creating src/Makefile config.status: creating tools/Makefile config.status: creating tools/mobitool.1 config.status: creating tools/mobimeta.1 config.status: creating tests/Makefile config.status: creating tests/test.sh config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-compression.lo `test -f 'compression.c' || echo './'`compression.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c compression.c -fPIC -DPIC -o .libs/libmobi_la-compression.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-debug.lo `test -f 'debug.c' || echo './'`debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c debug.c -fPIC -DPIC -o .libs/libmobi_la-debug.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-buffer.lo `test -f 'buffer.c' || echo './'`buffer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c buffer.c -fPIC -DPIC -o .libs/libmobi_la-buffer.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-index.lo `test -f 'index.c' || echo './'`index.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c index.c -fPIC -DPIC -o .libs/libmobi_la-index.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-memory.lo `test -f 'memory.c' || echo './'`memory.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c memory.c -fPIC -DPIC -o .libs/libmobi_la-memory.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-meta.lo `test -f 'meta.c' || echo './'`meta.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c meta.c -fPIC -DPIC -o .libs/libmobi_la-meta.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-structure.lo `test -f 'structure.c' || echo './'`structure.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c structure.c -fPIC -DPIC -o .libs/libmobi_la-structure.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-read.lo `test -f 'read.c' || echo './'`read.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c read.c -fPIC -DPIC -o .libs/libmobi_la-read.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-parse_rawml.lo `test -f 'parse_rawml.c' || echo './'`parse_rawml.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c parse_rawml.c -fPIC -DPIC -o .libs/libmobi_la-parse_rawml.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' parse_rawml.c: In function 'mobi_posfid_to_link.part.0': parse_rawml.c:1073:69: warning: '%s' directive output may be truncated writing up to 150 bytes into a region of size between 130 and 135 [-Wformat-truncation=] 1073 | snprintf(link, MOBI_ATTRVALUE_MAXSIZE + 1, "\"part%05u.html#%s\"", part_id, id); | ^~ ~~ In file included from /usr/include/stdio.h:866, from mobi.h:19, from parse_rawml.h:15, from parse_rawml.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 18 and 173 bytes into a destination of size 151 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_rawml.c: In function 'mobi_reconstruct_infl': parse_rawml.c:1336:51: warning: '%s' directive output may be truncated writing up to 500 bytes into a region of size 482 [-Wformat-truncation=] 1336 | const char *iform_tag = ""; | ^~ ...... 1384 | snprintf(infl_tag, INDX_INFLBUF_SIZEMAX, iform_tag, name_attr, decoded); | ~~~~~~~ In file included from /usr/include/stdio.h:866, from mobi.h:19, from parse_rawml.h:15, from parse_rawml.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 22 or more bytes (assuming 522) into a destination of size 500 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-write.lo `test -f 'write.c' || echo './'`write.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c write.c -fPIC -DPIC -o .libs/libmobi_la-write.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-util.lo `test -f 'util.c' || echo './'`util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c util.c -fPIC -DPIC -o .libs/libmobi_la-util.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' util.c: In function 'mobi_determine_flowpart_type': util.c:2035:41: warning: '%04zu' directive output may be truncated writing between 4 and 20 bytes into a region of size 17 [-Wformat-truncation=] 2035 | snprintf(target, 30, "\"kindle:flow:%04zu?mime=", part_number); | ^~~~~ util.c:2035:26: note: directive argument in the range [1, 18446744073709551615] 2035 | snprintf(target, 30, "\"kindle:flow:%04zu?mime=", part_number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from mobi.h:19, from util.h:15, from util.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 24 and 40 bytes into a destination of size 30 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-encryption.lo `test -f 'encryption.c' || echo './'`encryption.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c encryption.c -fPIC -DPIC -o .libs/libmobi_la-encryption.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-sha1.lo `test -f 'sha1.c' || echo './'`sha1.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sha1.c -fPIC -DPIC -o .libs/libmobi_la-sha1.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libmobi_la-opf.lo `test -f 'opf.c' || echo './'`opf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c opf.c -fPIC -DPIC -o .libs/libmobi_la-opf.o make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' In file included from /usr/include/string.h:519, from opf.c:18: In function 'strncpy', inlined from 'mobi_build_opf_guide' at opf.c:196:13: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opf.c: In function 'mobi_build_opf_guide': opf.c:172:28: note: length computed here 172 | size_t type_size = strlen(type); | ^~~~~~~~~~~~ opf.c: In function 'mobi_build_ncx': opf.c:619:80: warning: '%s' directive output may be truncated writing up to 150 bytes into a region of size between 131 and 136 [-Wformat-truncation=] 619 | snprintf(target, MOBI_ATTRNAME_MAXSIZE + 1, "part%05u.html#%s", filenumber, targetid); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from mobi.h:19, from opf.h:15, from opf.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 171 bytes into a destination of size 151 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /bin/sh ../libtool --tag=CC --mode=link gcc -fvisibility=hidden -I/usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -lz -lxml2 -lz -llzma -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmobi.la -rpath /usr/lib64 libmobi_la-buffer.lo libmobi_la-compression.lo libmobi_la-debug.lo libmobi_la-index.lo libmobi_la-memory.lo libmobi_la-meta.lo libmobi_la-parse_rawml.lo libmobi_la-read.lo libmobi_la-structure.lo libmobi_la-util.lo libmobi_la-write.lo libmobi_la-opf.lo libmobi_la-encryption.lo libmobi_la-sha1.lo libtool: link: gcc -shared -fPIC -DPIC .libs/libmobi_la-buffer.o .libs/libmobi_la-compression.o .libs/libmobi_la-debug.o .libs/libmobi_la-index.o .libs/libmobi_la-memory.o .libs/libmobi_la-meta.o .libs/libmobi_la-parse_rawml.o .libs/libmobi_la-read.o .libs/libmobi_la-structure.o .libs/libmobi_la-util.o .libs/libmobi_la-write.o .libs/libmobi_la-opf.o .libs/libmobi_la-encryption.o .libs/libmobi_la-sha1.o -lxml2 -lz -llzma -lm -ldl -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libmobi.so.0 -o .libs/libmobi.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmobi.so.0" && ln -s "libmobi.so.0.0.0" "libmobi.so.0") libtool: link: (cd ".libs" && rm -f "libmobi.so" && ln -s "libmobi.so.0.0.0" "libmobi.so") libtool: link: ( cd ".libs" && rm -f "libmobi.la" && ln -s "../libmobi.la" "libmobi.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' In function 'strncpy', inlined from 'mobi_build_opf_guide' at opf.c:196:13: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ opf.c: In function 'mobi_build_opf_guide': opf.c:172:28: note: length computed here 172 | size_t type_size = strlen(type); | ^ Making all in tools make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o common.o common.c make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' In file included from /usr/include/string.h:519, from common.c:17: In function 'strncpy', inlined from 'split_fullpath' at common.c:95:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.c: In function 'split_fullpath': common.c:95:37: note: length computed here 95 | strncpy(basename, fullpath, strlen(fullpath) + 1); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.c:17: In function 'strncpy', inlined from 'split_fullpath' at common.c:91:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.c: In function 'split_fullpath': common.c:91:30: note: length computed here 91 | strncpy(basename, p, strlen(p) + 1); | ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -D_POSIX_C_SOURCE=200112L -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mobimeta-mobimeta.o `test -f 'mobimeta.c' || echo './'`mobimeta.c make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' rm -f libcommon.a ar cru libcommon.a common.o ranlib libcommon.a make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -D_POSIX_C_SOURCE=200112L -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mobitool-mobitool.o `test -f 'mobitool.c' || echo './'`mobitool.c make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' mobitool.c: In function 'dump_records': mobitool.c:254:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 254 | snprintf(newdir, sizeof(newdir), "%s%s_records", dirname, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 8199 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:252:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 252 | snprintf(newdir, sizeof(newdir), "%s%s_records", outdir, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 8199 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:268:43: warning: 'record_' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 268 | snprintf(name, sizeof(name), "%s%crecord_%i_uid_%i", newdir, separator, i++, currec->uid); | ^~~~~~~ mobitool.c:268:38: note: directive argument in the range [0, 2147483646] 268 | snprintf(name, sizeof(name), "%s%crecord_%i_uid_%i", newdir, separator, i++, currec->uid); | ^~~~~~~~~~~~~~~~~~~~~~ mobitool.c:268:38: note: using the range [-2147483648, 2147483647] for directive argument In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4130 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c: In function 'dump_rawml': mobitool.c:296:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 296 | snprintf(newdir, sizeof(newdir), "%s%s.rawml", dirname, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 8197 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:294:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 294 | snprintf(newdir, sizeof(newdir), "%s%s.rawml", outdir, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 8197 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c: In function 'dump_rawml_parts': mobitool.c:332:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 332 | snprintf(newdir, sizeof(newdir), "%s%s_markup", dirname, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 8198 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:330:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 330 | snprintf(newdir, sizeof(newdir), "%s%s_markup", outdir, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 8198 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:344:47: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 344 | snprintf(opfdir, sizeof(newdir), "%s%c%s", newdir, separator, "META-INF"); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:353:53: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 353 | snprintf(container, sizeof(container), "%s%c%s", opfdir, separator, "container.xml"); | ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 15 and 4110 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:370:53: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 370 | snprintf(container, sizeof(container), "%s%c%s", newdir, separator, "mimetype"); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 10 and 4105 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:387:47: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 387 | snprintf(opfdir, sizeof(opfdir), "%s%c%s", newdir, separator, "OEBPS"); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:403:55: warning: 'part' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 403 | snprintf(partname, sizeof(partname), "%s%cpart%05zu.%s", newdir, separator, curr->uid, file_meta.extension); | ^~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 4126 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:431:55: warning: 'flow' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 431 | snprintf(partname, sizeof(partname), "%s%cflow%05zu.%s", newdir, separator, curr->uid, file_meta.extension); | ^~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 4126 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:460:63: warning: 'content.opf' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 460 | snprintf(partname, sizeof(partname), "%s%ccontent.opf", newdir, separator); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:462:63: warning: 'resource' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 462 | snprintf(partname, sizeof(partname), "%s%cresource%05zu.%s", newdir, separator, curr->uid, file_meta.extension); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 4130 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c: In function 'create_epub': mobitool.c:516:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 516 | snprintf(zipfile, sizeof(zipfile), "%s%s.epub", dirname, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 6 and 8196 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:514:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 514 | snprintf(zipfile, sizeof(zipfile), "%s%s.epub", outdir, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 6 and 8196 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c: In function 'dump_embedded_source': mobitool.c:636:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 636 | snprintf(newdir, sizeof(newdir), "%s%s_source", dirname, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 8198 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:634:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 634 | snprintf(newdir, sizeof(newdir), "%s%s_source", outdir, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 8198 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:654:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 654 | snprintf(srcsname, sizeof(srcsname), "%s%c%s_source.%s", newdir, separator, basename, ext); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 8204 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mobitool.c:685:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 685 | snprintf(srcsname, sizeof(srcsname), "%s%c%s_source.txt", newdir, separator, basename); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../src/mobi.h:19, from mobitool.c:27: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 8203 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' /bin/sh ../libtool --tag=CC --mode=link gcc -D_POSIX_C_SOURCE=200112L -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mobimeta mobimeta-mobimeta.o ../src/libmobi.la libcommon.a libtool: link: gcc -D_POSIX_C_SOURCE=200112L -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mobimeta mobimeta-mobimeta.o ../src/.libs/libmobi.so -lxml2 -lz -llzma -lm -ldl libcommon.a make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ../src/libminiz_a-miniz.o `test -f '../src/miniz.c' || echo './'`../src/miniz.c make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' rm -f libminiz.a ar cru libminiz.a ../src/libminiz_a-miniz.o ranlib libminiz.a make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' /bin/sh ../libtool --tag=CC --mode=link gcc -D_POSIX_C_SOURCE=200112L -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mobitool mobitool-mobitool.o ../src/libmobi.la libcommon.a libminiz.a libtool: link: gcc -D_POSIX_C_SOURCE=200112L -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mobitool mobitool-mobitool.o ../src/.libs/libmobi.so -lxml2 -lz -llzma -lm -ldl libcommon.a libminiz.a make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' In function 'strncpy', inlined from 'split_fullpath' at common.c:95:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ common.c: In function 'split_fullpath': common.c:95:37: note: length computed here 95 | strncpy(basename, fullpath, strlen(fullpath) + 1); | ^ In function 'strncpy', inlined from 'split_fullpath' at common.c:91:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ common.c: In function 'split_fullpath': common.c:91:30: note: length computed here 91 | strncpy(basename, p, strlen(p) + 1); | ^ Making all in tests make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MUJ5WF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 + cd libmobi-0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libmobi.la '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libmobi.so.0.0.0 /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/libmobi.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64 && { ln -s -f libmobi.so.0.0.0 libmobi.so.0 || { rm -f libmobi.so.0 && ln -s libmobi.so.0.0.0 libmobi.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64 && { ln -s -f libmobi.so.0.0.0 libmobi.so || { rm -f libmobi.so && ln -s libmobi.so.0.0.0 libmobi.so; }; }) libtool: install: /usr/bin/install -p .libs/libmobi.lai /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/libmobi.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/include' /usr/bin/install -p -m 644 mobi.h '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' make[1]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/src' Making install in tools make[1]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tools' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p mobitool mobimeta '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin' libtool: warning: '../src/libmobi.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mobitool /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin/mobitool libtool: warning: '../src/libmobi.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mobimeta /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin/mobimeta /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 mobitool.1 mobimeta.1 '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' make[1]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tools' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tests' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4/tests' 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/libmobi-0.4/tests' make[1]: Leaving directory '/builddir/build/BUILD/libmobi-0.4/tests' make[1]: Entering directory '/builddir/build/BUILD/libmobi-0.4' make[2]: Entering directory '/builddir/build/BUILD/libmobi-0.4' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libmobi.pc '/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libmobi-0.4' make[1]: Leaving directory '/builddir/build/BUILD/libmobi-0.4' + find /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64 -name '*.la' -delete -print /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/libmobi.la + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.4-6.fc33 --unique-debug-suffix -0.4-6.fc33.riscv64 --unique-debug-src-base libmobi-0.4-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libmobi-0.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin/mobimeta explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/libmobi.so.0.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin/mobitool extracting debug info from /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin/mobimeta extracting debug info from /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/lib64/libmobi.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/bin/mobitool original debug info size: 2780kB, size after compression: 2712kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 1652 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libmobi-0.4-6.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.blWtpH + umask 022 + cd /builddir/build/BUILD + cd libmobi-0.4 + LICENSEDIR=/builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/share/licenses/libmobi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/share/licenses/libmobi + cp -pr COPYING /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64/usr/share/licenses/libmobi + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmobi = 0.4-6.fc33 libmobi(riscv-64) = 0.4-6.fc33 libmobi.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libxml2.so.2(LIBXML2_2.6.5)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libmobi-tools-0.4-6.fc33.riscv64 Provides: libmobi-tools = 0.4-6.fc33 libmobi-tools(riscv-64) = 0.4-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmobi.so.0()(64bit) rtld(GNU_HASH) Processing files: libmobi-devel-0.4-6.fc33.riscv64 Provides: libmobi-devel = 0.4-6.fc33 libmobi-devel(riscv-64) = 0.4-6.fc33 pkgconfig(libmobi) = 0.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libmobi.so.0()(64bit) Processing files: libmobi-debugsource-0.4-6.fc33.riscv64 Provides: libmobi-debugsource = 0.4-6.fc33 libmobi-debugsource(riscv-64) = 0.4-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libmobi-debuginfo-0.4-6.fc33.riscv64 Provides: debuginfo(build-id) = e29263411be79dd241c71dc11835c7708ef54c2a libmobi-debuginfo = 0.4-6.fc33 libmobi-debuginfo(riscv-64) = 0.4-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libmobi-debugsource(riscv-64) = 0.4-6.fc33 Processing files: libmobi-tools-debuginfo-0.4-6.fc33.riscv64 Provides: debuginfo(build-id) = 350f3254263eb87d1efd9b9bd161e6c07c82f6c0 debuginfo(build-id) = 3f80e017e5ffc5609eb354eb1e6fff388a3d2895 libmobi-tools-debuginfo = 0.4-6.fc33 libmobi-tools-debuginfo(riscv-64) = 0.4-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libmobi-debugsource(riscv-64) = 0.4-6.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 Wrote: /builddir/build/RPMS/libmobi-0.4-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libmobi-tools-debuginfo-0.4-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libmobi-tools-0.4-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libmobi-devel-0.4-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libmobi-debuginfo-0.4-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libmobi-debugsource-0.4-6.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HGhfVG + umask 022 + cd /builddir/build/BUILD + cd libmobi-0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libmobi-0.4-6.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0