D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: line 11: It's not recommended to have unversioned Obsoletes: Obsoletes:	nenscript
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/enscript-1.6.6-10.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wcxybP
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cr1SG6
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build
+ rm -rf enscript-1.6.6
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/enscript-1.6.6.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd enscript-1.6.6
+ /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.pSxD33
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/enscript-1.6.6-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 enscript-1.6.6
+ '[' 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 ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /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 --with-media=Letter
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for strchr... yes
checking for getcwd... yes
checking for strerror... yes
checking for memmove... yes
checking for memcpy... yes
checking for strtoul... yes
checking for vprintf... yes
checking for _doprnt... no
checking for main in -lsun... no
checking for gethostname... yes
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for lpr... no
checking for lp... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking whether we are using the GNU C Library 2 or newer... yes
checking for simple visibility declarations... yes
checking for inline... inline
checking for stdint.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for pthread_rwlock_t... yes
checking for multithread API to use... posix
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... (cached) yes
checking for tsearch... yes
checking for argz_count... yes
checking for argz_stringify... yes
checking for argz_next... yes
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for NL_LOCALE_NAME macro... yes
checking for bison... no
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating intl/Makefile
config.status: creating po/Makefile
config.status: creating compat/Makefile
config.status: creating afm/Makefile
config.status: creating afmlib/Makefile
config.status: creating src/Makefile
config.status: creating src/tests/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating states/Makefile
config.status: creating states/hl/Makefile
config.status: creating states/tests/Makefile
config.status: creating docs/Makefile
config.status: creating w32/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Enscript is now configured to your system with the following
user-definable options.  Please, check that they are correct and
match to your system's properties.

Option     Change with configure's option   Current value
---------------------------------------------------------
Media      --with-media=MEDIA               Letter
Spooler    --with-spooler=SPOOLER           lpr
PS level   --with-ps-level=LEVEL            2

+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in intl
make[2]: Nothing to be done for 'all'.
Making all in compat
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl    -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 -c getopt1.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl    -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 -c getopt.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl    -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 -c xalloc.c
xalloc.c: In function 'xmalloc':
xalloc.c:62:1: warning: old-style function definition [-Wold-style-definition]
   62 | xmalloc (size)
      | ^~~~~~~
In file included from xalloc.c:51:
xalloc.c:70:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
   70 |       fprintf (stderr, _("xmalloc(): couldn't allocate %d bytes\n"), size);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xalloc.c:70:24: note: in expansion of macro '_'
   70 |       fprintf (stderr, _("xmalloc(): couldn't allocate %d bytes\n"), size);
      |                        ^
xalloc.c:70:57: note: format string is defined here
   70 |       fprintf (stderr, _("xmalloc(): couldn't allocate %d bytes\n"), size);
      |                                                        ~^
      |                                                         |
      |                                                         int
      |                                                        %ld
xalloc.c: In function 'xcalloc':
xalloc.c:79:1: warning: old-style function definition [-Wold-style-definition]
   79 | xcalloc (num, size)
      | ^~~~~~~
xalloc.c:88:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
   88 |       fprintf (stderr, _("xcalloc(): couldn't allocate %d bytes\n"), size);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xalloc.c:88:24: note: in expansion of macro '_'
   88 |       fprintf (stderr, _("xcalloc(): couldn't allocate %d bytes\n"), size);
      |                        ^
xalloc.c:88:57: note: format string is defined here
   88 |       fprintf (stderr, _("xcalloc(): couldn't allocate %d bytes\n"), size);
      |                                                        ~^
      |                                                         |
      |                                                         int
      |                                                        %ld
xalloc.c: In function 'xrealloc':
xalloc.c:97:1: warning: old-style function definition [-Wold-style-definition]
   97 | xrealloc (ptr, size)
      | ^~~~~~~~
