<86>Sep 13 02:12:55 userdel[3011688]: delete user 'rooter'
<86>Sep 13 02:12:55 userdel[3011688]: removed group 'rooter' owned by 'rooter'
<86>Sep 13 02:12:55 userdel[3011688]: removed shadow group 'rooter' owned by 'rooter'
<86>Sep 13 02:12:55 groupadd[3011703]: group added to /etc/group: name=rooter, GID=597
<86>Sep 13 02:12:55 groupadd[3011703]: group added to /etc/gshadow: name=rooter
<86>Sep 13 02:12:55 groupadd[3011703]: new group: name=rooter, GID=597
<86>Sep 13 02:12:55 useradd[3011716]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash
<86>Sep 13 02:12:55 userdel[3011736]: delete user 'builder'
<86>Sep 13 02:12:55 userdel[3011736]: removed group 'builder' owned by 'builder'
<86>Sep 13 02:12:55 userdel[3011736]: removed shadow group 'builder' owned by 'builder'
<86>Sep 13 02:12:55 groupadd[3011749]: group added to /etc/group: name=builder, GID=598
<86>Sep 13 02:12:55 groupadd[3011749]: group added to /etc/gshadow: name=builder
<86>Sep 13 02:12:55 groupadd[3011749]: new group: name=builder, GID=598
<86>Sep 13 02:12:55 useradd[3011756]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash
<13>Sep 13 02:12:58 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Sep 13 02:12:58 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Sep 13 02:12:58 rpmi: libreadline-devel-7.0.3-alt3 sisyphus+222164.300.1.1 1550686325 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/mathomatic-16.0.5-alt2.nosrc.rpm
Installing mathomatic-16.0.5-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95959
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf mathomatic-16.0.5
+ echo 'Source #0 (mathomatic-16.0.5.tar.bz2):'
Source #0 (mathomatic-16.0.5.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/mathomatic-16.0.5.tar.bz2
+ /bin/tar -xf -
+ cd mathomatic-16.0.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (mathomatic-16.0.1-m4.patch):'
Patch #0 (mathomatic-16.0.1-m4.patch):
+ /usr/bin/patch -p1
patching file m4/matho
patching file makefile
Hunk #1 succeeded at 246 (offset 3 lines).
+ sed -i s/-Cv// makefile
+ sed -i s/-Cv// primes/makefile
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95959
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd mathomatic-16.0.5
+ make -j8 READLINE=1 mathdocdir=/usr/share/doc/mathomatic-16.0.5
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o globals.o globals.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o main.o main.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o help.o help.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o parse.o parse.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o solve.o solve.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o super.o super.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o factor.o factor.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o am.o am.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o unfactor.o unfactor.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o complex_lib.o complex_lib.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o diff.o diff.c
In file included from includes.h:114,
                 from diff.c:25:
diff.c: In function 'limit_cmd':
diff.c:828:46: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 77 [-Wformat-truncation=]
   snprintf(prompt_str, sizeof(prompt_str), _("as %s goes to: "), var_str);
                                              ^~~~~~~~~~~~~~~~~
am.h:51:17: note: in definition of macro '_'
 #define _(str)  str  /* Constant strings to be translated should be marked with this macro. */
                 ^~~
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from diff.c:25:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 14 and 193 bytes into a destination of size 80
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o complex.o complex.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o gcd.o gcd.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o integrate.o integrate.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o simplify.o simplify.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o factor_int.o factor_int.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o list.o list.c
list.c: In function 'list_string_sub':
list.c:691:38: warning: ')' directive output may be truncated writing 1 byte into a region of size between 0 and 499 [-Wformat-truncation=]
     snprintf(buf2, sizeof(buf2), "(%s)", buf);
                                      ^
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from list.c:26:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 502 bytes into a destination of size 500
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
list.c: In function 'list_code':
list.c:945:38: warning: ')' directive output may be truncated writing 1 byte into a region of size between 0 and 499 [-Wformat-truncation=]
     snprintf(buf2, sizeof(buf2), "(%s)", buf);
                                      ^
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from list.c:26:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 502 bytes into a destination of size 500
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o poly.o poly.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE    -c -o cmds.o cmds.c
cmds.c: In function 'sum_product':
cmds.c:722:45: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 80 [-Wformat-truncation=]
   snprintf(prompt_str, sizeof(prompt_str), "%s = ", var_str);
                                             ^~      ~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from cmds.c:25:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 183 bytes into a destination of size 80
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from includes.h:114,
                 from cmds.c:25:
