D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/uptimed-0.4.4-1.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.cw90GZ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf uptimed-0.4.4
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/uptimed-0.4.4.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd uptimed-0.4.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zZ318f
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd uptimed-0.4.4
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ ./autogen.sh
aclocal...
autoheader...
libtoolize... using libtoolize
automake...
configure.ac:5: installing './compile'
configure.ac:6: installing './config.guess'
configure.ac:6: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
libuptimed/Makefile.am: installing './depcomp'
autoconf...
configure.ac:6: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:6: You should run autoupdate.
aclocal.m4:122: AM_PROG_LIBTOOL is expanded from...
configure.ac:6: the top level
configure.ac:18: warning: AC_OUTPUT should be used without arguments.
configure.ac:18: You should run autoupdate.
configure.ac:65: warning: AC_OUTPUT should be used without arguments.
configure.ac:65: You should run autoupdate.
ready to configure
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ 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.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./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
+ /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
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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=aarch64-mageia-linux-gnu --build=aarch64-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 --disable-static
checking for aarch64-mageia-linux-gnu-gcc... no
checking for 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for aarch64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for aarch64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for aarch64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) 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... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating etc/uptimed.service
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
checking for getopt... yes
checking for getopt.h... yes
checking for getdtablesize... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating etc/uptimed.service
config.status: creating Makefile
config.status: creating libuptimed/Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating etc/Makefile
config.status: creating uptimed.spec
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands

--- Now type "gmake" to build Uptimed ---
--- If gmake is not working, try "make" ---

+ /usr/bin/make -O -j8 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in libuptimed
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o misc.lo misc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c misc.c  -fPIC -DPIC -o .libs/misc.o
misc.c: In function 'cat':
misc.c:61:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   61 |         fgets(str, sizeof(str), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:65:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   65 |                 fgets(str, sizeof(str), f);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o milestone.lo milestone.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c milestone.c  -fPIC -DPIC -o .libs/milestone.o
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o urec.lo urec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c urec.c  -fPIC -DPIC -o .libs/urec.o
urec.c: In function 'read_records':
urec.c:277:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  277 |         fgets(str, sizeof(str), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
urec.c:293:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  293 |                 fgets(str, sizeof(str), f);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
urec.c: In function 'readbootid':
urec.c:427:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  427 |                 fgets(str, sizeof(str), f);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
urec.c:433:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  433 |                         fgets(str, sizeof(str), f);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -version-info 0:0:0 -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libuptimed.la -rpath /usr/lib64 misc.lo milestone.lo urec.lo  
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/misc.o .libs/milestone.o .libs/urec.o   -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags    -Wl,-soname -Wl,libuptimed.so.0 -o .libs/libuptimed.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libuptimed.so.0" && ln -s "libuptimed.so.0.0.0" "libuptimed.so.0")
libtool: link: (cd ".libs" && rm -f "libuptimed.so" && ln -s "libuptimed.so.0.0.0" "libuptimed.so")
libtool: link: ( cd ".libs" && rm -f "libuptimed.la" && ln -s "../libuptimed.la" "libuptimed.la" )
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
Making all in src
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I../libuptimed -DSD_DAEMON_DISABLE_MQ  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o sd-daemon.o sd-daemon.c
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I../libuptimed -DSD_DAEMON_DISABLE_MQ  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o uptimed.o uptimed.c
uptimed.c: In function 'main':
uptimed.c:25:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=]
   25 | #define SYSLOG_PREFIX   ""
      |                         ^~
uptimed.c:87:34: note: in expansion of macro 'SYSLOG_PREFIX'
   87 |                 syslog(LOG_INFO, SYSLOG_PREFIX "created bootid: %d", readbootid());
      |                                  ^~~~~~~~~~~~~
uptimed.c:87:66: note: format string is defined here
   87 |                 syslog(LOG_INFO, SYSLOG_PREFIX "created bootid: %d", readbootid());
      |                                                                 ~^
      |                                                                  |
      |                                                                  int
      |                                                                 %ld
uptimed.c: In function 'bg':
uptimed.c:221:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  221 |         chdir("/");
      |         ^~~~~~~~~~
uptimed.c: In function 'read_config':
uptimed.c:273:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  273 |         fgets(str, sizeof(str), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
uptimed.c:313:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  313 |                 fgets(str, sizeof(str), f);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
uptimed.c: In function 'mail':
uptimed.c:471:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
  471 |         system(cmd);
      |         ^~~~~~~~~~~
uptimed.c:449:61: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 241 [-Wformat-truncation=]
  449 |                 snprintf(buf, sizeof(buf)-1, "The uptime of %s has reached a milestone:\n\t%s (%s)\n", hostname, time2uptime(milestone->time), milestone->desc);
      |                                                             ^~                                         ~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from uptimed.h:19,
                 from uptimed.c:19:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 46 or more bytes (assuming 557) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
uptimed.c:460:69: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 241 [-Wformat-truncation=]
  460 |                         snprintf(buf, sizeof(buf)-1, "The uptime of %s moved up to position %d:\n\t%s\n", hostname, position, time2uptime(u_current->utime));
      |                                                                     ^~                                    ~~~~~~~~
uptimed.c:460:54: note: directive argument in the range [2, 2147483647]
  460 |                         snprintf(buf, sizeof(buf)-1, "The uptime of %s moved up to position %d:\n\t%s\n", hostname, position, time2uptime(u_current->utime));
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from uptimed.h:19,
                 from uptimed.c:19:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 306) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
uptimed.c:458:86: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 224 [-Wformat-truncation=]
  458 |                         snprintf(buf, sizeof(buf)-1, "The uptime is a new record for %s:\n\t%s\n", hostname, time2uptime(u_current->utime));
      |                                                                                      ^~            ~~~~~~~~
In file included from /usr/include/stdio.h:866,
                 from uptimed.h:19,
                 from uptimed.c:19:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 291) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I../libuptimed -DSD_DAEMON_DISABLE_MQ  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o uprecords.o uprecords.c