xalloc.c:109:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  109 |       fprintf (stderr, _("xrealloc(): couldn't reallocate %d bytes\n"), size);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xalloc.c:109:24: note: in expansion of macro '_'
  109 |       fprintf (stderr, _("xrealloc(): couldn't reallocate %d bytes\n"), size);
      |                        ^
xalloc.c:109:60: note: format string is defined here
  109 |       fprintf (stderr, _("xrealloc(): couldn't reallocate %d bytes\n"), size);
      |                                                           ~^
      |                                                            |
      |                                                            int
      |                                                           %ld
xalloc.c: In function 'xfree':
xalloc.c:118:1: warning: old-style function definition [-Wold-style-definition]
  118 | xfree (ptr)
      | ^~~~~
xalloc.c: In function 'xstrdup':
xalloc.c:129:1: warning: old-style function definition [-Wold-style-definition]
  129 | xstrdup (str)
      | ^~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
gcc -DHAVE_CONFIG_H -I. -I.. -I./../intl -I../intl    -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 -c regex.c
regex.c: In function 're_set_syntax':
regex.c:946:1: warning: old-style function definition [-Wold-style-definition]
  946 | re_set_syntax (syntax)
      | ^~~~~~~~~~~~~
regex.c: In function 'regex_compile':
regex.c:1802:1: warning: old-style function definition [-Wold-style-definition]
 1802 | regex_compile (pattern, size, syntax, bufp)
      | ^~~~~~~~~~~~~
regex.c: In function 'store_op1':
regex.c:2902:1: warning: old-style function definition [-Wold-style-definition]
 2902 | store_op1 (op, loc, arg)
      | ^~~~~~~~~
regex.c: In function 'store_op2':
regex.c:2915:1: warning: old-style function definition [-Wold-style-definition]
 2915 | store_op2 (op, loc, arg1, arg2)
      | ^~~~~~~~~
regex.c: In function 'insert_op1':
regex.c:2930:1: warning: old-style function definition [-Wold-style-definition]
 2930 | insert_op1 (op, loc, arg, end)
      | ^~~~~~~~~~
regex.c: In function 'insert_op2':
regex.c:2949:1: warning: old-style function definition [-Wold-style-definition]
 2949 | insert_op2 (op, loc, arg1, arg2, end)
      | ^~~~~~~~~~
regex.c: In function 'at_begline_loc_p':
regex.c:2970:1: warning: old-style function definition [-Wold-style-definition]
 2970 | at_begline_loc_p (pattern, p, syntax)
      | ^~~~~~~~~~~~~~~~
regex.c: In function 'at_endline_loc_p':
regex.c:2989:1: warning: old-style function definition [-Wold-style-definition]
 2989 | at_endline_loc_p (p, pend, syntax)
      | ^~~~~~~~~~~~~~~~
regex.c: In function 'group_in_compile_stack':
regex.c:3011:1: warning: old-style function definition [-Wold-style-definition]
 3011 | group_in_compile_stack (compile_stack, regnum)
      | ^~~~~~~~~~~~~~~~~~~~~~
regex.c: In function 'compile_range':
regex.c:3039:1: warning: old-style function definition [-Wold-style-definition]
 3039 | compile_range (p_ptr, pend, translate, syntax, b)
      | ^~~~~~~~~~~~~
regex.c: In function 're_compile_fastmap':
regex.c:3098:1: warning: old-style function definition [-Wold-style-definition]
 3098 | re_compile_fastmap (bufp)
      | ^~~~~~~~~~~~~~~~~~
regex.c: In function 're_set_registers':
regex.c:3403:1: warning: old-style function definition [-Wold-style-definition]
 3403 | re_set_registers (bufp, regs, num_regs, starts, ends)
      | ^~~~~~~~~~~~~~~~
regex.c: In function 're_search':
regex.c:3430:1: warning: old-style function definition [-Wold-style-definition]
 3430 | re_search (bufp, string, size, startpos, range, regs)
      | ^~~~~~~~~
regex.c: In function 're_search_2':
regex.c:3463:1: warning: old-style function definition [-Wold-style-definition]
 3463 | re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
      | ^~~~~~~~~~~
