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/t1lib-5.1.2-25.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uN1SPg
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ztvXwV
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-build
+ rm -rf t1lib-5.1.2
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/t1lib-5.1.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd t1lib-5.1.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (t1lib-doc.patch):'
Patch #1 (t1lib-doc.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file Makefile.in
+ echo 'Patch #2 (t1lib-config.patch):'
Patch #2 (t1lib-config.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file lib/t1lib.config
+ echo 'Patch #4 (t1lib-5.1.2-lib-cleanup.patch):'
Patch #4 (t1lib-5.1.2-lib-cleanup.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lib-cleanup --fuzz=0
patching file lib/Makefile.in
patching file type1afm/Makefile.in
patching file xglyph/Makefile.in
+ echo 'Patch #5 (t1lib-5.1.2-segf.patch):'
Patch #5 (t1lib-5.1.2-segf.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-segfault --fuzz=0
patching file lib/t1lib/t1base.c
patching file lib/t1lib/t1env.c
patching file lib/t1lib/t1env.h
+ echo 'Patch #6 (t1lib-5.1.2-format_not_a_string_literal_and_no_format_arguments.diff):'
Patch #6 (t1lib-5.1.2-format_not_a_string_literal_and_no_format_arguments.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format_not_a_string_literal_and_no_format_arguments --fuzz=0
patching file lib/t1lib/t1subset.c
patching file lib/type1/objects.c
+ echo 'Patch #7 (t1lib-5.1.2-CVE-2010-2642,CVE-2011-0433.diff):'
Patch #7 (t1lib-5.1.2-CVE-2010-2642,CVE-2011-0433.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2010-2642 --fuzz=0
patching file lib/t1lib/parseAFM.c
+ echo 'Patch #8 (t1lib-5.1.2-CVE-2011-0764,1552,1553,1554.diff):'
Patch #8 (t1lib-5.1.2-CVE-2011-0764,1552,1553,1554.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2011-0764. --fuzz=0
patching file lib/type1/lines.c
patching file lib/type1/objects.c
patching file lib/type1/type1.c
+ echo 'Patch #9 (t1lib-configure-c99.patch):'
Patch #9 (t1lib-configure-c99.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0
patching file configure
+ echo 'Patch #10 (t1lib-c99.patch):'
Patch #10 (t1lib-c99.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0
patching file lib/type1/regions.c
+ 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.84rwfu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-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,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd t1lib-5.1.2
+ '[' 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,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./ac-tools/config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./ac-tools/config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./ac-tools/config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./ac-tools/config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./ac-tools/config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./ac-tools/config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ac-tools/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
Fixing libtool inside configure to pass -Wl,xxx options before libraries
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection)
+ ./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 whether make sets $(MAKE)... yes
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 how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Athena... libraries in default path, headers in default path
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-mageia-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for x86_64-mageia-linux-gnu-g77... no
checking for x86_64-mageia-linux-gnu-f77... no
checking for x86_64-mageia-linux-gnu-xlf... no
checking for x86_64-mageia-linux-gnu-frt... no
checking for x86_64-mageia-linux-gnu-pgf77... no
checking for x86_64-mageia-linux-gnu-fort77... no
checking for x86_64-mageia-linux-gnu-fl32... no
checking for x86_64-mageia-linux-gnu-af77... no
checking for x86_64-mageia-linux-gnu-f90... no
checking for x86_64-mageia-linux-gnu-xlf90... no
checking for x86_64-mageia-linux-gnu-pgf90... no
checking for x86_64-mageia-linux-gnu-epcf90... no
checking for x86_64-mageia-linux-gnu-f95... no
checking for x86_64-mageia-linux-gnu-fort... no
checking for x86_64-mageia-linux-gnu-xlf95... no
checking for x86_64-mageia-linux-gnu-ifc... no
checking for x86_64-mageia-linux-gnu-efc... no
checking for x86_64-mageia-linux-gnu-pgf95... no
checking for x86_64-mageia-linux-gnu-lf95... no
checking for x86_64-mageia-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
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 x86_64-mageia-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether char is unsigned... no
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for long long... yes
checking size of long long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for long double... yes
checking size of long double... 16
checking for void *... yes
checking size of void *... 8
checking "for gcc strength-reduce bug"... no
checking "whether external symbols need an underscore prefix"... no
checking "which ANSI integer type is 16 bit"... short
checking "which ANSI integer type is 32 bit"... int
checking "which ANSI integer type is 64 bit"... long
checking whether stat file-mode macros are broken... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/type1/Makefile
config.status: creating lib/t1lib/Makefile
config.status: creating xglyph/Makefile
config.status: creating type1afm/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating lib/t1lib/t1lib.h
config.status: creating lib/t1lib/sysconf.h

Configure finished!
        Do:  'make'               to compile the t1lib-package.
        Do:  'make without_doc'   to compile if you do not have LaTeX.
        Do:  'make install'       to install the t1lib-package.

+ perl -pi -e 's,-DGLOBAL_CONFIG_DIR="\\"/usr/share/t1lib\\"",-DGLOBAL_CONFIG_DIR="\\"/etc/t1lib\\"",;' Makefile
+ make without_doc
for i in lib type1afm examples xglyph; do \
  (cd $i; make 'CC=gcc' '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 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/etc/t1lib\"" ' 'OPTIONS=' ) || exit 1; \
done
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-build/t1lib-5.1.2/lib'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-build/t1lib-5.1.2/lib/type1'
../../libtool --mode=compile \
	gcc -c  -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 -DT1LIB_IDENT="\"5.1.2\"" -DGLOBAL_CONFIG_DIR="\"/etc/t1lib\""  -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long arith.c
