<86>Nov 20 02:53:39 userdel[4132022]: delete user 'rooter'
<86>Nov 20 02:53:39 userdel[4132022]: removed group 'rooter' owned by 'rooter'
<86>Nov 20 02:53:39 userdel[4132022]: removed shadow group 'rooter' owned by 'rooter'
<86>Nov 20 02:53:39 groupadd[4132050]: group added to /etc/group: name=rooter, GID=1874
<86>Nov 20 02:53:39 groupadd[4132050]: group added to /etc/gshadow: name=rooter
<86>Nov 20 02:53:39 groupadd[4132050]: new group: name=rooter, GID=1874
<86>Nov 20 02:53:39 useradd[4132076]: new user: name=rooter, UID=1874, GID=1874, home=/root, shell=/bin/bash, from=none
<86>Nov 20 02:53:39 userdel[4132109]: delete user 'builder'
<86>Nov 20 02:53:39 userdel[4132109]: removed group 'builder' owned by 'builder'
<86>Nov 20 02:53:39 userdel[4132109]: removed shadow group 'builder' owned by 'builder'
<86>Nov 20 02:53:39 groupadd[4132146]: group added to /etc/group: name=builder, GID=1875
<86>Nov 20 02:53:39 groupadd[4132146]: group added to /etc/gshadow: name=builder
<86>Nov 20 02:53:39 groupadd[4132146]: new group: name=builder, GID=1875
<86>Nov 20 02:53:39 useradd[4132181]: new user: name=builder, UID=1875, GID=1875, home=/usr/src, shell=/bin/bash, from=none
<13>Nov 20 02:53:42 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed
<13>Nov 20 02:53:42 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed
<13>Nov 20 02:53:43 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed
<13>Nov 20 02:53:43 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/libchm-0.40-alt7.nosrc.rpm (w1.gzdio)
Installing libchm-0.40-alt7.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.55516
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf chmlib-0.40
+ echo 'Source #0 (chmlib-0.40.tar.bz2):'
Source #0 (chmlib-0.40.tar.bz2):
+ /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/chmlib-0.40.tar.bz2
+ /bin/tar -xf -
+ cd chmlib-0.40
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (chmlib-0.39-alt-ppc.patch):'
Patch #0 (chmlib-0.39-alt-ppc.patch):
+ /usr/bin/patch -p1
patching file src/chm_lib.c
+ echo 'Patch #1 (chmlib-0.40-mcst-e2k-sparc.patch):'
Patch #1 (chmlib-0.40-mcst-e2k-sparc.patch):
+ /usr/bin/patch -p1
patching file src/chm_lib.c
+ echo 'Patch #2 (chmlib-0.40-arm.patch):'
Patch #2 (chmlib-0.40-arm.patch):
+ /usr/bin/patch -p1
patching file src/chm_lib.c
+ echo 'Patch #3 (chmlib-0.40-loongarch64.patch):'
Patch #3 (chmlib-0.40-loongarch64.patch):
+ /usr/bin/patch -p1
patching file src/chm_lib.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.55516
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd chmlib-0.40
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ echo 'rpm-build: warning: ./configure script does not support --runstatedir'
rpm-build: warning: ./configure script does not support --runstatedir
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-examples --disable-static
configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext
checking for a BSD-compatible install... /usr/bin/ginstall -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 to enable maintainer-specific portions of Makefiles... no
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-alt-linux-gcc... none
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-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 for ld used by x86_64-alt-linux-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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-alt-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for x86_64-alt-linux-ar... no
checking for ar... ar
checking for x86_64-alt-linux-strip... no
checking for strip... strip
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok
checking how to run the C preprocessor... x86_64-alt-linux-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 x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-alt-linux-gcc static flag -static works... no
checking if x86_64-alt-linux-gcc supports -c -o file.o... yes
checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-alt-linux-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 a BSD-compatible install... /usr/bin/ginstall -c
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
./config.status: line 1141: shift: shift count out of range
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext
+ subst 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ subst 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ make -j16
Making all in src
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c test_chmLib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c enum_chmLib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c enumdir_chmLib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c chm_http.c
chm_http.c: In function 'chmhttp_server':
chm_http.c:167:32: error: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration]
  167 |     bindAddr.sin_addr.s_addr = inet_addr(config_bind);
      |                                ^~~~~~~~~
chm_http.c:179:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
  179 |         close(server.socket);
      |         ^~~~~
      |         pclose
chm_http.c:192:73: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  192 |         slave->fd = accept(server.socket, (struct sockaddr *)&bindAddr, &addrLen);
      |                                                                         ^~~~~~~~
      |                                                                         |
      |                                                                         int *
In file included from chm_http.c:43:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
chm_http.c: In function 'service_request':
chm_http.c:343:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
  343 |         write(fd, INTERNAL_ERROR, strlen(INTERNAL_ERROR));
      |         ^~~~~
      |         fwrite
chm_http.c:348:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  348 |     fgets(buffer, 4096, fout);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:367: chm_http.o] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c extract_chmLib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o chm_lib.lo chm_lib.c
libtool: compile:  x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c chm_lib.c  -fPIC -DPIC -o .libs/chm_lib.o
chm_lib.c: In function '_chm_fetch_bytes':
chm_lib.c:745:15: error: implicit declaration of function 'pread64'; did you mean 'pread'? [-Wimplicit-function-declaration]
  745 |     readLen = pread64(h->fd, buf, (long)len, os);
      |               ^~~~~~~
      |               pread
chm_lib.c:711:22: warning: unused variable 'oldOs' [-Wunused-variable]
  711 |     Int64 readLen=0, oldOs=0;
      |                      ^~~~~
chm_lib.c: At top level:
chm_lib.c:356:19: warning: '_CHMU_SPANINFO' defined but not used [-Wunused-const-variable=]
  356 | static const char _CHMU_SPANINFO[] =
      |                   ^~~~~~~~~~~~~~
make[1]: *** [Makefile:381: chm_lib.lo] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" -DPACKAGE_STRING=\"chmlib\ 0.40\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I.     -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c -o lzx.lo lzx.c
libtool: compile:  x86_64-alt-linux-gcc -DPACKAGE_NAME=\"chmlib\" -DPACKAGE_TARNAME=\"chmlib\" -DPACKAGE_VERSION=\"0.40\" "-DPACKAGE_STRING=\"chmlib 0.40\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"chmlib\" -DVERSION=\"0.40\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -c lzx.c  -fPIC -DPIC -o .libs/lzx.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/chmlib-0.40/src'
make: *** [Makefile:248: all-recursive] Error 1
error: Bad exit status from /usr/src/tmp/rpm-tmp.55516 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.55516 (%build)
Command exited with non-zero status 1
1.03user 1.93system 0:03.43elapsed 86%CPU (0avgtext+0avgdata 23552maxresident)k
0inputs+0outputs (0major+400604minor)pagefaults 0swaps
hsh-rebuild: rebuild of `libchm-0.40-alt7.src.rpm' failed.
Command exited with non-zero status 1
3.37user 2.64system 0:12.68elapsed 47%CPU (0avgtext+0avgdata 137440maxresident)k
0inputs+0outputs (0major+184126minor)pagefaults 0swaps