uprecords.c: In function 'read_config':
uprecords.c:275:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  275 |         fgets(str, sizeof(str), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
uprecords.c:285:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  285 |                 fgets(str, sizeof(str), f);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
uprecords.c: In function 'read_config_cgi':
uprecords.c:298:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  298 |         fgets(str, sizeof(str), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
uprecords.c:319:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  319 |                 fgets(str, sizeof(str), f);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables  -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o uptimed uptimed.o sd-daemon.o ../libuptimed/libuptimed.la 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/uptimed uptimed.o sd-daemon.o  ../libuptimed/.libs/libuptimed.so
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables  -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o uprecords uprecords.o ../libuptimed/libuptimed.la 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/uprecords uprecords.o  ../libuptimed/.libs/libuptimed.so
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
Making all in man
make[2]: Nothing to be done for 'all'.
Making all in etc
make[2]: Nothing to be done for 'all'.
make[2]: Nothing to be done for 'all-am'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ipdOCh
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64
+ cd uptimed-0.4.4
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64 'INSTALL=/usr/bin/install -p'
Making install in libuptimed
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libuptimed.la '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libuptimed.so.0.0.0 /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64/libuptimed.so.0.0.0
libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64 && { ln -s -f libuptimed.so.0.0.0 libuptimed.so.0 || { rm -f libuptimed.so.0 && ln -s libuptimed.so.0.0.0 libuptimed.so.0; }; })
libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64 && { ln -s -f libuptimed.so.0.0.0 libuptimed.so || { rm -f libuptimed.so && ln -s libuptimed.so.0.0.0 libuptimed.so; }; })
libtool: install: /usr/bin/install -p .libs/libuptimed.lai /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64/libuptimed.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/libuptimed'
Making install in src
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p uprecords '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/bin'
libtool: warning: '../libuptimed/libuptimed.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/uprecords /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/bin/uprecords
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/sbin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -p uptimed '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/sbin'
libtool: warning: '../libuptimed/libuptimed.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p .libs/uptimed /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/sbin/uptimed
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/src'
Making install in man
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/man'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/man/man1'
 /usr/bin/install -p -m 644 uprecords.1 '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/man/man1'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/man/man8'
 /usr/bin/install -p -m 644 uptimed.8 '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/man/man8'
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/man'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/man'
Making install in etc
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/etc'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/etc'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/etc'
 /usr/bin/install -p -m 644 uptimed.conf-dist '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/etc'
 /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib/systemd/system'
 /usr/bin/install -p -m 644 uptimed.service '/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib/systemd/system'
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/etc'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4/etc'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/install -p -d /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/var/spool/uptimed
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4'
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/uptimed-0.4.4'
+ find /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64 -name '*.la' -delete
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/var/spool/uptimed
+ install -m755 etc/uptimed.service -D /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib/systemd/system/uptimed.service
+ mv /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/etc/uptimed.conf-dist /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/etc/uptimed.conf
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.4.4-1.mga9 --unique-debug-suffix -0.4.4-1.mga9.aarch64 --unique-debug-src-base uptimed-0.4.4-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/uptimed-0.4.4

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/lib64/libuptimed.so.0.0.0
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/bin/uprecords
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/sbin/uptimed
dwz: ./usr/bin/uprecords-0.4.4-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/lib64/libuptimed.so.0.0.0-0.4.4-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/sbin/uptimed-0.4.4-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: Too few files for multifile optimization
original debug info size: 152kB, size after compression: 152kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 3 CRC32s did match.
142 blocks
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: ./usr/lib/systemd/system/uptimed.service is executable but has no shebang, removing executable bit
Processing files: uptimed-0.4.4-1.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tj7vVe
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd uptimed-0.4.4
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ cp -pr CREDITS /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ cp -pr sample-cgi/ /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64/usr/share/doc/uptimed
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: config(uptimed) = 0.4.4-1.mga9 uptimed = 0.4.4-1.mga9 uptimed(aarch-64) = 0.4.4-1.mga9
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libuptimed.so.0()(64bit)
Processing files: lib64uptimed0-0.4.4-1.mga9.aarch64
Provides: lib64uptimed0 = 0.4.4-1.mga9 lib64uptimed0(aarch-64) = 0.4.4-1.mga9 libuptimed.so.0()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit)
Processing files: lib64uptimed-devel-0.4.4-1.mga9.aarch64
Provides: devel(libuptimed(64bit)) lib64uptimed-devel = 0.4.4-1.mga9 lib64uptimed-devel(aarch-64) = 0.4.4-1.mga9 libuptimed-devel = 0.4.4-1.mga9 uptimed-devel = 0.4.4-1.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: uptimed-debugsource-0.4.4-1.mga9.aarch64
Provides: uptimed-debugsource = 0.4.4-1.mga9 uptimed-debugsource(aarch-64) = 0.4.4-1.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: uptimed-debuginfo-0.4.4-1.mga9.aarch64
Provides: debuginfo(build-id) = 3ee7f01715f7ec8a210810ca220fffd5c34a0c2e debuginfo(build-id) = 893d43fa8da4a33b86a848184d27a6fe5e116197 uptimed-debuginfo = 0.4.4-1.mga9 uptimed-debuginfo(aarch-64) = 0.4.4-1.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: uptimed-debugsource(aarch-64) = 0.4.4-1.mga9
Processing files: lib64uptimed0-debuginfo-0.4.4-1.mga9.aarch64
Provides: debuginfo(build-id) = 92f43f86d44fd1f1db8c65a5938f014fe0496798 lib64uptimed0-debuginfo = 0.4.4-1.mga9 lib64uptimed0-debuginfo(aarch-64) = 0.4.4-1.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: uptimed-debugsource(aarch-64) = 0.4.4-1.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64uptimed-devel-0.4.4-1.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/uptimed-debugsource-0.4.4-1.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64uptimed0-debuginfo-0.4.4-1.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64uptimed0-0.4.4-1.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/uptimed-0.4.4-1.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/uptimed-debuginfo-0.4.4-1.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.v8psGr
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd uptimed-0.4.4
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/uptimed-0.4.4-1.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hAKiR7
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf uptimed-0.4.4
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!