mkdir .libs
 gcc -c -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 -DT1LIB_IDENT=\"5.1.2\" -DGLOBAL_CONFIG_DIR=\"/etc/t1lib\" -DT1_AA_TYPE16=short -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long arith.c  -fPIC -DPIC -o .libs/arith.o
arith.c: In function 'DLmult':
arith.c:110:6: warning: old-style function definition [-Wold-style-definition]
  110 | void DLmult(product, u, v)
      |      ^~~~~~
arith.c:114:1: error: number of arguments doesn't match prototype
  114 | {
      | ^
In file included from arith.c:56:
arith.h:33:6: error: prototype declaration
   33 | void DLmult(),DLdiv(),DLadd(),DLsub();
      |      ^~~~~~
arith.c: In function 'DLdiv':
arith.c:155:6: warning: old-style function definition [-Wold-style-definition]
  155 | void DLdiv(quotient, divisor)
      |      ^~~~~
arith.c:158:1: error: number of arguments doesn't match prototype
  158 | {
      | ^
arith.h:33:15: error: prototype declaration
   33 | void DLmult(),DLdiv(),DLadd(),DLsub();
      |               ^~~~~
In file included from arith.c:54:
objects.h:57:32: error: too many arguments to function 't1_abort'; expected 0, have 2
   57 | #define   abort(line,no)       t1_abort(line,no)
      |                                ^~~~~~~~
arith.c:208:16: note: in expansion of macro 'abort'
  208 |                abort("DLdiv:  dividend too large", 1);
      |                ^~~~~
objects.h:67:6: note: declared here
   67 | void t1_abort();              /* crash; software logic error                  */
      |      ^~~~~~~~
objects.h:57:32: error: too many arguments to function 't1_abort'; expected 0, have 2
   57 | #define   abort(line,no)       t1_abort(line,no)
      |                                ^~~~~~~~
arith.c:271:24: note: in expansion of macro 'abort'
  271 |                        abort("divide algorithm error", 2);
      |                        ^~~~~
objects.h:67:6: note: declared here
   67 | void t1_abort();              /* crash; software logic error                  */
      |      ^~~~~~~~
arith.c: In function 'DLadd':
arith.c:293:6: warning: old-style function definition [-Wold-style-definition]
  293 | void DLadd(u, v)
      |      ^~~~~
arith.c:296:1: error: number of arguments doesn't match prototype
  296 | {
      | ^
arith.h:33:23: error: prototype declaration
   33 | void DLmult(),DLdiv(),DLadd(),DLsub();
      |                       ^~~~~
arith.c: In function 'DLsub':
arith.c:312:6: warning: old-style function definition [-Wold-style-definition]
  312 | void DLsub(u, v)
      |      ^~~~~
arith.c:315:1: error: number of arguments doesn't match prototype
  315 | {
      | ^
arith.h:33:31: error: prototype declaration
   33 | void DLmult(),DLdiv(),DLadd(),DLsub();
      |                               ^~~~~
arith.c: In function 'FPmult':
arith.c:340:10: warning: old-style function definition [-Wold-style-definition]
  340 | fractpel FPmult(u, v)
      |          ^~~~~~
arith.c:342:1: error: number of arguments doesn't match prototype
  342 | {
      | ^
arith.h:35:10: error: prototype declaration
   35 | fractpel FPmult();
      |          ^~~~~~
arith.c:356:3: error: too many arguments to function 'DLmult'; expected 0, have 3
  356 |   DLmult(&w, u, v);
      |   ^~~~~~ ~~
arith.c:110:6: note: declared here
  110 | void DLmult(product, u, v)
      |      ^~~~~~
arith.c: In function 'FPdiv':
arith.c:372:10: warning: old-style function definition [-Wold-style-definition]
  372 | fractpel FPdiv(dividend, divisor)
      |          ^~~~~
arith.c:375:1: error: number of arguments doesn't match prototype
  375 | {
      | ^
arith.h:36:10: error: prototype declaration
   36 | fractpel FPdiv();
      |          ^~~~~
arith.c:390:8: error: too many arguments to function 'DLdiv'; expected 0, have 2
  390 |        DLdiv(&w, divisor);
      |        ^~~~~ ~~
arith.c:155:6: note: declared here
  155 | void DLdiv(quotient, divisor)
      |      ^~~~~
arith.c: In function 'FPstarslash':
arith.c:406:10: warning: old-style function definition [-Wold-style-definition]
  406 | fractpel FPstarslash(a, b, c)
      |          ^~~~~~~~~~~
arith.c:408:1: error: number of arguments doesn't match prototype
  408 | {
      | ^
arith.h:37:10: error: prototype declaration
   37 | fractpel FPstarslash();
      |          ^~~~~~~~~~~
arith.c:417:8: error: too many arguments to function 'DLmult'; expected 0, have 3
  417 |        DLmult(&w, a, b);
      |        ^~~~~~ ~~
arith.c:110:6: note: declared here
  110 | void DLmult(product, u, v)
      |      ^~~~~~
arith.c:418:8: error: too many arguments to function 'DLdiv'; expected 0, have 2
  418 |        DLdiv(&w, c);
      |        ^~~~~ ~~
arith.c:155:6: note: declared here
  155 | void DLdiv(quotient, divisor)
      |      ^~~~~
make[2]: *** [Makefile:78: arith.lo] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-build/t1lib-5.1.2/lib/type1'
make[1]: *** [Makefile:121: type1_target] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/t1lib-5.1.2-build/t1lib-5.1.2/lib'
make: *** [Makefile:102: XXXX] Error 1
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.84rwfu (%build)

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