<86>Jan  8 00:05:08 userdel[3471554]: delete user 'rooter'
<86>Jan  8 00:05:08 userdel[3471554]: removed group 'rooter' owned by 'rooter'
<86>Jan  8 00:05:08 userdel[3471554]: removed shadow group 'rooter' owned by 'rooter'
<86>Jan  8 00:05:08 groupadd[3471593]: group added to /etc/group: name=rooter, GID=1811
<86>Jan  8 00:05:08 groupadd[3471593]: group added to /etc/gshadow: name=rooter
<86>Jan  8 00:05:08 groupadd[3471593]: new group: name=rooter, GID=1811
<86>Jan  8 00:05:08 useradd[3471688]: new user: name=rooter, UID=1811, GID=1811, home=/root, shell=/bin/bash, from=none
<86>Jan  8 00:05:08 userdel[3471759]: delete user 'builder'
<86>Jan  8 00:05:08 userdel[3471759]: removed group 'builder' owned by 'builder'
<86>Jan  8 00:05:08 userdel[3471759]: removed shadow group 'builder' owned by 'builder'
<86>Jan  8 00:05:08 groupadd[3471811]: group added to /etc/group: name=builder, GID=1812
<86>Jan  8 00:05:08 groupadd[3471811]: group added to /etc/gshadow: name=builder
<86>Jan  8 00:05:08 groupadd[3471811]: new group: name=builder, GID=1812
<86>Jan  8 00:05:08 useradd[3471850]: new user: name=builder, UID=1812, GID=1812, home=/usr/src, shell=/bin/bash, from=none
warning: user asy does not exist - using root
warning: group asy does not exist - using root
warning: user asy does not exist - using root
warning: group asy does not exist - using root
warning: user asy does not exist - using root
warning: group asy does not exist - using root
warning: user asy does not exist - using root
warning: group asy does not exist - using root
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/swapd-1.0.5-alt1.nosrc.rpm (w1.gzdio)
Installing swapd-1.0.5-alt1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.45675
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf swapd-1.0.5
+ echo 'Source #0 (swapd-1.0.5.tar.gz):'
Source #0 (swapd-1.0.5.tar.gz):
+ /bin/tar -xf -
+ /usr/bin/gzip -dc /usr/src/RPM/SOURCES/swapd-1.0.5.tar.gz
+ cd swapd-1.0.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.45675
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd swapd-1.0.5
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ echo 'rpm-build: warning: ./configure script does not support --runstatedir'
rpm-build: warning: ./configure script does not support --runstatedir
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... x86_64-alt-linux-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 stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
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 asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking sys/swap.h usability... yes
checking sys/swap.h presence... yes
checking for sys/swap.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking size of long long... 8
checking size of long... 8
checking size of int... 4
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 getopt... yes
checking for strsep... yes
checking for swapoff... yes
checking for swapon... yes
checking whether swapon() takes 2 arguments... no
checking host operating system... linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating swapd.8
config.status: creating swapd.conf.5
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
+ make
make: Entering directory '/usr/src/RPM/BUILD/swapd-1.0.5'
x86_64-alt-linux-gcc -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DHAVE_CONFIG_H -DHAVE_CONFIG_H -DSWAPD_DEF_CONFIG=\"/etc/swapd.conf\"  -c -o swapd.o swapd.c
swapd.c: In function 'swapd_swapon':
swapd.c:193:21: error: too few arguments to function 'swapon'
  193 |         swaponret = swapon(swapfile);
      |                     ^~~~~~
In file included from swapd.c:24:
/usr/include/sys/swap.h:36:12: note: declared here
   36 | extern int swapon (const char *__path, int __flags) __THROW;
      |            ^~~~~~
swapd.c: In function 'swapd_swapoff':
swapd.c:290:14: warning: unused variable 'cmdline' [-Wunused-variable]
  290 |         char cmdline[1024] = {0};
      |              ^~~~~~~
swapd.c: In function 'main':
swapd.c:442:51: warning: variable 'dbg_cmp_active_swaps' set but not used [-Wunused-but-set-variable]
  442 |         int active_swaps = 0, inactive_swaps = 0, dbg_cmp_active_swaps;
      |                                                   ^~~~~~~~~~~~~~~~~~~~
swapd.c: In function 'swapd_get_free_mem':
swapd.c:139:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  139 |                 fgets(buf, sizeof(buf) - 1, meminfofd);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
swapd.c: In function 'swapd_call_mkswap':
swapd.c:175:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  175 |         system(cmdline);
      |         ^~~~~~~~~~~~~~~
swapd.c: In function 'swapd_process_config_file':
swapd.c:413:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  413 |                 fgets(buf, sizeof(buf) - 1, configfp);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [<builtin>: swapd.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/swapd-1.0.5'
error: Bad exit status from /usr/src/tmp/rpm-tmp.45675 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.45675 (%build)
Command exited with non-zero status 1
2.02user 1.97system 0:07.91elapsed 50%CPU (0avgtext+0avgdata 23968maxresident)k
0inputs+0outputs (0major+278463minor)pagefaults 0swaps
hsh-rebuild: rebuild of `swapd-1.0.5-alt1.src.rpm' failed.
Command exited with non-zero status 1
0.88user 3.38system 0:19.71elapsed 21%CPU (0avgtext+0avgdata 11480maxresident)k
0inputs+0outputs (0major+84611minor)pagefaults 0swaps