Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/at.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32222-9715/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/at-3.1.20-12.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/at.spec'], chrootPath='/var/lib/mock/dist-oc8-build-32222-9715/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dmj0JB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf at-3.1.20 + /usr/bin/gzip -dc /builddir/build/SOURCES/at_3.1.20.orig.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd at-3.1.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/pam_atd . Patch #0 (at-aarch64.patch): + echo 'Patch #0 (at-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .arm --fuzz=0 patching file config.guess patching file config.sub Patch #1 (at-3.1.18-make.patch): + echo 'Patch #1 (at-3.1.18-make.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .make --fuzz=0 patching file Makefile.in Patch #2 (at-3.1.20-pam.patch): + echo 'Patch #2 (at-3.1.20-pam.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pam --fuzz=0 patching file at.c patching file atd.c patching file config.h.in patching file configure.ac patching file Makefile.in patching file perm.c patching file privs.h Patch #4 (at-3.1.14-opt_V.patch): + echo 'Patch #4 (at-3.1.14-opt_V.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .opt_V --fuzz=0 patching file at.c Hunk #1 succeeded at 860 (offset 18 lines). Patch #5 (at-3.1.20-shell.patch): + echo 'Patch #5 (at-3.1.20-shell.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shell --fuzz=0 patching file at.c Patch #6 (at-3.1.18-nitpicks.patch): + echo 'Patch #6 (at-3.1.18-nitpicks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nit --fuzz=0 patching file atd.c Hunk #5 succeeded at 726 (offset 6 lines). Hunk #6 succeeded at 761 (offset 6 lines). patching file at.1.in Patch #8 (at-3.1.14-fix_no_export.patch): + echo 'Patch #8 (at-3.1.14-fix_no_export.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .export --fuzz=0 patching file at.c Hunk #1 succeeded at 404 (offset 16 lines). Patch #9 (at-3.1.14-mailwithhostname.patch): + echo 'Patch #9 (at-3.1.14-mailwithhostname.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mail --fuzz=0 patching file atd.c Hunk #1 succeeded at 98 (offset -2 lines). Hunk #2 succeeded at 119 (offset -2 lines). Hunk #3 succeeded at 305 (offset 2 lines). Hunk #4 succeeded at 460 (offset 2 lines). Hunk #5 succeeded at 866 (offset 12 lines). Hunk #6 succeeded at 888 (offset 12 lines). Patch #10 (at-3.1.14-usePOSIXtimers.patch): + echo 'Patch #10 (at-3.1.14-usePOSIXtimers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .posix --fuzz=0 patching file atd.c Hunk #1 succeeded at 810 (offset -21 lines). Hunk #2 succeeded at 967 (offset -17 lines). Hunk #3 succeeded at 990 (offset -17 lines). patching file config.h.in patching file configure.ac Hunk #1 succeeded at 265 (offset 11 lines). Patch #12 (at-3.1.20-aborted-jobs.patch): + echo 'Patch #12 (at-3.1.20-aborted-jobs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aborted --fuzz=0 patching file atd.c Patch #13 (at-3.1.18-noabort.patch): + echo 'Patch #13 (at-3.1.18-noabort.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noabort --fuzz=0 patching file atd.c Patch #14 (at-3.1.16-fclose-error.patch): + echo 'Patch #14 (at-3.1.16-fclose-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fclose --fuzz=0 patching file at.c Hunk #2 succeeded at 501 (offset 3 lines). Patch #15 (at-3.1.16-clear-nonjobs.patch): + echo 'Patch #15 (at-3.1.16-clear-nonjobs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .clear-nojobs --fuzz=0 patching file atd.c Hunk #1 succeeded at 420 (offset 6 lines). Hunk #2 succeeded at 445 (offset 6 lines). Patch #16 (at-3.1.18-utc-dst.patch): + echo 'Patch #16 (at-3.1.18-utc-dst.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dst --fuzz=0 patching file parsetime.y Patch #17 (at-3.1.20-lock-locks.patch): + echo 'Patch #17 (at-3.1.20-lock-locks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lock-locks --fuzz=0 patching file atd.c Patch #18 (at-3.1.20-document-n.patch): + echo 'Patch #18 (at-3.1.20-document-n.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .document-n --fuzz=0 patching file atd.8.in Patch #19 (at-3.1.20-log-jobs.patch): + echo 'Patch #19 (at-3.1.20-log-jobs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .log-jobs --fuzz=0 patching file atd.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HYPjMj + umask 022 + cd /builddir/build/BUILD + cd at-3.1.20 + autoconf + rm -f 'lex.yy.*' 'y.tab.*' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-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 checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -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 dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void 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 _doprnt... no 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 security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for sendmail... /usr/sbin/sendmail checking etcdir... /etc checking location of pid file... /var/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 pam_start in -lpam... yes checking for is_selinux_enabled in -lselinux... yes checking for library containing timer_create... -lrt checking for timer_create... 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 + make gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -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:10: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:758:5: note: in expansion of macro 'RELINQUISH_PRIVS' RELINQUISH_PRIVS ^~~~~~~~~~~~~~~~ privs.h:71:10: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:758:5: note: in expansion of macro 'RELINQUISH_PRIVS' RELINQUISH_PRIVS ^~~~~~~~~~~~~~~~ privs.h:93:4: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:890:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:94:4: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:890:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:97:4: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:890:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:98:4: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:890:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:93:4: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:897:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:94:4: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:897:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:97:4: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:897:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ privs.h:98:4: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:897:2: note: in expansion of macro 'REDUCE_PRIV' REDUCE_PRIV(daemon_uid, daemon_gid) ^~~~~~~~~~~ at.c: In function 'list_jobs': privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:586:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:586:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:622:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:622:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ at.c: In function 'process_jobs': privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:642:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:642:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:650:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:650:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:656:2: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:656:2: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:659:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:659:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:676:7: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:676:7: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:685:7: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:685:7: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:696:4: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:696:4: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:709:4: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:709:4: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ at.c: In function 'writefile': privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:278:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:278:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:331:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:331:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:541:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:541:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:544:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:544:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ at.c: In function 'sigc': privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:144:9: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:144:9: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:150:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at.c:150:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ at.c: In function 'nextjob': at.c:202:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fid, "%5lx", &jobno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from at.c:79: At top level: privs.h:177:12: warning: 'pam_session_opened' defined but not used [-Wunused-variable] static int pam_session_opened = 0; //global for open session ^~~~~~~~~~~~~~~~~~ gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -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:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ panic.c:62:2: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] 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] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ panic.c:84:9: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from panic.c:44: At top level: privs.h:177:12: warning: 'pam_session_opened' defined but not used [-Wunused-variable] static int pam_session_opened = 0; //global for open session ^~~~~~~~~~~~~~~~~~ gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -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:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perm.c:84:3: note: in expansion of macro 'PRIV_START' PRIV_START; ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perm.c:84:3: note: in expansion of macro 'PRIV_START' PRIV_START; ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perm.c:86:3: note: in expansion of macro 'PRIV_END' PRIV_END; ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perm.c:86:3: note: in expansion of macro 'PRIV_END' PRIV_END; ^~~~~~~~ gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall posixtm.c bison -y -d parsetime.y gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall y.tab.c flex -i parsetime.l gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall lex.yy.c lex.yy.c:1555:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.yy.c:1512:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -o at at.o panic.o perm.o posixtm.o y.tab.o lex.yy.o -lrt -lfl -lfl -lpam -lpam_misc rm -f atq atrm ln -s -f at atq ln -s -f at atrm gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -DETCDIR=\"/etc\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"root\" -DDAEMON_GROUPNAME=\"root\" -DLFILE=\"/var/spool/at/.SEQ\" -Wall atd.c atd.c: In function 'run_loop': atd.c:665:10: warning: variable 'batch_queue' set but not used [-Wunused-but-set-variable] char batch_queue = '\0'; ^~~~~~~~~~~ In file included from atd.c:82: atd.c: In function 'main': privs.h:79:10: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:937:5: note: in expansion of macro 'RELINQUISH_PRIVS_ROOT' RELINQUISH_PRIVS_ROOT(daemon_uid, daemon_gid) ^~~~~~~~~~~~~~~~~~~~~ privs.h:80:10: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:937:5: note: in expansion of macro 'RELINQUISH_PRIVS_ROOT' RELINQUISH_PRIVS_ROOT(daemon_uid, daemon_gid) ^~~~~~~~~~~~~~~~~~~~~ atd.c: In function 'run_file': privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:340:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:340:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:342:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:342:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:383:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:383:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:387:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:387:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:475:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:475:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:479:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:479:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:514:2: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:514:2: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ atd.c:538:6: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice((tolower((int) queue) - 'a' + 1) * 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:559:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ In file included from atd.c:82: privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:564:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:564:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:615:2: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:615:2: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ atd.c:629:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir ("/"); ^~~~~~~~~~~ In file included from atd.c:82: privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:638:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atd.c:638:2: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ gcc -c -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -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] mode_t old_umask; ^~~~~~~~~ In file included from daemon.c:49: privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:152:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:152:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:209:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:209:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ daemon.c: In function 'daemon_cleanup': privs.h:84:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(real_uid, effective_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:217:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:85:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(real_gid, effective_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:217:5: note: in expansion of macro 'PRIV_START' PRIV_START ^~~~~~~~~~ privs.h:88:7: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(effective_gid, real_gid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:221:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ privs.h:89:7: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(effective_uid, real_uid); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c:221:5: note: in expansion of macro 'PRIV_END' PRIV_END ^~~~~~~~ In file included from daemon.c:49: At top level: privs.h:177:12: warning: 'pam_session_opened' defined but not used [-Wunused-variable] static int pam_session_opened = 0; //global for open session ^~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -o atd atd.o daemon.o -lrt -lfl -lpam -lpam_misc -lselinux sed -e 's![@]sbindir[@]!/usr/sbin!g' < atd.service.in > atd.service + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jmb8d3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 + cd at-3.1.20 ++ id -nu ++ id -ng ++ id -nu ++ id -nu + make install DAEMON_USERNAME=mockbuild DAEMON_GROUPNAME=mock DESTDIR=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 sbindir=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/sbin bindir=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin prefix=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr exec_prefix=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr docdir=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/doc mandir=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man etcdir=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc ATJOB_DIR=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at ATSPOOL_DIR=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/spool INSTALL_ROOT_USER=mockbuild INSTALL_ROOT_GROUP=mockbuild /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/sbin /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/doc /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/doc/at /usr/bin/install -c -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/pam.d/ /usr/bin/install -c -g mock -o mockbuild -m 755 -d /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/spool chmod 700 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/spool chown mockbuild:mock /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/spool touch /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/.SEQ chmod 600 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/.SEQ chown mockbuild:mock /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/var/spool/at/.SEQ test -f /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/at.allow || test -f /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/at.deny || /usr/bin/install -c -m 600 at.deny /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/ /usr/bin/install -c -o mockbuild -g mock pam_atd /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/pam.d/atd /usr/bin/install -c -m 4755 at /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin ln -s -f at /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin/atq ln -s -f at /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin/atrm /usr/bin/install -c -m 755 batch /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man1 /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man5 /usr/bin/install -c -d -m 755 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man8 /usr/bin/install -c -m 755 atd /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/sbin /usr/bin/install -c -m 755 atrun /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/sbin /usr/bin/install -c -m 644 at.1 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man1/ cd /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/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 -c -m 644 atd.8 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man8/ sed "s,\${exec_prefix},/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr,g" tmpman /usr/bin/install -c -m 644 tmpman /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man8/atrun.8 rm -f tmpman /usr/bin/install -c -m 644 at.allow.5 /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man5/ cd /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/man5 && ln -s -f at.allow.5 at.deny.5 /usr/bin/install -c -m 644 Problems Copyright README ChangeLog timespec /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/doc/at rm -f /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/cat1/at.1* /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/cat1/batch.1* \ /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/cat1/atq.1* rm -f /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/man/cat1/atd.8* if test x"no" != xno; then \ /usr/bin/install -c -o root -g root -m 755 -d no; \ /usr/bin/install -c -o root -g root -m 644 atd.service no; \ fi + echo + mkdir docs + cp /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/doc/at/ChangeLog /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/doc/at/Copyright /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/doc/at/Problems /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/doc/at/README /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/doc/at/timespec docs/ + mkdir -p /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/pam.d + install -m 644 /builddir/build/SOURCES/pam_atd /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/pam.d/atd + mkdir -p /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/sysconfig + install -m 644 /builddir/build/SOURCES/atd.sysconf /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/sysconfig/atd + mkdir -p /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/lib/systemd/system/ + install -m 644 /builddir/build/SOURCES/atd.systemd /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64//usr/lib/systemd/system/atd.service + rm -r /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/doc + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 3.1.20-12.oc8 --unique-debug-suffix -3.1.20-12.oc8.aarch64 --unique-debug-src-base at-3.1.20-12.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/at-3.1.20 extracting debug info from /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/bin/at extracting debug info from /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/sbin/atd /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 437 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hKtPOP + umask 022 + cd /builddir/build/BUILD + cd at-3.1.20 + make test gcc -o parsetest -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -DVERSION=\"3.1.20\" -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:1555:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ lex.yy.c:1512:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, char * yy_bp ) ^~~~~~~ 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.03 usr 0.00 sys + 0.09 cusr 0.02 csys = 0.14 CPU) Result: PASS + exit 0 Processing files: at-3.1.20-12.oc8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cQH8P6 + umask 022 + cd /builddir/build/BUILD + cd at-3.1.20 + DOCDIR=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/doc/at + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/doc/at + cp -pr README /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/doc/at + cp -pr timespec /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/doc/at + cp -pr ChangeLog /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/doc/at + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.j8Lv8A + umask 022 + cd /builddir/build/BUILD + cd at-3.1.20 + LICENSEDIR=/builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/licenses/at + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/licenses/at + cp -pr Copyright /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/licenses/at + cp -pr COPYING /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64/usr/share/licenses/at + exit 0 Provides: at = 3.1.20-12.oc8 at(aarch-64) = 3.1.20-12.oc8 config(at) = 3.1.20-12.oc8 Requires(interp): /bin/sh /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: /bin/sh 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) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam_misc.so.0()(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.17)(64bit) libselinux.so.1()(64bit) rtld(GNU_HASH) Conflicts: crontabs <= 1.5 Obsoletes: at-sysvinit < 3.1.16-1 Processing files: at-debugsource-3.1.20-12.oc8.aarch64 Provides: at-debugsource = 3.1.20-12.oc8 at-debugsource(aarch-64) = 3.1.20-12.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: at-debuginfo-3.1.20-12.oc8.aarch64 Provides: at-debuginfo = 3.1.20-12.oc8 at-debuginfo(aarch-64) = 3.1.20-12.oc8 debuginfo(build-id) = cd2ac49b1abc4efcc5676db545389021475fbb82 debuginfo(build-id) = d5c4b9bc110dd49d64fcd176145642b9f9e8a222 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: at-debugsource(aarch-64) = 3.1.20-12.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 Wrote: /builddir/build/RPMS/at-3.1.20-12.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/at-debugsource-3.1.20-12.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/at-debuginfo-3.1.20-12.oc8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wL5dap + umask 022 + cd /builddir/build/BUILD + cd at-3.1.20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/at-3.1.20-12.oc8.aarch64 + exit 0 Child return code was: 0