cmds.c: In function 'calculate_cmd':
cmds.c:2374:47: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 74 [-Wformat-truncation=]
    snprintf(prompt_str, sizeof(prompt_str), _("Enter %s: "), var_str);
                                               ^~~~~~~~~~~~
am.h:51:17: note: in definition of macro '_'
 #define _(str)  str  /* Constant strings to be translated should be marked with this macro. */
                 ^~~
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from cmds.c:25:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 188 bytes into a destination of size 80
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from includes.h:114,
                 from cmds.c:25:
cmds.c:2393:47: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 66 [-Wformat-truncation=]
    snprintf(prompt_str, sizeof(prompt_str), _("Enter initial %s: "), var_str);
                                               ^~~~~~~~~~~~~~~~~~~~
am.h:51:17: note: in definition of macro '_'
 #define _(str)  str  /* Constant strings to be translated should be marked with this macro. */
                 ^~~
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from cmds.c:25:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 17 and 196 bytes into a destination of size 80
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from includes.h:114,
                 from cmds.c:25:
cmds.c: In function 'replace_cmd':
cmds.c:3809:46: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 74 [-Wformat-truncation=]
   snprintf(prompt_str, sizeof(prompt_str), _("Enter %s: "), var_str);
                                              ^~~~~~~~~~~~
am.h:51:17: note: in definition of macro '_'
 #define _(str)  str  /* Constant strings to be translated should be marked with this macro. */
                 ^~~
In file included from /usr/include/stdio.h:862,
                 from includes.h:69,
                 from cmds.c:25:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 188 bytes into a destination of size 80
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
cc -O3  -Wall -Wshadow -Wno-char-subscripts  -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DREADLINE   main.o globals.o am.o solve.o help.o parse.o cmds.o simplify.o factor.o super.o unfactor.o poly.o diff.o integrate.o complex.o complex_lib.o list.o gcd.o factor_int.o -lm  -lreadline   -o mathomatic

./mathomatic successfully created.
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
+ make -j8 -C primes READLINE=1 mathdocdir=/usr/share/doc/mathomatic-16.0.5
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
cc -O3  -Wall -Wshadow -Wno-char-subscripts    -c -o lsqrt.o lsqrt.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
cc -O3  -Wall -Wshadow -Wno-char-subscripts     matho-pascal.c  -lm -o matho-pascal
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
cc -O3  -Wall -Wshadow -Wno-char-subscripts    -c -o matho-sumsq.o matho-sumsq.c
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
cc -O3  -Wall -Wshadow -Wno-char-subscripts   matho-sumsq.o lsqrt.o -lm -o matho-sumsq
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
cc -O3  -Wall -Wshadow -Wno-char-subscripts     matho-primes.c  -lm -o matho-primes
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'

