Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/at.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-219825-16804/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe10bdc60>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/at.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/at-3.2.5-4.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/at.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-219825-16804/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe10bdc60>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/at.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9iuEi5
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf at-3.2.5
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/at_3.2.5.orig.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd at-3.2.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/at-3.2.5-make.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/at-3.2.2-shell.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/at-3.1.14-fix_no_export.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/at-3.1.16-clear-nonjobs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/at-3.2.2-lock-locks.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/at-3.1.20-log-jobs.patch
+ cp /builddir/build/SOURCES/pam_atd /builddir/build/SOURCES/config.guess /builddir/build/SOURCES/config.sub .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gx4xxi
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd at-3.2.5
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:7: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:7: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:7: the top level
configure.ac:21: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:21: the top level
configure.ac:25: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:25: the top level
configure.ac:58: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:58: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:58: the top level
configure.ac:65: warning: your code may safely assume C89 semantics that RETSIGTYPE is void.
configure.ac:65: Remove this warning and the `AC_CACHE_CHECK' when you adjust the code.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
configure.ac:65: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: './install-sh' is updated
autoreconf: Leaving directory '.'
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2024-07-26 19:39:31.065731294 +0800
+++ ./configure	2024-07-26 19:39:31.585740478 +0800
@@ -1631,7 +1631,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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-atspool=/var/spool/at/spool --with-jobdir=/var/spool/at --with-daemon_username=root --with-daemon_groupname=root --with-selinux --with-pam
configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-pam
checking build system type... loongarch64-opencloudos-linux-gnu
checking host system type... loongarch64-opencloudos-linux-gnu
checking for loongarch64-opencloudos-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
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 wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for bison... bison -y
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
checking HP-UX -Aa... no
checking __attribute__((noreturn))... yes
checking for yywrap in -lfl... yes
checking for __secure_getenv... no
checking for secure_getenv... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for errno.h... yes
checking for sys/fcntl.h... yes
checking for getopt.h... yes
checking for stdarg.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking how to run the C preprocessor... gcc -E
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for vprintf... yes
checking for setlocale... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for getcwd... yes
checking for mktime... yes
checking for strftime... yes
checking for setreuid... yes
checking for setresuid... yes
checking for sigaction... yes
checking for waitpid... yes
checking for security/pam_appl.h... yes
checking for sendmail... /usr/sbin/sendmail
checking etcdir... /etc
checking location of pid file... /run
checking location of spool directory... not found
checking jobdir... /var/spool/at
checking atspool... /var/spool/at/spool
checking maximum load average for batch to start jobs... 0.8
checking username to run under... root
checking for is_selinux_enabled in -lselinux... yes
checking for library containing timer_create... none required
checking for timer_create... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking groupname to run under... root
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating atrun
config.status: creating atd.8
config.status: creating atrun.8
config.status: creating at.1
config.status: creating at.allow.5
config.status: creating batch
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-pam
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
cat atd.service.in | sed -e 's![@]sbindir[@]!/usr/sbin!g' | sed -e 's![@]atjobdir[@]!/var/spool/at!g' > atd.service
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall panic.c
panic.c: In function 'panic':
panic.c:60:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   60 |         setregid(real_gid, effective_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panic.c:62:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   62 |         setregid(effective_gid, real_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panic.c: In function 'perr':
panic.c:82:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   82 |         setregid(real_gid, effective_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panic.c:84:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |         setregid(effective_gid, real_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall perm.c
In file included from perm.c:41:
perm.c: In function 'user_in_file':
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perm.c:76:3: note: in expansion of macro 'PRIV_START'
   76 |   PRIV_START;
      |   ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perm.c:76:3: note: in expansion of macro 'PRIV_START'
   76 |   PRIV_START;
      |   ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perm.c:78:3: note: in expansion of macro 'PRIV_END'
   78 |   PRIV_END;
      |   ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
perm.c:78:3: note: in expansion of macro 'PRIV_END'
   78 |   PRIV_END;
      |   ^~~~~~~~
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall posixtm.c
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall daemon.c
daemon.c: In function 'daemon_setup':
daemon.c:124:12: warning: variable 'old_umask' set but not used [-Wunused-but-set-variable]
  124 |     mode_t old_umask;
      |            ^~~~~~~~~
In file included from daemon.c:49:
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:157:5: note: in expansion of macro 'PRIV_START'
  157 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:157:5: note: in expansion of macro 'PRIV_START'
  157 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:214:5: note: in expansion of macro 'PRIV_END'
  214 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:214:5: note: in expansion of macro 'PRIV_END'
  214 |     PRIV_END
      |     ^~~~~~~~
daemon.c: In function 'daemon_cleanup':
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:224:5: note: in expansion of macro 'PRIV_START'
  224 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:224:5: note: in expansion of macro 'PRIV_START'
  224 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:228:5: note: in expansion of macro 'PRIV_END'
  228 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daemon.c:228:5: note: in expansion of macro 'PRIV_END'
  228 |     PRIV_END
      |     ^~~~~~~~
bison -y -d parsetime.y
bison -y -d parsetime.y
flex -i parsetime.l
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall atd.c
atd.c: In function 'set_selinux_context':
atd.c:211:5: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations]
  211 |     security_context_t user_context = NULL;
      |     ^~~~~~~~~~~~~~~~~~
atd.c:212:5: warning: 'security_context_t' is deprecated [-Wdeprecated-declarations]
  212 |     security_context_t file_context = NULL;
      |     ^~~~~~~~~~~~~~~~~~
atd.c: In function 'run_loop':
atd.c:626:10: warning: variable 'batch_queue' set but not used [-Wunused-but-set-variable]
  626 |     char batch_queue = '\0';
      |          ^~~~~~~~~~~
In file included from atd.c:82:
atd.c: In function 'main':
privs.h:79:31: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   79 |                               setregid(effective_gid, real_gid); \
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:888:5: note: in expansion of macro 'RELINQUISH_PRIVS_ROOT'
  888 |     RELINQUISH_PRIVS_ROOT(daemon_uid, daemon_gid)
      |     ^~~~~~~~~~~~~~~~~~~~~
privs.h:80:31: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   80 |                               setreuid(effective_uid, real_uid); \
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:888:5: note: in expansion of macro 'RELINQUISH_PRIVS_ROOT'
  888 |     RELINQUISH_PRIVS_ROOT(daemon_uid, daemon_gid)
      |     ^~~~~~~~~~~~~~~~~~~~~
atd.c: In function 'run_file':
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:327:5: note: in expansion of macro 'PRIV_START'
  327 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:327:5: note: in expansion of macro 'PRIV_START'
  327 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:329:5: note: in expansion of macro 'PRIV_END'
  329 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:329:5: note: in expansion of macro 'PRIV_END'
  329 |     PRIV_END
      |     ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:364:5: note: in expansion of macro 'PRIV_START'
  364 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:364:5: note: in expansion of macro 'PRIV_START'
  364 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:368:5: note: in expansion of macro 'PRIV_END'
  368 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:368:5: note: in expansion of macro 'PRIV_END'
  368 |     PRIV_END
      |     ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:456:5: note: in expansion of macro 'PRIV_START'
  456 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:456:5: note: in expansion of macro 'PRIV_START'
  456 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:460:5: note: in expansion of macro 'PRIV_END'
  460 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:460:5: note: in expansion of macro 'PRIV_END'
  460 |     PRIV_END
      |     ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:471:5: note: in expansion of macro 'PRIV_START'
  471 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:471:5: note: in expansion of macro 'PRIV_START'
  471 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:480:5: note: in expansion of macro 'PRIV_END'
  480 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:480:5: note: in expansion of macro 'PRIV_END'
  480 |     PRIV_END
      |     ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:513:9: note: in expansion of macro 'PRIV_START'
  513 |         PRIV_START
      |         ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:513:9: note: in expansion of macro 'PRIV_START'
  513 |         PRIV_START
      |         ^~~~~~~~~~
atd.c:515:13: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result]
  515 |             nice((tolower((int) queue) - 'a') * 2);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:533:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  533 |             chdir("/");
      |             ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:538:9: note: in expansion of macro 'PRIV_END'
  538 |         PRIV_END
      |         ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:538:9: note: in expansion of macro 'PRIV_END'
  538 |         PRIV_END
      |         ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:548:5: note: in expansion of macro 'PRIV_START'
  548 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:548:5: note: in expansion of macro 'PRIV_START'
  548 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:552:5: note: in expansion of macro 'PRIV_END'
  552 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:552:5: note: in expansion of macro 'PRIV_END'
  552 |     PRIV_END
      |     ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:592:9: note: in expansion of macro 'PRIV_START'
  592 |         PRIV_START
      |         ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:592:9: note: in expansion of macro 'PRIV_START'
  592 |         PRIV_START
      |         ^~~~~~~~~~
atd.c:603:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
  603 |             chdir ("/");
      |             ^~~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:612:9: note: in expansion of macro 'PRIV_END'
  612 |         PRIV_END
      |         ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atd.c:612:9: note: in expansion of macro 'PRIV_END'
  612 |         PRIV_END
      |         ^~~~~~~~
atd.c: In function 'run_loop':
atd.c:759:17: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 255 [-Wstringop-truncation]
  759 |                 strncpy(batch_name, dirent->d_name, sizeof(batch_name));
      |                 ^
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall at.c
In file included from at.c:79:
at.c: In function 'main':
privs.h:70:31: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   70 |                               setreuid(effective_uid, real_uid); \
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:852:5: note: in expansion of macro 'RELINQUISH_PRIVS'
  852 |     RELINQUISH_PRIVS
      |     ^~~~~~~~~~~~~~~~
privs.h:71:31: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   71 |                               setregid(effective_gid, real_gid); \
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:852:5: note: in expansion of macro 'RELINQUISH_PRIVS'
  852 |     RELINQUISH_PRIVS
      |     ^~~~~~~~~~~~~~~~
privs.h:93:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   93 |                         setreuid(real_uid, effective_uid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:991:9: note: in expansion of macro 'REDUCE_PRIV'
  991 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:94:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   94 |                         setregid(real_gid, effective_gid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:991:9: note: in expansion of macro 'REDUCE_PRIV'
  991 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:97:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   97 |                         setregid(effective_gid, real_gid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:991:9: note: in expansion of macro 'REDUCE_PRIV'
  991 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:98:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   98 |                         setreuid(effective_uid, real_uid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:991:9: note: in expansion of macro 'REDUCE_PRIV'
  991 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:93:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   93 |                         setreuid(real_uid, effective_uid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:999:9: note: in expansion of macro 'REDUCE_PRIV'
  999 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:94:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   94 |                         setregid(real_gid, effective_gid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:999:9: note: in expansion of macro 'REDUCE_PRIV'
  999 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:97:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   97 |                         setregid(effective_gid, real_gid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:999:9: note: in expansion of macro 'REDUCE_PRIV'
  999 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
privs.h:98:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   98 |                         setreuid(effective_uid, real_uid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:999:9: note: in expansion of macro 'REDUCE_PRIV'
  999 |         REDUCE_PRIV(daemon_uid, daemon_gid)
      |         ^~~~~~~~~~~
at.c: In function 'list_jobs':
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:646:5: note: in expansion of macro 'PRIV_START'
  646 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:646:5: note: in expansion of macro 'PRIV_START'
  646 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:689:5: note: in expansion of macro 'PRIV_END'
  689 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:689:5: note: in expansion of macro 'PRIV_END'
  689 |     PRIV_END
      |     ^~~~~~~~
at.c: In function 'process_jobs':
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:709:5: note: in expansion of macro 'PRIV_START'
  709 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:709:5: note: in expansion of macro 'PRIV_START'
  709 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:717:5: note: in expansion of macro 'PRIV_END'
  717 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:717:5: note: in expansion of macro 'PRIV_END'
  717 |     PRIV_END
      |     ^~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:723:9: note: in expansion of macro 'PRIV_START'
  723 |         PRIV_START
      |         ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:723:9: note: in expansion of macro 'PRIV_START'
  723 |         PRIV_START
      |         ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:726:9: note: in expansion of macro 'PRIV_END'
  726 |         PRIV_END
      |         ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:726:9: note: in expansion of macro 'PRIV_END'
  726 |         PRIV_END
      |         ^~~~~~~~
at.c:743:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
  743 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:753:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
  753 |                     setregid(effective_gid, real_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:763:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
  763 |                         setregid(real_gid, effective_gid);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:778:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
  778 |                         setregid(effective_gid, real_gid);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c: In function 'writefile':
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:290:5: note: in expansion of macro 'PRIV_START'
  290 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:290:5: note: in expansion of macro 'PRIV_START'
  290 |     PRIV_START
      |     ^~~~~~~~~~
at.c:332:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  332 |         seteuid(real_uid);
      |         ^~~~~~~~~~~~~~~~~
at.c:335:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  335 |         seteuid(effective_uid);
      |         ^~~~~~~~~~~~~~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:345:5: note: in expansion of macro 'PRIV_END'
  345 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:345:5: note: in expansion of macro 'PRIV_END'
  345 |     PRIV_END
      |     ^~~~~~~~
privs.h:93:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   93 |                         setreuid(real_uid, effective_uid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:351:5: note: in expansion of macro 'REDUCE_PRIV'
  351 |     REDUCE_PRIV(daemon_uid, daemon_gid)
      |     ^~~~~~~~~~~
privs.h:94:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   94 |                         setregid(real_gid, effective_gid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:351:5: note: in expansion of macro 'REDUCE_PRIV'
  351 |     REDUCE_PRIV(daemon_uid, daemon_gid)
      |     ^~~~~~~~~~~
privs.h:97:25: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   97 |                         setregid(effective_gid, real_gid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:351:5: note: in expansion of macro 'REDUCE_PRIV'
  351 |     REDUCE_PRIV(daemon_uid, daemon_gid)
      |     ^~~~~~~~~~~
privs.h:98:25: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   98 |                         setreuid(effective_uid, real_uid); \
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:351:5: note: in expansion of macro 'REDUCE_PRIV'
  351 |     REDUCE_PRIV(daemon_uid, daemon_gid)
      |     ^~~~~~~~~~~
privs.h:84:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   84 |                     setreuid(real_uid, effective_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:589:5: note: in expansion of macro 'PRIV_START'
  589 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:85:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   85 |                     setregid(real_gid, effective_gid);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:589:5: note: in expansion of macro 'PRIV_START'
  589 |     PRIV_START
      |     ^~~~~~~~~~
privs.h:88:21: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
   88 |                     setregid(effective_gid, real_gid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:592:5: note: in expansion of macro 'PRIV_END'
  592 |     PRIV_END
      |     ^~~~~~~~
privs.h:89:21: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result]
   89 |                     setreuid(effective_uid, real_uid); \
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:592:5: note: in expansion of macro 'PRIV_END'
  592 |     PRIV_END
      |     ^~~~~~~~
at.c: In function 'sigc':
at.c:161:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
  161 |         setregid(real_gid, effective_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c:163:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result]
  163 |         setregid(effective_gid, real_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at.c: In function 'nextjob':
at.c:218:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  218 |         fscanf(fid, "%5lx", &jobno);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall lex.yy.c
lex.yy.c:1550:16: warning: 'input' defined but not used [-Wunused-function]
 1550 | #else
      |                ^    
lex.yy.c:1507:17: warning: 'yyunput' defined but not used [-Wunused-function]
 1507 | 
      |                 ^      
gcc -c -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall y.tab.c
parsetime.y:13: warning: "__isleap" redefined
   13 | #define __isleap(y) \
      | 
In file included from parsetime.y:2:
/usr/include/time.h:240: note: this is the location of the previous definition
  240 | #define __isleap(year)  \
      | 
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -pie -o atd atd.o daemon.o  -lfl  -lpam -lselinux
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -pie -o at at.o panic.o perm.o posixtm.o y.tab.o lex.yy.o -lfl  -lfl 
rm -f atq atrm
ln -s -f at atq
ln -s -f at atrm
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NGhEAk
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64
+ cd at-3.2.5
++ id -nu
++ id -ng
++ id -nu
++ id -nu
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' prefix=/usr exec_prefix=/usr etcdir=/etc datadir=/usr/share bindir=/usr/bin sbindir=/usr/sbin docdir=/usr/share/doc mandir=/usr/share/man ATJOB_DIR=/var/spool/at ATSPOOL_DIR=/var/spool/at/spool DAEMON_USERNAME=mockbuild DAEMON_GROUPNAME=mock INSTALL_ROOT_USER=mockbuild INSTALL_ROOT_GROUP=mockbuild
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/bin
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/sbin
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/at
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
/usr/bin/install -p -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc/pam.d/
/usr/bin/install -p -g mock -o mockbuild -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at/spool
chmod 700 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at/spool
chown mockbuild:mock /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at/spool
touch /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at/.SEQ
chmod 600 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at/.SEQ
chown mockbuild:mock /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/var/spool/at/.SEQ
test -f /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc/at.allow || test -f /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc/at.deny || /usr/bin/install -p -m 600 at.deny /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc/
/usr/bin/install -p -o mockbuild -g mock pam_atd /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc/pam.d/atd
/usr/bin/install -p -m 4755 at /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/bin
ln -s -f at /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/bin/atq
ln -s -f at /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/bin/atrm
/usr/bin/install -p -m 755 batch /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/bin
/usr/bin/install -p -m 755 batch-job /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/at
/usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man1
/usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man5
/usr/bin/install -p -d -m 755 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man8
/usr/bin/install -p -m 755 atd /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/sbin
/usr/bin/install -p -m 755 atrun /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/sbin
/usr/bin/install -p -m 644 at.1 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man1/
cd /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man1 && ln -s -f at.1 atq.1 && ln -s -f at.1 batch.1 && ln -s -f at.1 atrm.1
/usr/bin/install -p -m 644 atd.8 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man8/
sed "s,\${exec_prefix},/usr,g" <atrun.8>tmpman
/usr/bin/install -p -m 644 tmpman /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man8/atrun.8
rm -f tmpman
/usr/bin/install -p -m 644 at.allow.5 /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man5/
cd /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/man5 && ln -s -f at.allow.5 at.deny.5
/usr/bin/install -p -m 644 Problems Copyright README ChangeLog timespec /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
rm -f /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/cat1/at.1* /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/cat1/batch.1* \
	/builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/cat1/atq.1*
rm -f /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/man/cat1/atd.8*
if test x"no" != xno; then \
	/usr/bin/install -p -o root -g root -m 755 -d /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64no; \
	/usr/bin/install -p -o root -g root -m 644 atd.service /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64no; \
fi
+ install -D -m 0644 /builddir/build/SOURCES/atd.sysconf /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/etc/sysconfig/atd
+ install -D -m 0644 /builddir/build/SOURCES/atd.systemd /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/lib/systemd/system/atd.service
+ echo
+ rm -f /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at/Copyright
+ rm -f /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at/Problems
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.2.5-4.ocs23 --unique-debug-suffix -3.2.5-4.ocs23.loongarch64 --unique-debug-src-base at-3.2.5-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/at-3.2.5
extracting debug info from /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/bin/at
extracting debug info from /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/sbin/atd
445 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
*** WARNING: ./etc/pam.d/atd is executable but has no shebang, removing executable bit
mangling shebang in /usr/bin/batch from /bin/sh -e to #!/usr/bin/sh -e
mangling shebang in /usr/sbin/atrun from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/share/at/batch-job from /bin/bash -x to #!/usr/bin/bash -x
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZJv8dZ
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd at-3.2.5
+ make test
gcc -o parsetest -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DVERSION=\"3.2.5\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall -DTEST_PARSER -DNEED_YYWRAP lex.yy.c y.tab.c
lex.yy.c:1550:16: warning: 'input' defined but not used [-Wunused-function]
 1550 | #else
      |                ^    
lex.yy.c:1507:17: warning: 'yyunput' defined but not used [-Wunused-function]
 1507 | 
      |                 ^      
parsetime.y:13: warning: "__isleap" redefined
   13 | #define __isleap(y) \
      | 
In file included from parsetime.y:2:
/usr/include/time.h:240: note: this is the location of the previous definition
  240 | #define __isleap(year)  \
      | 
prove parsetime.pl
parsetime.pl .. ok
All tests successful.
Test Summary Report
-------------------
parsetime.pl (Wstat: 0 Tests: 29 Failed: 0)
  TODO passed:   29
Files=1, Tests=29,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.13 cusr  0.02 csys =  0.18 CPU)
Result: PASS
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: at-3.2.5-4.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y8tLrq
+ umask 022
+ cd /builddir/build/BUILD
+ cd at-3.2.5
+ DOCDIR=/builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
+ cp -pr README /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
+ cp -pr timespec /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
+ cp -pr ChangeLog /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/doc/at
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ECbO4G
+ umask 022
+ cd /builddir/build/BUILD
+ cd at-3.2.5
+ LICENSEDIR=/builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/licenses/at
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/licenses/at
+ cp -pr Copyright /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/licenses/at
+ cp -pr COPYING /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64/usr/share/licenses/at
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: at = 3.2.5-4.ocs23 at(loongarch-64) = 3.2.5-4.ocs23 config(at) = 3.2.5-4.ocs23
Requires(interp): /bin/sh /bin/sh /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 systemd-units
Requires(preun): /bin/sh systemd-units
Requires(postun): /bin/sh systemd-units
Requires: /usr/bin/bash /usr/bin/sh ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) rtld(GNU_HASH)
Processing files: at-debugsource-3.2.5-4.ocs23.loongarch64
Provides: at-debugsource = 3.2.5-4.ocs23 at-debugsource(loongarch-64) = 3.2.5-4.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: at-debuginfo-3.2.5-4.ocs23.loongarch64
Provides: at-debuginfo = 3.2.5-4.ocs23 at-debuginfo(loongarch-64) = 3.2.5-4.ocs23 debuginfo(build-id) = b78942b81451c4575107d713cece4a9e29b4d66f debuginfo(build-id) = d5e60012b4853c00e576de64a582579e475a0bbb
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: at-debugsource(loongarch-64) = 3.2.5-4.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/at-3.2.5-4.ocs23.loongarch64
Wrote: /builddir/build/RPMS/at-3.2.5-4.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/at-debugsource-3.2.5-4.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/at-debuginfo-3.2.5-4.ocs23.loongarch64.rpm
Child return code was: 0