D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: line 58: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64chm0-devel
Installing /home/pterjan/rpmbuild/SRPMS/chmlib-0.40-17.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ggLfr9
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ test -d /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.X3kurS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ rm -rf chmlib-0.40
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/chmlib-0.40.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd chmlib-0.40
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/chmlib-0001-Patch-to-fix-integer-types-problem-by-Goswin-von-Bre.patch
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/chmlib-0002-Fix-for-extract_chmLib-confusing-empty-files-with-di.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/5877959e3eb9a54e131608c52e2d6f4c89bc0189.patch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eBT4Xv
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ cd chmlib-0.40
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /usr/bin/autoconf --force
configure.in:11: warning: The macro 'AC_PROG_LD' is obsolete.
configure.in:11: You should run autoupdate.
aclocal.m4:3410: AC_PROG_LD is expanded from...
configure.in:11: the top level
configure.in:12: warning: The macro 'AM_PROG_LIBTOOL' is obsolete.
configure.in:12: You should run autoupdate.
aclocal.m4:123: AM_PROG_LIBTOOL is expanded from...
configure.in:12: the top level
configure.in:21: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:21: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:21: the top level
configure.in:43: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:43: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:43: the top level
configure.in:64: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:64: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:64: the top level
configure.in:75: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:75: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:75: the top level
configure.in:86: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.in:86: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:86: the top level
configure.in:189: warning: AC_OUTPUT should be used without arguments.
configure.in:189: You should run autoupdate.
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:10: installing './compile'
configure.in:5: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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-examples
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-mageia-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... 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... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
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 how to print strings... printf
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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for x86_64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-mageia-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 x86_64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 -m elf_x86_64) 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 string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pthread_mutex_init in -lpthread... yes
checking for lseek64... yes
checking for pread64... yes
checking for size_t... yes
checking for GNU libc compatible malloc... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
Making all in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o test_chmLib.o test_chmLib.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o enum_chmLib.o enum_chmLib.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o enumdir_chmLib.o enumdir_chmLib.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o extract_chmLib.o extract_chmLib.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o chm_http.o chm_http.c
chm_http.c: In function 'service_request':
chm_http.c:345:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  345 |         write(fd, INTERNAL_ERROR, strlen(INTERNAL_ERROR));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
chm_http.c:350:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  350 |     fgets(buffer, 4096, fout);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o chm_lib.lo chm_lib.c
libtool: compile:  gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c chm_lib.c  -fPIC -DPIC -o .libs/chm_lib.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o lzx.lo lzx.c
libtool: compile:  gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC=1 -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c lzx.c  -fPIC -DPIC -o .libs/lzx.o
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o libchm.la -rpath /usr/lib64 chm_lib.lo lzx.lo  -lpthread 
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/chm_lib.o .libs/lzx.o   -O2 -g -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld    -lpthread -Wl,-soname -Wl,libchm.so.0 -o .libs/libchm.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libchm.so.0" && ln -s "libchm.so.0.0.0" "libchm.so.0")
libtool: link: (cd ".libs" && rm -f "libchm.so" && ln -s "libchm.so.0.0.0" "libchm.so")
libtool: link: ( cd ".libs" && rm -f "libchm.la" && ln -s "../libchm.la" "libchm.la" )
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o enum_chmLib enum_chmLib.o libchm.la -lpthread 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/enum_chmLib enum_chmLib.o  ./.libs/libchm.so -lpthread
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o chm_http chm_http.o libchm.la -lpthread 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/chm_http chm_http.o  ./.libs/libchm.so -lpthread
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o test_chmLib test_chmLib.o libchm.la -lpthread 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_chmLib test_chmLib.o  ./.libs/libchm.so -lpthread
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o enumdir_chmLib enumdir_chmLib.o libchm.la -lpthread 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/enumdir_chmLib enumdir_chmLib.o  ./.libs/libchm.so -lpthread
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o extract_chmLib extract_chmLib.o libchm.la -lpthread 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/extract_chmLib extract_chmLib.o  ./.libs/libchm.so -lpthread
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Nothing to be done for 'all-am'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CBUPJZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ mkdir /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT
+ cd chmlib-0.40
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
Making install in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libchm.la '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libchm.so.0.0.0 /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64/libchm.so.0.0.0
libtool: install: (cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64 && { ln -s -f libchm.so.0.0.0 libchm.so.0 || { rm -f libchm.so.0 && ln -s libchm.so.0.0.0 libchm.so.0; }; })
libtool: install: (cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64 && { ln -s -f libchm.so.0.0.0 libchm.so || { rm -f libchm.so && ln -s libchm.so.0.0.0 libchm.so; }; })
libtool: install: /usr/bin/install -p .libs/libchm.lai /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64/libchm.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p chm_http enum_chmLib enumdir_chmLib extract_chmLib test_chmLib '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin'
libtool: warning: 'libchm.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/chm_http /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin/chm_http
libtool: warning: 'libchm.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/enum_chmLib /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin/enum_chmLib
libtool: warning: 'libchm.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/enumdir_chmLib /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin/enumdir_chmLib
libtool: warning: 'libchm.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/extract_chmLib /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin/extract_chmLib
libtool: warning: 'libchm.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/test_chmLib /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/bin/test_chmLib
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/include'
 /usr/bin/install -p -m 644 chm_lib.h lzx.h '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/include'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40'