Prime Number Tools successfully created.
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.15158
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/mathomatic-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/mathomatic-buildroot
+ cd mathomatic-16.0.5
+ /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/mathomatic-buildroot/usr exec_prefix=/usr/src/tmp/mathomatic-buildroot/usr bindir=/usr/src/tmp/mathomatic-buildroot/usr/bin sbindir=/usr/src/tmp/mathomatic-buildroot/usr/sbin sysconfdir=/usr/src/tmp/mathomatic-buildroot/etc datadir=/usr/src/tmp/mathomatic-buildroot/usr/share includedir=/usr/src/tmp/mathomatic-buildroot/usr/include libdir=/usr/src/tmp/mathomatic-buildroot/usr/lib64 libexecdir=/usr/src/tmp/mathomatic-buildroot/usr/lib localstatedir=/usr/src/tmp/mathomatic-buildroot/var/lib sharedstatedir=/usr/src/tmp/mathomatic-buildroot/var/lib mandir=/usr/src/tmp/mathomatic-buildroot/usr/share/man infodir=/usr/src/tmp/mathomatic-buildroot/usr/share/info install m4install mathdocdir=/usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/bin
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/applications
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/pixmaps
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/man/man1
/bin/install -p  mathomatic /usr/src/tmp/mathomatic-buildroot/usr/bin
/bin/install -p -m 0644  icons/mathomatic.desktop /usr/src/tmp/mathomatic-buildroot/usr/share/applications
/bin/install -p -m 0644  icons/mathomatic.png icons/mathomatic.xpm /usr/src/tmp/mathomatic-buildroot/usr/share/pixmaps
/bin/install -p -m 0644  mathomatic.1 /usr/src/tmp/mathomatic-buildroot/usr/share/man/man1
Installing docs...
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5/html
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5/tests
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5/examples
/bin/install -p -m 0644  VERSION AUTHORS COPYING README.txt NEWS /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
/bin/install -p -m 0644  doc/* /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5/html
/bin/install -p -m 0644  *.pdf /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
/bin/install: cannot stat '*.pdf': No such file or directory
make: [makefile:296: docinstall] Error 1 (ignored)
/bin/install -p -m 0644  tests/* /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5/tests
/bin/install -p -m 0644  examples/* /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5/examples

Mathomatic is installed.

/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/mathomatic
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/mathomatic/m4
echo '#!/bin/sh' >/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo '# Shell script to run Mathomatic with the GNU m4 preprocessor.' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo '# This allows entry of many standard math functions.' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo '#' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo '# Usage: matho [ input_files ]' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo 'if ! m4  --version >/dev/null' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo 'then' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo '  echo The m4  package is not installed.  GNU m4 is required to run m4 Mathomatic.' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo '  exit 1' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo 'fi' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
echo 'm4  -iP -- /usr/src/tmp/mathomatic-buildroot/usr/share/mathomatic/m4/functions.m4 "$@" - | mathomatic -ru -s-1' >>/usr/src/tmp/mathomatic-buildroot/usr/bin/matho
chmod 0755 /usr/src/tmp/mathomatic-buildroot/usr/bin/matho
/bin/install -p  m4/rmath /usr/src/tmp/mathomatic-buildroot/usr/bin
/bin/install -p -m 0644  rmath.1 /usr/src/tmp/mathomatic-buildroot/usr/share/man/man1
cd /usr/src/tmp/mathomatic-buildroot/usr/share/man/man1 && ln -sf rmath.1 matho.1
/bin/install -p -m 0644  m4/functions.m4 m4/degrees.m4 m4/gradians.m4 /usr/src/tmp/mathomatic-buildroot/usr/share/mathomatic/m4

m4 Mathomatic install completed.

make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
+ /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/mathomatic-buildroot/usr exec_prefix=/usr/src/tmp/mathomatic-buildroot/usr bindir=/usr/src/tmp/mathomatic-buildroot/usr/bin sbindir=/usr/src/tmp/mathomatic-buildroot/usr/sbin sysconfdir=/usr/src/tmp/mathomatic-buildroot/etc datadir=/usr/src/tmp/mathomatic-buildroot/usr/share includedir=/usr/src/tmp/mathomatic-buildroot/usr/include libdir=/usr/src/tmp/mathomatic-buildroot/usr/lib64 libexecdir=/usr/src/tmp/mathomatic-buildroot/usr/lib localstatedir=/usr/src/tmp/mathomatic-buildroot/var/lib sharedstatedir=/usr/src/tmp/mathomatic-buildroot/var/lib mandir=/usr/src/tmp/mathomatic-buildroot/usr/share/man infodir=/usr/src/tmp/mathomatic-buildroot/usr/share/info install -C primes
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/bin
/bin/install -p -d /usr/src/tmp/mathomatic-buildroot/usr/share/man/man1
/bin/install -p  matho-primes matho-pascal matho-sumsq primorial matho-mult matho-sum /usr/src/tmp/mathomatic-buildroot/usr/bin
/bin/install -p -m 0644  matho-primes.1 matho-pascal.1 matho-sumsq.1 primorial.1 matho-mult.1 matho-sum.1 /usr/src/tmp/mathomatic-buildroot/usr/share/man/man1

The Prime Number Tools are installed.
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5/primes'
+ install -D icons/mathomatic.png /usr/src/tmp/mathomatic-buildroot/usr/share/icons/hicolor/32x32/apps/mathomatic.png
+ sed -i s@/usr/src/tmp/mathomatic-buildroot@@ /usr/src/tmp/mathomatic-buildroot//usr/bin/matho
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/mathomatic-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/mathomatic-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/mathomatic-buildroot/ (default)
Compressing files in /usr/src/tmp/mathomatic-buildroot (auto)
removed '/usr/src/tmp/mathomatic-buildroot/usr/share/man/man1/matho.1'
'/usr/src/tmp/mathomatic-buildroot/usr/share/man/man1/matho.1.xz' -> 'rmath.1.xz'
Verifying ELF objects in /usr/src/tmp/mathomatic-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Bytecompiling python modules in /usr/src/tmp/mathomatic-buildroot using /usr/bin/python
Can't list '/usr/src/tmp/mathomatic-buildroot/usr/lib64'
Bytecompiling python modules with optimization in /usr/src/tmp/mathomatic-buildroot using /usr/bin/python -O
Can't list '/usr/src/tmp/mathomatic-buildroot/usr/lib64'
Hardlinking identical .pyc and .pyo files
Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.42961
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd mathomatic-16.0.5
+ make test
make: Entering directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'

Testing ./mathomatic (Mathomatic version 16.0.5)
cd tests && time -p ../mathomatic -t all 0<&- >test.out && diff -u --strip-trailing-cr all.out test.out && rm test.out && cd ..
real 1.40
user 1.40
sys 0.00
All tests passed 100% correctly.
make: Leaving directory '/usr/src/RPM/BUILD/mathomatic-16.0.5'
+ exit 0
Processing files: mathomatic-16.0.5-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.29226
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd mathomatic-16.0.5
+ DOCDIR=/usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
+ export DOCDIR
+ rm -rf /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
+ /bin/mkdir -p /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
+ cp -prL CMakeLists.txt INSTALL.txt README.txt changes.txt changes_series_15.txt doc tests m4 /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
+ chmod -R go-w /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
+ chmod -R a+rX /usr/src/tmp/mathomatic-buildroot/usr/share/doc/mathomatic-16.0.5
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ax3n1z
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mzJy92
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
python.req: /usr/src/tmp/mathomatic-buildroot/usr/bin/matho-mult: skipping sys
python.req: /usr/src/tmp/mathomatic-buildroot/usr/bin/matho-sum: skipping sys
python.req: /usr/src/tmp/mathomatic-buildroot/usr/bin/primorial: skipping sys
find-requires: FINDPACKAGE-COMMANDS: m4 rlwrap
Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, /usr/bin/python, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libreadline.so.7()(64bit) >= set:njCJKlFc0RzB8yuidtd9ZiMw8N5, m4, python-base, rlwrap, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BnyieC
Creating mathomatic-debuginfo package
Processing files: mathomatic-debuginfo-16.0.5-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6JA2Ie
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oDuHCU
find-requires: running scripts (debuginfo)
Requires: mathomatic = 16.0.5-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libm.so.6), debug64(libreadline.so.7)
Adding to mathomatic-debuginfo a strict dependency on mathomatic
Wrote: /usr/src/RPM/RPMS/x86_64/mathomatic-16.0.5-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/mathomatic-debuginfo-16.0.5-alt2.x86_64.rpm
25.50user 3.56system 0:16.32elapsed 178%CPU (0avgtext+0avgdata 59084maxresident)k
0inputs+0outputs (0major+584864minor)pagefaults 0swaps
31.78user 8.78system 0:26.83elapsed 151%CPU (0avgtext+0avgdata 117216maxresident)k
0inputs+0outputs (0major+892959minor)pagefaults 0swaps