D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/dact-0.8.42-12.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nA42yf
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Kj79Sl
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dact-0.8.42-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/dact-0.8.42-build
+ rm -rf dact-0.8.42
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/dact-0.8.42.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dact-0.8.42
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Jrk63h
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dact-0.8.42-build
+ 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,-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
+ cd dact-0.8.42
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ 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,-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/fix-libtool-ltmain-from-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
checking for x86_64-mageia-linux-gnu-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... no
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 off_t... yes
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking host operating system... linux-gnu
checking how to create shared objects... -shared -rdynamic -fPIC -DPIC
checking for dlopen... yes
checking for main in -lz... no
checking for main in -lbz2... yes
checking for main in -lmcrypt... yes
checking for main in -llzo... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing inet_aton... none required
checking for dlopen... (cached) yes
checking to use modules... yes
checking to see if you have /dev/urandom... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
./configure: fork: retry: Resource temporarily unavailable
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking lzoconf.h usability... no
checking lzoconf.h presence... no
checking for lzoconf.h... no
checking lzo1x.h usability... no
checking lzo1x.h presence... no
checking for lzo1x.h... no
checking lzo1y.h usability... no
checking lzo1y.h presence... no
checking for lzo1y.h... no
checking lzo2a.h usability... no
checking lzo2a.h presence... no
checking for lzo2a.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcrypt.h usability... yes
checking mcrypt.h presence... yes
checking for mcrypt.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint... yes
checking for inline... inline
checking for long long... yes
checking size of long long... 8
checking for long... yes
checking size of long... 8
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for uint64_t... yes
checking for int64_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint16_t... yes
checking for int16_t... yes
checking for compress2 in -lz... no
checking for gzdopen in -lz... no
checking for bzBuffToBuffCompress in -lbz2... no
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking for bzdopen in -lbz2... no
checking for BZ2_bzdopen in -lbz2... yes
checking for getopt... yes
checking for strsep... yes
checking for getpass... yes
checking for mkstemp... yes
checking for uname... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking windowsx.h usability... no
checking windowsx.h presence... no
checking for windowsx.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for main in -lwsock32... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
building Makefile.dep
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o parse_shr.o parse.c
make[1]: gcc: Resource temporarily unavailable
make[1]: *** [Makefile:79: parse_shr.o] Error 127
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o comp_snibble.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld comp_snibble.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:82: comp_snibble.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o sort_shr.o sort.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:79: sort_shr.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o comp_delta.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld comp_delta.c
gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:82: comp_delta.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o header_shr.o header.c
gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:79: header_shr.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o cipher_chaos.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld cipher_chaos.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:82: cipher_chaos.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o cipher_psub.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld cipher_psub.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:82: cipher_psub.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o cipher_serpent.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld cipher_serpent.c
gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:82: cipher_serpent.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o comp_bzlib.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld comp_bzlib.c -lbz2
gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable
compilation terminated.
make[1]: *** [Makefile:82: comp_bzlib.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o sfx.o sfx.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o comp_fail.o comp_fail.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o crc.o crc.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o libdact.o libdact.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o comp_fail_shr.o comp_fail.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o comp_plain_shr.o comp_plain.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o header.o header.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o comp_plain.o comp_plain.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o buffer.o buffer.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o dendian.o dendian.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o buffer_shr.o buffer.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o dact.o dact.c
In file included from dact.c:48:
algorithms.h:21: warning: header guard '_ALGORITHMS_H' followed by '#define' of a different macro [-Wheader-guard]
   21 | #ifndef _ALGORITHMS_H
algorithms.h:22: note: '_ALOGIRTHMS_H' is defined here; did you mean '_ALGORITHMS_H'?
   22 | #define _ALOGIRTHMS_H
dact.c: In function 'main':
dact.c:505:46: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  505 |                                 algorithms[i]=DACT_FAILED_ALGO;
      |                                              ^
In file included from dact.h:143,
                 from dact.c:21:
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.c:526:88: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  526 |                                                 if (ciphers_name[i]!=NULL && ciphers[i]!=DACT_FAILED_ALGO) {
      |                                                                                        ^~
dact.c:533:80: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  533 |                                         if (ciphers_name[i]!=NULL && ciphers[i]!=DACT_FAILED_ALGO) {
      |                                                                                ^~
dact.c:549:81: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  549 |                                         if (algorithms[i]==NULL || algorithms[i]==DACT_FAILED_ALGO) continue;
      |                                                                                 ^~
dact.c: In function 'dact_upgrade_file':
dact.c:127:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  127 |                                                 write(ofd, buf, x);
      |                                                 ^~~~~~~~~~~~~~~~~~
dact.c: In function 'dact_upgrade_file_checkver':
dact.c:158:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  158 |                 read(fd, &verbuf, 9);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: dact.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o dact_common.o dact_common.c
In file included from dact_common.c:49:
algorithms.h:52:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
   52 | int (*(algorithms[256]))()={    comp_plain_algo,
      |                                 ^~~~~~~~~~~~~~~
algorithms.h:52:33: note: (near initialization for 'algorithms[0]')
In file included from algorithms.h:28:
comp_plain.h:24:5: note: 'comp_plain_algo' declared here
   24 | int comp_plain_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~~
In file included from dact_common.c:21:
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_rle.h:27:23: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_rle_algo DACT_FAILED_ALGO
      |                       ^~~~~~~~~~~~~~~~
algorithms.h:53:33: note: in expansion of macro 'comp_rle_algo'
   53 |                                 comp_rle_algo,
      |                                 ^~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[1]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_rle.h:27:23: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_rle_algo DACT_FAILED_ALGO
      |                       ^~~~~~~~~~~~~~~~
algorithms.h:53:33: note: in expansion of macro 'comp_rle_algo'
   53 |                                 comp_rle_algo,
      |                                 ^~~~~~~~~~~~~
In file included from dact.h:143:
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_delta.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_delta_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:54:33: note: in expansion of macro 'comp_delta_algo'
   54 |                                 comp_delta_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[2]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_delta.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_delta_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:54:33: note: in expansion of macro 'comp_delta_algo'
   54 |                                 comp_delta_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_text.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_text_algo DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
algorithms.h:55:33: note: in expansion of macro 'comp_text_algo'
   55 |                                 comp_text_algo,
      |                                 ^~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[3]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_text.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_text_algo DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
algorithms.h:55:33: note: in expansion of macro 'comp_text_algo'
   55 |                                 comp_text_algo,
      |                                 ^~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:60:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   60 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[4]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:60:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   60 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:61:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   61 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[5]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:61:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   61 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_snibble.h:27:27: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_snibble_algo DACT_FAILED_ALGO
      |                           ^~~~~~~~~~~~~~~~
algorithms.h:63:33: note: in expansion of macro 'comp_snibble_algo'
   63 |                                 comp_snibble_algo,
      |                                 ^~~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[6]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_snibble.h:27:27: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_snibble_algo DACT_FAILED_ALGO
      |                           ^~~~~~~~~~~~~~~~
algorithms.h:63:33: note: in expansion of macro 'comp_snibble_algo'
   63 |                                 comp_snibble_algo,
      |                                 ^~~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:64:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   64 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[7]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:64:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   64 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:68:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   68 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[8]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:68:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   68 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_bzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_bzlib_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:71:33: note: in expansion of macro 'comp_bzlib_algo'
   71 |                                 comp_bzlib_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[9]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_bzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_bzlib_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:71:33: note: in expansion of macro 'comp_bzlib_algo'
   71 |                                 comp_bzlib_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:80:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   80 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[10]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:80:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   80 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:81:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   81 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[11]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:81:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   81 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:82:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   82 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[12]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:82:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   82 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzoox.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzoox_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:84:33: note: in expansion of macro 'comp_lzoox_algo'
   84 |                                 comp_lzoox_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[13]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzoox.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzoox_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:84:33: note: in expansion of macro 'comp_lzoox_algo'
   84 |                                 comp_lzoox_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzooy.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzooy_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:85:33: note: in expansion of macro 'comp_lzooy_algo'
   85 |                                 comp_lzooy_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[14]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzooy.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzooy_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:85:33: note: in expansion of macro 'comp_lzooy_algo'
   85 |                                 comp_lzooy_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzota.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzota_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:86:33: note: in expansion of macro 'comp_lzota_algo'
   86 |                                 comp_lzota_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[15]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzota.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzota_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:86:33: note: in expansion of macro 'comp_lzota_algo'
   86 |                                 comp_lzota_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
algorithms.h:21: warning: header guard '_ALGORITHMS_H' followed by '#define' of a different macro [-Wheader-guard]
   21 | #ifndef _ALGORITHMS_H
algorithms.h:22: note: '_ALOGIRTHMS_H' is defined here; did you mean '_ALGORITHMS_H'?
   22 | #define _ALOGIRTHMS_H
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_chaos.h:27:22: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_chaos DACT_FAILED_ALGO
      |                      ^~~~~~~~~~~~~~~~
ciphers.h:35:9: note: in expansion of macro 'cipher_chaos'
   35 |         cipher_chaos,
      |         ^~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[0]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_chaos.h:27:22: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_chaos DACT_FAILED_ALGO
      |                      ^~~~~~~~~~~~~~~~
ciphers.h:35:9: note: in expansion of macro 'cipher_chaos'
   35 |         cipher_chaos,
      |         ^~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_sub.h:27:20: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_sub DACT_FAILED_ALGO
      |                    ^~~~~~~~~~~~~~~~
ciphers.h:36:9: note: in expansion of macro 'cipher_sub'
   36 |         cipher_sub,
      |         ^~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[1]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_sub.h:27:20: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_sub DACT_FAILED_ALGO
      |                    ^~~~~~~~~~~~~~~~
ciphers.h:36:9: note: in expansion of macro 'cipher_sub'
   36 |         cipher_sub,
      |         ^~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_serpent.h:7:24: note: in expansion of macro 'DACT_FAILED_ALGO'
    7 | #define cipher_serpent DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
ciphers.h:38:9: note: in expansion of macro 'cipher_serpent'
   38 |         cipher_serpent,
      |         ^~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[2]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_serpent.h:7:24: note: in expansion of macro 'DACT_FAILED_ALGO'
    7 | #define cipher_serpent DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
ciphers.h:38:9: note: in expansion of macro 'cipher_serpent'
   38 |         cipher_serpent,
      |         ^~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_psub.h:26:21: note: in expansion of macro 'DACT_FAILED_ALGO'
   26 | #define cipher_psub DACT_FAILED_ALGO
      |                     ^~~~~~~~~~~~~~~~
ciphers.h:42:9: note: in expansion of macro 'cipher_psub'
   42 |         cipher_psub,
      |         ^~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[3]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_psub.h:26:21: note: in expansion of macro 'DACT_FAILED_ALGO'
   26 | #define cipher_psub DACT_FAILED_ALGO
      |                     ^~~~~~~~~~~~~~~~
ciphers.h:42:9: note: in expansion of macro 'cipher_psub'
   42 |         cipher_psub,
      |         ^~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact_common.c: In function 'dact_config_execute':
dact_common.c:122:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  122 |                         algorithms[i]=DACT_FAILED_ALGO;
      |                                      ^
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact_common.c: In function 'dact_blk_decompress':
dact_common.c:176:16: error: too many arguments to function 'algorithms[algo]'; expected 0, have 6
  176 |         retval=algorithms[algo](DACT_MODE_DECMP, NULL, srcbuf, ret, size, bufsize);
      |                ^~~~~~~~~~
dact_common.c: In function 'dact_blk_compress':
dact_common.c:196:57: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  196 |                 if (algorithms[i]!=NULL && algorithms[i]!=DACT_FAILED_ALGO) highest_algo=i;
      |                                                         ^~
dact_common.c:200:57: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  200 |                 if (algorithms[i]!=NULL && algorithms[i]!=DACT_FAILED_ALGO) {
      |                                                         ^~
dact_common.c:201:27: error: too many arguments to function 'algorithms[i]'; expected 0, have 6
  201 |                         x=algorithms[i](DACT_MODE_COMPR, NULL, srcbuf, tmpbuf, size, bufsize);
      |                           ^~~~~~~~~~
dact_common.c:204:35: error: too many arguments to function 'algorithms[i]'; expected 0, have 6
  204 |                                 m=algorithms[i](DACT_MODE_DECMP, NULL, tmpbuf, verif_bf, x, size);
      |                                   ^~~~~~~~~~
dact_common.c: In function 'dact_process_file':
dact_common.c:299:25: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  299 |                         ciphers[cipher](NULL, NULL, 0, keybuf, DACT_MODE_CINIT+DACT_MODE_CENC);
      |                         ^~~~~~~         ~~~~
dact_common.c:336:35: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  336 |                                 x=ciphers[cipher](out_buf, tmpbuf, retsize, keybuf, DACT_MODE_CENC);
      |                                   ^~~~~~~         ~~~~~~~
dact_common.c:592:25: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  592 |                         ciphers[cipher](NULL, NULL, 0, keybuf, DACT_MODE_CINIT+DACT_MODE_CDEC);
      |                         ^~~~~~~         ~~~~
dact_common.c:625:35: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  625 |                                 x=ciphers[cipher](in_buf, tmpbuf, blksize, keybuf, DACT_MODE_CDEC);
      |                                   ^~~~~~~         ~~~~~~
dact_common.c:769:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
  769 |                 printf("Compressed Size   :   %llu\n", fileoutsize);
      |                                               ~~~^     ~~~~~~~~~~~
      |                                                  |     |
      |                                                  |     uint64_t {aka long unsigned int}
      |                                                  long long unsigned int
      |                                               %lu
dact_common.c:770:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
  770 |                 printf("Uncompressed Size :   %llu\n", filesize);
      |                                               ~~~^     ~~~~~~~~
      |                                                  |     |
      |                                                  |     uint64_t {aka long unsigned int}
      |                                                  long long unsigned int
      |                                               %lu
dact_common.c:265:26: warning: variable 'canlseek' set but not used [-Wunused-but-set-variable]
  265 |         int x=0, new_fd, canlseek=0;
      |                          ^~~~~~~~
dact_common.c: In function 'dact_config_loadfile':
dact_common.c:159:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  159 |                 fgets(line, 511, cfd);
      |                 ^~~~~~~~~~~~~~~~~~~~~
dact_common.c: In function 'dact_process_file':
dact_common.c:309:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  309 |                 write(dest, &version[0], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:310:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  310 |                 write(dest, &version[1], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:311:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  311 |                 write(dest, &version[2], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:319:48: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  319 |                 for (x=0;x<file_extd_size;x++) write(dest, &ch, 1);
      |                                                ^~~~~~~~~~~~~~~~~~~
dact_common.c:364:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  364 |                                         write(dest, &algo, 1);
      |                                         ^~~~~~~~~~~~~~~~~~~~~
dact_common.c:405:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  405 |                         write(dest, dact_hdr_ext_data(), dact_hdr_ext_size());
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:426:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  426 |                 read(src, &version[0], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:427:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  427 |                 read(src, &version[1], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:428:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  428 |                 read(src, &version[2], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:442:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  442 |                 read(src, &file_opts, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:449:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  449 |                         read(src, &ch, 1);
      |                         ^~~~~~~~~~~~~~~~~
dact_common.c:490:49: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  490 |                                                 fgets(hdr_buf, 4095, extd_urlfile);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:684:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  684 |                                 write(dest, out_buf, blksize_uncomp-(fileoutsize-filesize));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:686:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  686 |                                 write(dest, out_buf, bytes_read);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:710:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  710 |                 read(src, &version[0], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:711:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  711 |                 read(src, &version[1], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:712:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  712 |                 read(src, &version[2], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:726:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  726 |                 read(src, &file_opts, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:775:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  775 |                         read(src, &ch, 1);
      |                         ^~~~~~~~~~~~~~~~~
dact_common.c:810:49: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  810 |                                                 fgets(hdr_buf, 4095, extd_urlfile);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c: In function 'dact_process_other':
dact_common.c:920:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  920 |                         write(tmpfd, buf, x);
      |                         ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: dact_common.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o dact_common_shr.o dact_common.c
In file included from dact_common.c:49:
algorithms.h:52:33: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
   52 | int (*(algorithms[256]))()={    comp_plain_algo,
      |                                 ^~~~~~~~~~~~~~~
algorithms.h:52:33: note: (near initialization for 'algorithms[0]')
In file included from algorithms.h:28:
comp_plain.h:24:5: note: 'comp_plain_algo' declared here
   24 | int comp_plain_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~~
In file included from dact_common.c:21:
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_rle.h:27:23: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_rle_algo DACT_FAILED_ALGO
      |                       ^~~~~~~~~~~~~~~~
algorithms.h:53:33: note: in expansion of macro 'comp_rle_algo'
   53 |                                 comp_rle_algo,
      |                                 ^~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[1]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_rle.h:27:23: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_rle_algo DACT_FAILED_ALGO
      |                       ^~~~~~~~~~~~~~~~
algorithms.h:53:33: note: in expansion of macro 'comp_rle_algo'
   53 |                                 comp_rle_algo,
      |                                 ^~~~~~~~~~~~~
In file included from dact.h:143:
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_delta.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_delta_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:54:33: note: in expansion of macro 'comp_delta_algo'
   54 |                                 comp_delta_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[2]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_delta.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_delta_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:54:33: note: in expansion of macro 'comp_delta_algo'
   54 |                                 comp_delta_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_text.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_text_algo DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
algorithms.h:55:33: note: in expansion of macro 'comp_text_algo'
   55 |                                 comp_text_algo,
      |                                 ^~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[3]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_text.h:27:24: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_text_algo DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
algorithms.h:55:33: note: in expansion of macro 'comp_text_algo'
   55 |                                 comp_text_algo,
      |                                 ^~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:60:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   60 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[4]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:60:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   60 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:61:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   61 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[5]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:61:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   61 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_snibble.h:27:27: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_snibble_algo DACT_FAILED_ALGO
      |                           ^~~~~~~~~~~~~~~~
algorithms.h:63:33: note: in expansion of macro 'comp_snibble_algo'
   63 |                                 comp_snibble_algo,
      |                                 ^~~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[6]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_snibble.h:27:27: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_snibble_algo DACT_FAILED_ALGO
      |                           ^~~~~~~~~~~~~~~~
algorithms.h:63:33: note: in expansion of macro 'comp_snibble_algo'
   63 |                                 comp_snibble_algo,
      |                                 ^~~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:64:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   64 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[7]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:64:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   64 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:68:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   68 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[8]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:68:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   68 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_bzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_bzlib_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:71:33: note: in expansion of macro 'comp_bzlib_algo'
   71 |                                 comp_bzlib_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[9]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_bzlib.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_bzlib_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:71:33: note: in expansion of macro 'comp_bzlib_algo'
   71 |                                 comp_bzlib_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:80:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   80 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[10]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:80:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   80 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:81:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   81 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[11]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:81:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   81 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:82:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   82 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[12]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
algorithms.h:82:33: note: in expansion of macro 'DACT_FAILED_ALGO'
   82 |                                 DACT_FAILED_ALGO,
      |                                 ^~~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzoox.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzoox_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:84:33: note: in expansion of macro 'comp_lzoox_algo'
   84 |                                 comp_lzoox_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[13]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzoox.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzoox_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:84:33: note: in expansion of macro 'comp_lzoox_algo'
   84 |                                 comp_lzoox_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzooy.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzooy_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:85:33: note: in expansion of macro 'comp_lzooy_algo'
   85 |                                 comp_lzooy_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[14]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzooy.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzooy_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:85:33: note: in expansion of macro 'comp_lzooy_algo'
   85 |                                 comp_lzooy_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzota.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzota_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:86:33: note: in expansion of macro 'comp_lzota_algo'
   86 |                                 comp_lzota_algo,
      |                                 ^~~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'algorithms[15]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
comp_lzota.h:27:25: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define comp_lzota_algo DACT_FAILED_ALGO
      |                         ^~~~~~~~~~~~~~~~
algorithms.h:86:33: note: in expansion of macro 'comp_lzota_algo'
   86 |                                 comp_lzota_algo,
      |                                 ^~~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
algorithms.h:21: warning: header guard '_ALGORITHMS_H' followed by '#define' of a different macro [-Wheader-guard]
   21 | #ifndef _ALGORITHMS_H
algorithms.h:22: note: '_ALOGIRTHMS_H' is defined here; did you mean '_ALGORITHMS_H'?
   22 | #define _ALOGIRTHMS_H
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_chaos.h:27:22: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_chaos DACT_FAILED_ALGO
      |                      ^~~~~~~~~~~~~~~~
ciphers.h:35:9: note: in expansion of macro 'cipher_chaos'
   35 |         cipher_chaos,
      |         ^~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[0]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_chaos.h:27:22: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_chaos DACT_FAILED_ALGO
      |                      ^~~~~~~~~~~~~~~~
ciphers.h:35:9: note: in expansion of macro 'cipher_chaos'
   35 |         cipher_chaos,
      |         ^~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_sub.h:27:20: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_sub DACT_FAILED_ALGO
      |                    ^~~~~~~~~~~~~~~~
ciphers.h:36:9: note: in expansion of macro 'cipher_sub'
   36 |         cipher_sub,
      |         ^~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[1]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_sub.h:27:20: note: in expansion of macro 'DACT_FAILED_ALGO'
   27 | #define cipher_sub DACT_FAILED_ALGO
      |                    ^~~~~~~~~~~~~~~~
ciphers.h:36:9: note: in expansion of macro 'cipher_sub'
   36 |         cipher_sub,
      |         ^~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_serpent.h:7:24: note: in expansion of macro 'DACT_FAILED_ALGO'
    7 | #define cipher_serpent DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
ciphers.h:38:9: note: in expansion of macro 'cipher_serpent'
   38 |         cipher_serpent,
      |         ^~~~~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[2]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_serpent.h:7:24: note: in expansion of macro 'DACT_FAILED_ALGO'
    7 | #define cipher_serpent DACT_FAILED_ALGO
      |                        ^~~~~~~~~~~~~~~~
ciphers.h:38:9: note: in expansion of macro 'cipher_serpent'
   38 |         cipher_serpent,
      |         ^~~~~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact.h:173:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_psub.h:26:21: note: in expansion of macro 'DACT_FAILED_ALGO'
   26 | #define cipher_psub DACT_FAILED_ALGO
      |                     ^~~~~~~~~~~~~~~~
ciphers.h:42:9: note: in expansion of macro 'cipher_psub'
   42 |         cipher_psub,
      |         ^~~~~~~~~~~
dact.h:173:26: note: (near initialization for 'ciphers[3]')
  173 | #define DACT_FAILED_ALGO comp_fail_algo
      |                          ^~~~~~~~~~~~~~
cipher_psub.h:26:21: note: in expansion of macro 'DACT_FAILED_ALGO'
   26 | #define cipher_psub DACT_FAILED_ALGO
      |                     ^~~~~~~~~~~~~~~~
ciphers.h:42:9: note: in expansion of macro 'cipher_psub'
   42 |         cipher_psub,
      |         ^~~~~~~~~~~
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact_common.c: In function 'dact_config_execute':
dact_common.c:122:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(int,  unsigned char *, unsigned char *, char *, int,  int)' [-Wincompatible-pointer-types]
  122 |                         algorithms[i]=DACT_FAILED_ALGO;
      |                                      ^
comp_fail.h:24:5: note: 'comp_fail_algo' declared here
   24 | int comp_fail_algo(int mode, unsigned char *prev_block, unsigned char *curr_block, char *out_block, int blk_size, int bufsize);
      |     ^~~~~~~~~~~~~~
dact_common.c: In function 'dact_blk_decompress':
dact_common.c:176:16: error: too many arguments to function 'algorithms[algo]'; expected 0, have 6
  176 |         retval=algorithms[algo](DACT_MODE_DECMP, NULL, srcbuf, ret, size, bufsize);
      |                ^~~~~~~~~~
dact_common.c: In function 'dact_blk_compress':
dact_common.c:196:57: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  196 |                 if (algorithms[i]!=NULL && algorithms[i]!=DACT_FAILED_ALGO) highest_algo=i;
      |                                                         ^~
dact_common.c:200:57: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  200 |                 if (algorithms[i]!=NULL && algorithms[i]!=DACT_FAILED_ALGO) {
      |                                                         ^~
dact_common.c:201:27: error: too many arguments to function 'algorithms[i]'; expected 0, have 6
  201 |                         x=algorithms[i](DACT_MODE_COMPR, NULL, srcbuf, tmpbuf, size, bufsize);
      |                           ^~~~~~~~~~
dact_common.c:204:35: error: too many arguments to function 'algorithms[i]'; expected 0, have 6
  204 |                                 m=algorithms[i](DACT_MODE_DECMP, NULL, tmpbuf, verif_bf, x, size);
      |                                   ^~~~~~~~~~
dact_common.c: In function 'dact_process_file':
dact_common.c:299:25: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  299 |                         ciphers[cipher](NULL, NULL, 0, keybuf, DACT_MODE_CINIT+DACT_MODE_CENC);
      |                         ^~~~~~~         ~~~~
dact_common.c:336:35: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  336 |                                 x=ciphers[cipher](out_buf, tmpbuf, retsize, keybuf, DACT_MODE_CENC);
      |                                   ^~~~~~~         ~~~~~~~
dact_common.c:592:25: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  592 |                         ciphers[cipher](NULL, NULL, 0, keybuf, DACT_MODE_CINIT+DACT_MODE_CDEC);
      |                         ^~~~~~~         ~~~~
dact_common.c:625:35: error: too many arguments to function 'ciphers[cipher]'; expected 0, have 5
  625 |                                 x=ciphers[cipher](in_buf, tmpbuf, blksize, keybuf, DACT_MODE_CDEC);
      |                                   ^~~~~~~         ~~~~~~
dact_common.c:769:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
  769 |                 printf("Compressed Size   :   %llu\n", fileoutsize);
      |                                               ~~~^     ~~~~~~~~~~~
      |                                                  |     |
      |                                                  |     uint64_t {aka long unsigned int}
      |                                                  long long unsigned int
      |                                               %lu
dact_common.c:770:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
  770 |                 printf("Uncompressed Size :   %llu\n", filesize);
      |                                               ~~~^     ~~~~~~~~
      |                                                  |     |
      |                                                  |     uint64_t {aka long unsigned int}
      |                                                  long long unsigned int
      |                                               %lu
dact_common.c:265:26: warning: variable 'canlseek' set but not used [-Wunused-but-set-variable]
  265 |         int x=0, new_fd, canlseek=0;
      |                          ^~~~~~~~
dact_common.c: In function 'dact_config_loadfile':
dact_common.c:159:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  159 |                 fgets(line, 511, cfd);
      |                 ^~~~~~~~~~~~~~~~~~~~~
dact_common.c: In function 'dact_process_file':
dact_common.c:309:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  309 |                 write(dest, &version[0], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:310:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  310 |                 write(dest, &version[1], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:311:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  311 |                 write(dest, &version[2], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:319:48: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  319 |                 for (x=0;x<file_extd_size;x++) write(dest, &ch, 1);
      |                                                ^~~~~~~~~~~~~~~~~~~
dact_common.c:364:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  364 |                                         write(dest, &algo, 1);
      |                                         ^~~~~~~~~~~~~~~~~~~~~
dact_common.c:405:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  405 |                         write(dest, dact_hdr_ext_data(), dact_hdr_ext_size());
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:426:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  426 |                 read(src, &version[0], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:427:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  427 |                 read(src, &version[1], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:428:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  428 |                 read(src, &version[2], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:442:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  442 |                 read(src, &file_opts, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:449:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  449 |                         read(src, &ch, 1);
      |                         ^~~~~~~~~~~~~~~~~
dact_common.c:490:49: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  490 |                                                 fgets(hdr_buf, 4095, extd_urlfile);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:684:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  684 |                                 write(dest, out_buf, blksize_uncomp-(fileoutsize-filesize));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:686:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  686 |                                 write(dest, out_buf, bytes_read);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:710:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  710 |                 read(src, &version[0], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:711:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  711 |                 read(src, &version[1], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:712:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  712 |                 read(src, &version[2], 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:726:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  726 |                 read(src, &file_opts, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c:775:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  775 |                         read(src, &ch, 1);
      |                         ^~~~~~~~~~~~~~~~~
dact_common.c:810:49: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  810 |                                                 fgets(hdr_buf, 4095, extd_urlfile);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dact_common.c: In function 'dact_process_other':
dact_common.c:920:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  920 |                         write(tmpfd, buf, x);
      |                         ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:79: dact_common_shr.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o sort.o sort.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o comp_text.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld comp_text.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o module.o module.c
In file included from module.c:48:
algorithms.h:21: warning: header guard '_ALGORITHMS_H' followed by '#define' of a different macro [-Wheader-guard]
   21 | #ifndef _ALGORITHMS_H
algorithms.h:22: note: '_ALOGIRTHMS_H' is defined here; did you mean '_ALGORITHMS_H'?
   22 | #define _ALOGIRTHMS_H
module.c: In function 'load_module':
module.c:197:49: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  197 |                         if (algorithms[algo_num]!=DACT_FAILED_ALGO && algorithms[algo_num]!=NULL) {
      |                                                 ^~
module.c:212:46: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  212 |                         if (ciphers[algo_num]!=DACT_FAILED_ALGO && ciphers[algo_num]!=NULL) {
      |                                              ^~
module.c: In function 'load_modules_all':
module.c:96:33: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   96 |                                 strncpy(fullfname, tmpbuf, sizeof(fullfname));
      |                                 ^
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o ui.o ui.c
ui.c: In function 'dact_ui_getuserinput':
ui.c:176:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  176 |         fgets(ret, n, fd);
      |         ^~~~~~~~~~~~~~~~~
ui.c: In function 'dact_ui_update':
ui.c:83:24: warning: pointer 'bar2' used after 'free' [-Wuse-after-free]
   83 |         if (bar1!=(bar2+width)) free(bar1);
      |                   ~~~~~^~~~~~~
ui.c:82:9: note: call to 'free' here
   82 |         free(bar2);
      |         ^~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\" -fPIC -DPIC -c -o module_shr.o module.c
In file included from module.c:48:
algorithms.h:21: warning: header guard '_ALGORITHMS_H' followed by '#define' of a different macro [-Wheader-guard]
   21 | #ifndef _ALGORITHMS_H
algorithms.h:22: note: '_ALOGIRTHMS_H' is defined here; did you mean '_ALGORITHMS_H'?
   22 | #define _ALOGIRTHMS_H
module.c: In function 'load_module':
module.c:197:49: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  197 |                         if (algorithms[algo_num]!=DACT_FAILED_ALGO && algorithms[algo_num]!=NULL) {
      |                                                 ^~
module.c:212:46: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
  212 |                         if (ciphers[algo_num]!=DACT_FAILED_ALGO && ciphers[algo_num]!=NULL) {
      |                                              ^~
module.c: In function 'load_modules_all':
module.c:96:33: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   96 |                                 strncpy(fullfname, tmpbuf, sizeof(fullfname));
      |                                 ^
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o comp_rle.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld comp_rle.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE="/etc/dact.conf" -DEXEEXT="" -fPIC -DPIC -o cipher_sub.so -DAS_MODULE -shared -rdynamic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld cipher_sub.c
cipher_sub.c: In function 'cipher_sub_init_getkey':
cipher_sub.c:112:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  112 |                 write(fd, keybuf, x);
      |                 ^~~~~~~~~~~~~~~~~~~~
cipher_sub.c:113:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  113 |                 write(fd, "\n", 1);
      |                 ^~~~~~~~~~~~~~~~~~
cipher_sub.c: In function 'generatekey':
cipher_sub.c:160:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  160 |         read(fd, buff, 1);
      |         ^~~~~~~~~~~~~~~~~
cipher_sub.c:170:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  170 |                 read(fd, buff, 1);
      |                 ^~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o net.o net.c
net.c: In function 'open_net':
net.c:180:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  180 |                                 write(fd, "GET ", 4);
      |                                 ^~~~~~~~~~~~~~~~~~~~
net.c:181:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  181 |                                 write(fd, file, strlen(file));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:182:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  182 |                                 write(fd, " HTTP/1.0\nHost: ",16);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:183:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  183 |                                 write(fd, host, strlen(host));
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:184:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  184 |                                 write(fd, "\n", 1);
      |                                 ^~~~~~~~~~~~~~~~~~
net.c:192:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  192 |                                         write(fd, "Authorization: Basic ", 21);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:193:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  193 |                                         write(fd, tmpbuf, strlen(tmpbuf));
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:196:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  196 |                                         write(fd, "\n", 1);
      |                                         ^~~~~~~~~~~~~~~~~~
net.c:198:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  198 |                                 write(fd, "\n", 1);
      |                                 ^~~~~~~~~~~~~~~~~~
net.c:210:41: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  210 |                                         read(fd, read_buf, 1);
      |                                         ^~~~~~~~~~~~~~~~~~~~~
net.c:214:49: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  214 |                                                 read(fd, read_buf, 1);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~
net.c:215:49: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  215 |                                                 read(fd, smallbuf, 510);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~
net.c:273:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  273 |                                                                 write(fd, "USER ", 5);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~
net.c:275:73: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  275 |                                                                         write(fd, username, strlen(username));
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:277:73: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  277 |                                                                         write(fd, "anonymous", 9);
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
net.c:279:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  279 |                                                                 write(fd, "\n", 1);
      |                                                                 ^~~~~~~~~~~~~~~~~~
net.c:282:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  282 |                                                                 write(fd, "PASS ", 5);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~
net.c:284:73: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  284 |                                                                         write(fd, password, strlen(password));
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:286:73: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  286 |                                                                         write(fd, "user@host.com", 13);
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:288:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  288 |                                                                 write(fd, "\n", 1);
      |                                                                 ^~~~~~~~~~~~~~~~~~
net.c:299:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  299 |                                                                 write(fd, "TYPE I\n", 7);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
net.c:302:97: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  302 |                                                                 if ((flags&O_RDONLY)==O_RDONLY) write(fd,"RETR ",5);
      |                                                                                                 ^~~~~~~~~~~~~~~~~~~
net.c:303:97: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  303 |                                                                 if ((flags&O_WRONLY)==O_WRONLY) write(fd,"STOR ",5);
      |                                                                                                 ^~~~~~~~~~~~~~~~~~~
net.c:304:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  304 |                                                                 write(fd, file, strlen(file));
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:305:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  305 |                                                                 write(fd, "\n", 1);
      |                                                                 ^~~~~~~~~~~~~~~~~~
net.c:319:65: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  319 |                                                                 write(fd, "PASV\n", 5);
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
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 -Wall -DHAVE_CONFIG_H -DDACT_CONFIG_FILE=\"/etc/dact.conf\" -DEXEEXT=\"\"   -c -o parse.o parse.c
In file included from /usr/include/stdio.h:970,
                 from dact.h:134,
                 from parse.c:25:
In function 'sprintf',
    inlined from 'parse_url' at parse.c:97:4:
/usr/include/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'fbuf' [-Wrestrict]
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
In function 'sprintf',
    inlined from 'parse_url' at parse.c:95:51:
/usr/include/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'fbuf' [-Wrestrict]
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
parse.c: In function 'parse_url_subst_dist':
parse.c:348:25: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 255 [-Wstringop-truncation]
  348 |                         strncpy(retbuf, info->d_name, sizeof(retbuf));
      |                         ^
parse.c:343:25: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 255 [-Wstringop-truncation]
  343 |                         strncpy(retbuf, info->d_name, sizeof(retbuf));
      |                         ^
parse.c:338:25: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 255 [-Wstringop-truncation]
  338 |                         strncpy(retbuf, info->d_name, sizeof(retbuf));
      |                         ^
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dact-0.8.42-build/dact-0.8.42'
make: *** [Makefile:50: module] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Jrk63h (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Jrk63h (%build)
I: [iurt_root_command] ERROR: chroot