+ rm -f /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT/usr/lib64/libchm.la
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.40-17.mga10 --unique-debug-suffix -0.40-17.mga10.x86_64 --unique-debug-src-base chmlib-0.40-17.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/chmlib-0.40
find-debuginfo: starting

Extracting debug info from 6 files
DWARF-compressing 6 files
sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/chmlib-0.40-17.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: chmlib-0.40-17.mga10.x86_64
Provides: chmlib = 0.40-17.mga10 chmlib(x86-64) = 0.40-17.mga10 libchm-bin
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libchm.so.0()(64bit)
Processing files: lib64chm0-0.40-17.mga10.x86_64
Provides: lib64chm0 = 0.40-17.mga10 lib64chm0(x86-64) = 0.40-17.mga10 libchm = 0.40-17.mga10 libchm.so.0()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit)
Processing files: lib64chm-devel-0.40-17.mga10.x86_64
Provides: chmlib-devel = 0.40 devel(libchm(64bit)) lib64chm-devel = 0.40-17.mga10 lib64chm-devel(x86-64) = 0.40-17.mga10 libchm-devel = 0.40
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Obsoletes: lib64chm0-devel
Processing files: chmlib-debugsource-0.40-17.mga10.x86_64
Provides: chmlib-debugsource = 0.40-17.mga10 chmlib-debugsource(x86-64) = 0.40-17.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: chmlib-debuginfo-0.40-17.mga10.x86_64
Provides: chmlib-debuginfo = 0.40-17.mga10 chmlib-debuginfo(x86-64) = 0.40-17.mga10 debuginfo(build-id) = 8b5ed63d16189f33930419c93c4e66d7277a9d00 debuginfo(build-id) = 8bdeef58d0e5b8daffc0536c98fb24e4ce7cb057 debuginfo(build-id) = 935820b65db458766d108cc5e987834642ce360e debuginfo(build-id) = aa5832735b00e28109fc4aeab26d37e7452f6f17 debuginfo(build-id) = e7edb18851200251938f9c8ff4c889f8daee3974
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: chmlib-debugsource(x86-64) = 0.40-17.mga10
Processing files: lib64chm0-debuginfo-0.40-17.mga10.x86_64
Provides: debuginfo(build-id) = a8dca9d471ba080671bc6c6d07e183e4e73b0212 lib64chm0-debuginfo = 0.40-17.mga10 lib64chm0-debuginfo(x86-64) = 0.40-17.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: chmlib-debugsource(x86-64) = 0.40-17.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/chmlib-debugsource-0.40-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64chm0-0.40-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/chmlib-0.40-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64chm-devel-0.40-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64chm0-debuginfo-0.40-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/chmlib-debuginfo-0.40-17.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DyxmW9
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ test -d /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/chmlib-0.40-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    line 58: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64chm0-devel
D: [iurt_root_command] Success!