regex.c:3565:13: error: too many arguments to function 're_match_2_internal'; expected 0, have 8
 3565 |       val = re_match_2_internal (bufp, string1, size1, string2, size2,
      |             ^~~~~~~~~~~~~~~~~~~  ~~~~
regex.c:339:12: note: declared here
  339 | static int re_match_2_internal ();
      |            ^~~~~~~~~~~~~~~~~~~
regex.c: In function 're_match':
regex.c:3681:1: warning: old-style function definition [-Wold-style-definition]
 3681 | re_match (bufp, string, size, pos, regs)
      | ^~~~~~~~
regex.c:3687:16: error: too many arguments to function 're_match_2_internal'; expected 0, have 8
 3687 |   int result = re_match_2_internal (bufp, NULL, 0, string, size,
      |                ^~~~~~~~~~~~~~~~~~~  ~~~~
regex.c:339:12: note: declared here
  339 | static int re_match_2_internal ();
      |            ^~~~~~~~~~~~~~~~~~~
regex.c: In function 're_match_2':
regex.c:3724:1: warning: old-style function definition [-Wold-style-definition]
 3724 | re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
      | ^~~~~~~~~~
regex.c:3732:16: error: too many arguments to function 're_match_2_internal'; expected 0, have 8
 3732 |   int result = re_match_2_internal (bufp, string1, size1, string2, size2,
      |                ^~~~~~~~~~~~~~~~~~~  ~~~~
regex.c:339:12: note: declared here
  339 | static int re_match_2_internal ();
      |            ^~~~~~~~~~~~~~~~~~~
regex.c: In function 're_match_2_internal':
regex.c:3745:1: warning: old-style function definition [-Wold-style-definition]
 3745 | re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
      | ^~~~~~~~~~~~~~~~~~~
regex.c: In function 'group_match_null_string_p':
regex.c:5148:1: warning: old-style function definition [-Wold-style-definition]
 5148 | group_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
regex.c: In function 'alt_match_null_string_p':
regex.c:5257:1: warning: old-style function definition [-Wold-style-definition]
 5257 | alt_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~
regex.c: In function 'common_op_match_null_string_p':
regex.c:5294:1: warning: old-style function definition [-Wold-style-definition]
 5294 | common_op_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex.c: In function 'bcmp_translate':
regex.c:5382:1: warning: old-style function definition [-Wold-style-definition]
 5382 | bcmp_translate (s1, s2, len, translate)
      | ^~~~~~~~~~~~~~
regex.c: In function 're_compile_pattern':
regex.c:5409:1: warning: old-style function definition [-Wold-style-definition]
 5409 | re_compile_pattern (pattern, length, bufp)
      | ^~~~~~~~~~~~~~~~~~
regex.c: In function 'regcomp':
regex.c:5546:1: warning: old-style function definition [-Wold-style-definition]
 5546 | regcomp (preg, pattern, cflags)
      | ^~~~~~~
regex.c: In function 'regexec':
regex.c:5627:1: warning: old-style function definition [-Wold-style-definition]
 5627 | regexec (preg, string, nmatch, pmatch, eflags)
      | ^~~~~~~
regex.c: In function 'regerror':
regex.c:5692:1: warning: old-style function definition [-Wold-style-definition]
 5692 | regerror (errcode, preg, errbuf, errbuf_size)
      | ^~~~~~~~
regex.c: In function 'regfree':
regex.c:5735:1: warning: old-style function definition [-Wold-style-definition]
 5735 | regfree (preg)
      | ^~~~~~~
make[2]: *** [Makefile:348: regex.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/enscript-1.6.6-build/enscript-1.6.6/compat'
make[1]: *** [Makefile:393: all-recursive] Error 1
make: *** [Makefile:331: all] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pSxD33 (%build)

RPM build warnings:
    line 11: It's not recommended to have unversioned Obsoletes: Obsoletes:	nenscript

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