*: [iurt] This is iurt version 0.9.4 D: [iurt] [iurt] load config: /home/iurt/.iurt.cauldron.conf D: [iurt] [iurt] load config: /etc/iurt/build/cauldron.conf D: [iurt] [iurt] Setting PERL_EXTUTILS_AUTOINSTALL to --skipdeps D: [iurt] [iurt] Setting PERL_AUTOINSTALL to --skipdeps I: [iurt] [iurt] local spool: /home/iurt/iurt/cauldron/core/release/20250626020915.umeabot.duvel.145891-i686 I: [iurt] [iurt] Packages to build: 1 D: [iurt] [iurt] using 0.20250626021039 as chroot extension D: [iurt] [iurt] using local user iurt, id 501 I: [iurt] [iurt] Remove existing chroot D: [iurt] [iurt] ... dir /home/iurt/chroot_tmp all prefix chroot_cauldron.i686 D: [iurt] [iurt] running with pid 2956573 N: [iurt] [iurt] Build package @2195552:sysvinit-legacy-2.87-33.mga10.src.rpm [1/1] D: [iurt] [iurt] Not reusing old chroot I: [iurt] [iurt] Install new chroot D: [iurt] [iurt] ... in /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt] [iurt] clean chroot N: [iurt] [iurt] creating chroot D: [iurt_root_command] Running iurt_root_command --mkdir -p /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW D: [iurt_root_command] Creating the path D: [iurt_root_command] Success! D: [iurt] [iurt] decompressing /var/log/qa from /home/iurt/chroot_cauldron.i686.tar in /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW D: [iurt_root_command] Running iurt_root_command --untar /home/iurt/chroot_cauldron.i686.tar /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686... D: [iurt_root_command] Uncompress tarball D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --mkdir -m 1023 /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW... D: [iurt_root_command] Creating the path D: [iurt_root_command] Success! /bin/cp: cannot create special file '/home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW/tmp/tmp.1sFJqX/dev/null': Operation not permitted --2025-06-26 04:10:39-- http://repository.mageia.org/distrib/cauldron/i686/media/core/release/media_info/20250626-012656-synthesis.hdlist.cz Resolving repository.mageia.org (repository.mageia.org)... 212.85.158.153 Connecting to repository.mageia.org (repository.mageia.org)|212.85.158.153|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2769141 (2.6M) Saving to: '/home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW/tmp/tmp.1sFJqX/tmp/.urpmi-501/partial/20250626-012656-synthesis.hdlist.cz' 0K .......... .......... .......... .......... .......... 1% 172M 0s 50K .......... .......... .......... .......... .......... 3% 110M 0s 100K .......... .......... .......... .......... .......... 5% 121M 0s 150K .......... .......... .......... .......... .......... 7% 116M 0s 200K .......... .......... .......... .......... .......... 9% 112M 0s 250K .......... .......... .......... .......... .......... 11% 108M 0s 300K .......... .......... .......... .......... .......... 12% 114M 0s 350K .......... .......... .......... .......... .......... 14% 122M 0s 400K .......... .......... .......... .......... .......... 16% 109M 0s 450K .......... .......... .......... .......... .......... 18% 112M 0s 500K .......... .......... .......... .......... .......... 20% 99.7M 0s 550K .......... .......... .......... .......... .......... 22% 113M 0s 600K .......... .......... .......... .......... .......... 24% 123M 0s 650K .......... .......... .......... .......... .......... 25% 110M 0s 700K .......... .......... .......... .......... .......... 27% 113M 0s 750K .......... .......... .......... .......... .......... 29% 117M 0s 800K .......... .......... .......... .......... .......... 31% 109M 0s 850K .......... .......... .......... .......... .......... 33% 113M 0s 900K .......... .......... .......... .......... .......... 35% 114M 0s 950K .......... .......... .......... .......... .......... 36% 110M 0s 1000K .......... .......... .......... .......... .......... 38% 121M 0s 1050K .......... .......... .......... .......... .......... 40% 94.8M 0s 1100K .......... .......... .......... .......... .......... 42% 120M 0s 1150K .......... .......... .......... .......... .......... 44% 107M 0s 1200K .......... .......... .......... .......... .......... 46% 120M 0s 1250K .......... .......... .......... .......... .......... 48% 107M 0s 1300K .......... .......... .......... .......... .......... 49% 121M 0s 1350K .......... .......... .......... .......... .......... 51% 108M 0s 1400K .......... .......... .......... .......... .......... 53% 115M 0s 1450K .......... .......... .......... .......... .......... 55% 111M 0s 1500K .......... .......... .......... .......... .......... 57% 120M 0s 1550K .......... .......... .......... .......... .......... 59% 107M 0s 1600K .......... .......... .......... .......... .......... 61% 121M 0s 1650K .......... .......... .......... .......... .......... 62% 114M 0s 1700K .......... .......... .......... .......... .......... 64% 110M 0s 1750K .......... .......... .......... .......... .......... 66% 102M 0s 1800K .......... .......... .......... .......... .......... 68% 113M 0s 1850K .......... .......... .......... .......... .......... 70% 108M 0s 1900K .......... .......... .......... .......... .......... 72% 110M 0s 1950K .......... .......... .......... .......... .......... 73% 118M 0s 2000K .......... .......... .......... .......... .......... 75% 112M 0s 2050K .......... .......... .......... .......... .......... 77% 114M 0s 2100K .......... .......... .......... .......... .......... 79% 117M 0s 2150K .......... .......... .......... .......... .......... 81% 108M 0s 2200K .......... .......... .......... .......... .......... 83% 113M 0s 2250K .......... .......... .......... .......... .......... 85% 116M 0s 2300K .......... .......... .......... .......... .......... 86% 112M 0s 2350K .......... .......... .......... .......... .......... 88% 117M 0s 2400K .......... .......... .......... .......... .......... 90% 117M 0s 2450K .......... .......... .......... .......... .......... 92% 99.4M 0s 2500K .......... .......... .......... .......... .......... 94% 113M 0s 2550K .......... .......... .......... .......... .......... 96% 108M 0s 2600K .......... .......... .......... .......... .......... 97% 123M 0s 2650K .......... .......... .......... .......... .......... 99% 113M 0s 2700K .... 100% 130M=0.02s 2025-06-26 04:10:40 (113 MB/s) - '/home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW/tmp/tmp.1sFJqX/tmp/.urpmi-501/partial/20250626-012656-synthesis.hdlist.cz' saved [2769141/2769141] --2025-06-26 04:10:40-- http://repository.mageia.org/distrib/cauldron/i686/media/core/updates/media_info/20230811-204953-synthesis.hdlist.cz Resolving repository.mageia.org (repository.mageia.org)... 212.85.158.153 Connecting to repository.mageia.org (repository.mageia.org)|212.85.158.153|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 32 Saving to: '/home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW/tmp/tmp.1sFJqX/tmp/.urpmi-501/partial/20230811-204953-synthesis.hdlist.cz' 0K 100% 7.07M=0s 2025-06-26 04:10:40 (7.07 MB/s) - '/home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW/tmp/tmp.1sFJqX/tmp/.urpmi-501/partial/20230811-204953-synthesis.hdlist.cz' saved [32/32] N: [iurt] [iurt] chroot tarball is already up-to-date D: [iurt_root_command] Running iurt_root_command --rm -r /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039.tmp.lAIuAW D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --rm -r /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --mkdir -p /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Creating the path D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --untar /home/iurt/chroot_cauldron.i686.tar /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686... D: [iurt_root_command] Uncompress tarball D: [iurt_root_command] Success! N: [iurt] [iurt] chroot recreated in /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 (from /home/iurt/chroot_cauldron.i686.tar) D: [iurt_root_command] Running iurt_root_command --netns_create /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Create network namespace for given chroot D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --cp /tmp/rpmmacros.UmDitc /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039... D: [iurt_root_command] Copying files D: [iurt_root_command] copying /tmp/rpmmacros.UmDitc -> /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/etc/rpm/macros D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /proc /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/proc D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /dev/pts /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/dev/pts D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --tmpfs /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/dev/shm D: [iurt_root_command] Mount tmpfs D: [iurt_root_command] Success! I: [iurt] [iurt] add chroot media: http://repository.mageia.org/distrib//cauldron/i686 D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --urpmi-addmedia -v --urpmi-root /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 core_release http://repository.mageia.org/distrib//cauldron/i686/media/core/release D: [iurt] [iurt] Command exited with 0. MEDIA core_release (core_release) D: [iurt] [iurt] creating user iurt in chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Running iurt_root_command --useradd /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 iurt 501 D: [iurt_root_command] Useradd useradd warning: iurt's uid 501 outside of the UID_MIN 1000 and UID_MAX 60000 range. D: [iurt_root_command] Success! N: [iurt] [iurt] recreate srpm: @2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] perl command D: [iurt_root_command] Running iurt_root_command --cp /home/iurt/iurt/cauldron/core/release/20250626020915.umeabot.duvel.145891-i686//@21955... D: [iurt_root_command] Copying files D: [iurt_root_command] copying /home/iurt/iurt/cauldron/core/release/20250626020915.umeabot.duvel.145891-i686//@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm -> /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/home/iurt/rpmbuild/SRPMS/ D: [iurt_root_command] Success! D: [iurt] [iurt] Command exited with 0. D: [iurt] [iurt] recreating src.rpm... D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 su iurt -c "rpm -i /home/iurt/rpmbuild/SRPMS/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm" D: [iurt] [iurt] Command exited with 0. D: [iurt] [iurt] calling callback for install_@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 su iurt -c "rpmspec -q --qf %{NVR}.src.rpm --srpm /home/iurt/rpmbuild/SPECS/sysvinit-legacy.spec | tail -n1 > /home/iurt/rpmbuild/SPECS/sysvinit-legacy.spec.srpm_name" D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] Command exited with 0. D: [iurt_root_command] Running iurt_root_command --rm /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/home/iurt/rpmbuild/SR... D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/home/iurt/rpmbuild/SRPMS/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt_root_command] Success! D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 su iurt -c "rpmbuild --target i686 --nodeps -bs /home/iurt/rpmbuild/SPECS/sysvinit-legacy.spec" D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] Command exited with 0. D: [iurt_root_command] Running iurt_root_command --ln /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/home/iurt/rpmbuild/SR... D: [iurt_root_command] Linking files D: [iurt_root_command] Success! N: [iurt] [iurt] new srpm: @2195552:sysvinit-legacy-2.87-33.mga10.src.rpm I: [iurt] [iurt] updating packages in /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --urpmi --urpmi-root /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 --auto-update --auto D: [iurt] [iurt] Command exited with 0. I: [iurt] [iurt] Install build dependencies for @2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] installing /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/home/iurt/rpmbuild/SRPMS//@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm I: [iurt] [iurt] install dependencies using urpmi D: [iurt] [iurt] Using timeout of 3600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --urpmi -v --no-verify-rpm --tune-rpm=all --nolock --auto --no-recommends --ignoresize --urpmi-root /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 --buildrequires /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/home/iurt/rpmbuild/SRPMS//@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] Command exited with 0. D: [iurt] [iurt] calling callback for install_deps_@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] missing_deps is empty, aborting. D: [iurt] [iurt] output had: __ D: [iurt_root_command] urpmi error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. examining synthesis file [/home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/var/lib/urpmi/synthesis.hdlist.core_release.cz] would install instead of upgrade package kernel-desktop-6.12.33-1.mga10-1-1.mga10.i686 would install instead of upgrade package kernel-desktop-devel-6.12.33-1.mga10-1-1.mga10.i686 would install instead of upgrade package kernel-server-6.12.33-1.mga10-1-1.mga10.i686 would install instead of upgrade package kernel-server-devel-6.12.33-1.mga10-1-1.mga10.i686 would install instead of upgrade package kernel-linus-6.6.87-1.mga10.i686 would install instead of upgrade package kernel-linus-devel-6.6.87-1.mga10.i686 retrieving rpm files from medium "core_release"... http://repository.mageia.org/distrib/cauldron/i686/media/core/release/libxcrypt-static-devel-4.4.38-1.mga10.i686.rpm http://repository.mageia.org/distrib/cauldron/i686/media/core/release/glibc-static-devel-2.41-5.mga10.i686.rpm retrieved libxcrypt-static-devel-4.4.38-1.mga10.i686.rpm glibc-static-devel-2.41-5.mga10.i686.rpm ...retrieving done installing libxcrypt-static-devel-4.4.38-1.mga10.i686.rpm glibc-static-devel-2.41-5.mga10.i686.rpm from /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/var/cache/urpmi/rpms starting installing packages created transaction for installing on /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 (remove=0, install=0, upgrade=2) Preparing... ############################################# 1/2: glibc-static-devel ############################################# 2/2: libxcrypt-static-devel ############################################# shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory removing installed rpms (libxcrypt-static-devel-4.4.38-1.mga10.i686.rpm glibc-static-devel-2.41-5.mga10.i686.rpm) from /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/var/cache/urpmi/rpms D: [iurt_root_command] Success! __ I: [iurt] [iurt] installation successful I: [iurt] [iurt] handling dynamic buildrequires D: [iurt] [iurt] DynamicBuildRequires not required for @2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] Using timeout of 60 seconds. D: [iurt] [iurt] rpm --root /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 -qa | sort D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] Command exited with 0. N: [iurt] [iurt] Building @2195552:sysvinit-legacy-2.87-33.mga10.src.rpm D: [iurt] [iurt] Using timeout of 36000 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 /bin/su - iurt -c "TMP=/home/iurt/tmp/ rpmbuild --target i686 --rebuild /home/iurt/rpmbuild/SRPMS/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm" D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] Command exited with 256. D: [iurt] [iurt] calling callback for build_@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm E: [iurt] [iurt] ERROR: call_ret=1 kill= err=256 () F: [iurt] [iurt] See https://pkgsubmit.mageia.org/queue/build//cauldron/i686//log/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm/ Command failed: /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 /bin/su - iurt -c "TMP=/home/iurt/tmp/ rpmbuild --target i686 --rebuild /home/iurt/rpmbuild/SRPMS/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm" I: [iurt] [iurt] --------------- Command failed, full output follows --------------- I: [iurt] [iurt] D: [iurt_root_command] chroot Building target platforms: i686 Building for target i686 Installing /home/iurt/rpmbuild/SRPMS/@2195552:sysvinit-legacy-2.87-33.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lFm4Xx Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LCKcNN + umask 022 + cd /home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build + rm -rf sysvinit-2.87dsf + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/sysvinit-2.87.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sysvinit-2.87dsf + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sysvinit-2.87-prefix.patch):' Patch #0 (sysvinit-2.87-prefix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .prefix --fuzz=0 patching file src/Makefile Hunk #1 succeeded at 129 (offset 2 lines). + echo 'Patch #1 (sysvinit-2.78-man.patch):' Patch #1 (sysvinit-2.78-man.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manpatch --fuzz=0 patching file man/last.1 Hunk #1 succeeded at 62 (offset 2 lines). patching file man/init.8 Hunk #1 succeeded at 67 (offset 3 lines). patching file man/sulogin.8 + echo 'Patch #4 (sysvinit-2.86-autofsck.patch):' Patch #4 (sysvinit-2.86-autofsck.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .autofsck --fuzz=0 patching file src/shutdown.c + echo 'Patch #5 (sysvinit-2.86-loginshell.patch):' Patch #5 (sysvinit-2.86-loginshell.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .loginshell --fuzz=0 patching file src/init.c Hunk #1 succeeded at 1164 (offset 11 lines). + echo 'Patch #8 (sysvinit-2.86-inittab.patch):' Patch #8 (sysvinit-2.86-inittab.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .inittabdocs --fuzz=0 patching file man/inittab.5 + echo 'Patch #10 (sysvinit-2.87-pidof.patch):' Patch #10 (sysvinit-2.87-pidof.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pidof --fuzz=0 patching file src/killall5.c + echo 'Patch #13 (sysvinit-2.86-single.patch):' Patch #13 (sysvinit-2.86-single.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .single --fuzz=0 patching file src/init.c Hunk #1 succeeded at 1162 (offset 9 lines). + echo 'Patch #16 (sysvinit-2.86-quiet.patch):' Patch #16 (sysvinit-2.86-quiet.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .quiet --fuzz=0 patching file src/init.c Hunk #1 succeeded at 120 (offset 3 lines). Hunk #2 succeeded at 1683 (offset 9 lines). Hunk #3 succeeded at 2435 (offset 9 lines). Hunk #4 succeeded at 2672 (offset 14 lines). + echo 'Patch #23 (sysvinit-2.86-pidof-man.patch):' Patch #23 (sysvinit-2.86-pidof-man.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pidof --fuzz=0 patching file man/pidof.8 Hunk #1 succeeded at 50 (offset 7 lines). + echo 'Patch #24 (sysvinit-2.87-sulogin.patch):' Patch #24 (sysvinit-2.87-sulogin.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sulogin --fuzz=0 patching file src/sulogin.c + echo 'Patch #25 (sysvinit-2.87-wide.patch):' Patch #25 (sysvinit-2.87-wide.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wide --fuzz=0 patching file man/last.1 patching file src/last.c + echo 'Patch #26 (sysvinit-2.87-ipv6.patch):' Patch #26 (sysvinit-2.87-ipv6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0 patching file src/last.c + echo 'Patch #27 (sysvinit-2.87-omit.patch):' Patch #27 (sysvinit-2.87-omit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .omit --fuzz=0 patching file man/pidof.8 patching file src/killall5.c + echo 'Patch #100 (sysvinit-2.86-shutdown.patch):' Patch #100 (sysvinit-2.86-shutdown.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .shutdown --fuzz=0 patching file src/shutdown.c Hunk #3 succeeded at 536 (offset 6 lines). + echo 'Patch #101 (sysvinit-2.87-libcrypt.patch):' Patch #101 (sysvinit-2.87-libcrypt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libcrypt --fuzz=0 patching file src/Makefile + echo 'Patch #104 (sysvinit-2.85-walltty.patch):' Patch #104 (sysvinit-2.85-walltty.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wall --fuzz=0 patching file src/dowall.c Hunk #1 succeeded at 207 (offset 18 lines). + echo 'Patch #105 (sysvinit-disable-respawn-more-quickly.patch):' Patch #105 (sysvinit-disable-respawn-more-quickly.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .disable-respawn-more-quickly --fuzz=0 patching file man/init.8 Hunk #1 succeeded at 270 (offset 12 lines). patching file src/init.h + echo 'Patch #106 (sysvinit-2.87-speedboot-ioctl.patch):' Patch #106 (sysvinit-2.87-speedboot-ioctl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .speedboot-ioctl --fuzz=0 patching file src/init.c + echo 'Patch #200 (50_bootlogd_devsubdir.patch):' Patch #200 (50_bootlogd_devsubdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootlogd_devsubdir --fuzz=0 patching file src/bootlogd.c + echo 'Patch #201 (54_bootlogd_findptyfail.patch):' Patch #201 (54_bootlogd_findptyfail.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootlogd_findptyfail --fuzz=0 patching file src/bootlogd.c + echo 'Patch #202 (55_bootlogd_flush.patch):' Patch #202 (55_bootlogd_flush.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bootlogd_flush --fuzz=0 patching file src/bootlogd.c Hunk #1 succeeded at 366 (offset 28 lines). Hunk #2 succeeded at 398 (offset 28 lines). + echo 'Patch #203 (sysvinit-2.87dsf-fix-ioctl.patch):' Patch #203 (sysvinit-2.87dsf-fix-ioctl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ioctl --fuzz=0 patching file src/bootlogd.c + echo 'Patch #300 (sysvinit-2.88-sysmacros.patch):' Patch #300 (sysvinit-2.88-sysmacros.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sysmacros --fuzz=0 patching file src/bootlogd.c Hunk #1 succeeded at 23 (offset -9 lines). patching file src/mountpoint.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pqnXke + umask 022 + cd /home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sysvinit-2.87dsf + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j24 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -C src make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o runlevel.o runlevel.c runlevel.c: In function 'main': runlevel.c:20:5: warning: old-style function definition [-Wold-style-definition] 20 | int main(argc, argv) | ^~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o shutdown.o shutdown.c shutdown.c: In function 'main': shutdown.c:441:33: error: conflicting types for 'getopt'; have 'int(void)' 441 | extern int getopt(); | ^~~~~~ In file included from /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:903, from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /usr/include/sys/wait.h:36, from shutdown.c:33: /usr/include/bits/getopt_core.h:91:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | ^~~~~~ shutdown.c:477:20: error: too many arguments to function 'getopt'; expected 0, have 3 477 | while((c = getopt(argc, argv, "HPacqkrhnfFyt:g:i:")) != EOF) { | ^~~~~~ ~~~~ shutdown.c:441:33: note: declared here 441 | extern int getopt(); | ^~~~~~ shutdown.c: In function 'spawn': shutdown.c:261:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 261 | chdir("/"); | ^~~~~~~~~~ shutdown.c: In function 'main': shutdown.c:467:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 467 | setuid(geteuid()); | ^~~~~~~~~~~~~~~~~ shutdown.c:595:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 595 | fscanf(fp, "%d", &pid); | ^~~~~~~~~~~~~~~~~~~~~~ shutdown.c:684:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 684 | chdir("/"); | ^~~~~~~~~~ make: *** [: shutdown.o] Error 1 make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: *** Waiting for unfinished jobs.... make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o runlevel runlevel.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o last.o last.c last.c: In function 'quit_handler': last.c:286:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 286 | signal(SIGQUIT, quit_handler); | ^~~~~~~~~~~~ | | | void (*)(void) In file included from last.c:32: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ last.c:283:6: note: 'quit_handler' declared here 283 | void quit_handler() | ^~~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ last.c: In function 'main': last.c:682:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 682 | signal(SIGINT, int_handler); | ^~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ last.c:274:6: note: 'int_handler' declared here 274 | void int_handler() | ^~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ last.c:683:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 683 | signal(SIGQUIT, quit_handler); | ^~~~~~~~~~~~ | | | void (*)(void) /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ last.c:283:6: note: 'quit_handler' declared here 283 | void quit_handler() | ^~~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make: *** [: last.o] Error 1 make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE sulogin.c sulogin.c: In function 'getpasswd': sulogin.c:277:23: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 277 | sa.sa_handler = alrm_handler; | ^ sulogin.c:97:6: note: 'alrm_handler' declared here 97 | void alrm_handler() | ^~~~~~~~~~~~ In file included from sulogin.c:22: /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ sulogin.c: In function 'sushell': sulogin.c:311:15: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 311 | (void)chdir(pwd->pw_dir); | ^~~~~~~~~~~~~~~~~~ sulogin.c:331:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | getcwd(home, sizeof(home)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sulogin.c: In function 'main': sulogin.c:453:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 453 | dup(fd); | ^~~~~~~ sulogin.c:454:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 454 | dup(fd); | ^~~~~~~ make: *** [Makefile:105: sulogin.o] Error 1 make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE utmp.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -DINIT_MAIN utmp.c -o init_utmp.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o halt.o halt.c halt.c: In function 'main': halt.c:232:15: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 232 | (void)chdir("/"); | ^~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE init.c init.c: In function 'init_main': init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 82 | sa.sa_handler = fun; \ | ^ init.c:2406:3: note: in expansion of macro 'SETSIG' 2406 | SETSIG(sa, SIGCHLD, chld_handler, SA_RESTART); | ^~~~~~ init.c:563:6: note: 'chld_handler' declared here 563 | void chld_handler() | ^~~~~~~~~~~~ In file included from /usr/include/sys/wait.h:36, from init.c:26: /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 82 | sa.sa_handler = fun; \ | ^ init.c:2410:3: note: in expansion of macro 'SETSIG' 2410 | SETSIG(sa, SIGSTOP, stop_handler, SA_RESTART); | ^~~~~~ init.c:675:6: note: 'stop_handler' declared here 675 | void stop_handler() | ^~~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 82 | sa.sa_handler = fun; \ | ^ init.c:2411:3: note: in expansion of macro 'SETSIG' 2411 | SETSIG(sa, SIGTSTP, stop_handler, SA_RESTART); | ^~~~~~ init.c:675:6: note: 'stop_handler' declared here 675 | void stop_handler() | ^~~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 82 | sa.sa_handler = fun; \ | ^ init.c:2412:3: note: in expansion of macro 'SETSIG' 2412 | SETSIG(sa, SIGCONT, cont_handler, SA_RESTART); | ^~~~~~ init.c:603:6: note: 'cont_handler' declared here 603 | void cont_handler() | ^~~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ init.c:82:39: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 82 | sa.sa_handler = fun; \ | ^ init.c:2452:17: note: in expansion of macro 'SETSIG' 2452 | SETSIG(sa, SIGCHLD, chld_handler, SA_RESTART); | ^~~~~~ init.c:563:6: note: 'chld_handler' declared here 563 | void chld_handler() | ^~~~~~~~~~~~ /usr/include/signal.h:72:16: note: '__sighandler_t' declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ init.c: In function 'main': init.c:2706:9: error: too many arguments to function 'init_main'; expected 0, have 1 2706 | init_main(dfl_level); | ^~~~~~~~~ ~~~~~~~~~ init.c:2357:5: note: declared here 2357 | int init_main() | ^~~~~~~~~ init.c: In function 'get_record': init.c:358:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 358 | fscanf(f, "%c\n", &runlevel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:361:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 361 | fscanf(f, "%c\n", &thislevel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:364:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 364 | fscanf(f, "%c\n", &prevlevel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:367:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | fscanf(f, "%u\n", &got_signals); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:370:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 370 | fscanf(f, "%d\n", &wrote_wtmp_reboot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:373:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 373 | fscanf(f, "%d\n", &wrote_utmp_reboot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:376:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 376 | fscanf(f, "%d\n", &sltime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:379:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 379 | fscanf(f, "%d\n", &did_boot); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:398:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 398 | fscanf(f, "%d\n", &(p->pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:401:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | fscanf(f, "%u\n", &(p->exstat)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'coredump': init.c:628:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 628 | chdir("/"); | ^~~~~~~~~~ init.c: In function 'print': init.c:739:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 739 | write(fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'spawn': init.c:978:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 978 | dup(f); | ^~~~~~ init.c:979:33: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 979 | dup(f); | ^~~~~~ init.c:1038:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1038 | dup(f); | ^~~~~~ init.c:1039:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1039 | dup(f); | ^~~~~~ init.c: In function 'ask_runlevel': init.c:1560:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1560 | write(fd, prompt, sizeof(prompt) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:1562:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1562 | read(fd, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'make_pipe': init.c:1831:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 1831 | pipe(fds); | ^~~~~~~~~ init.c:1836:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1836 | write(fds[1], Signature, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'process_signals': init.c:2266:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2266 | read(fd, &c, 1); | ^~~~~~~~~~~~~~~ make: *** [Makefile:108: init.o] Error 1 make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o mesg.o mesg.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o ifdown.o ifdown.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o mountpoint.o mountpoint.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o wall.o wall.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o hddown.o hddown.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o dowall.o dowall.c dowall.c: In function 'wall': dowall.c:171:60: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 54 [-Wformat-truncation=] 171 | "\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n", | ^~ 172 | user, hostname, tty, date); | ~~~~~~~~ In file included from /usr/include/stdio.h:970, from dowall.c:24: In function 'snprintf', inlined from 'wall' at dowall.c:170:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 291) into a destination of size 81 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from dowall.c:21: In function 'strncat', inlined from 'wall' at dowall.c:194:4: /usr/include/bits/string_fortified.h:149:10: warning: '__builtin___strncat_chk' argument 2 declared attribute 'nonstring' [-Wstringop-overread] 149 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmp.h:29, from dowall.c:25: /usr/include/bits/utmp.h: In function 'wall': /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o utmpdump.o utmpdump.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -c -o bootlogd.o bootlogd.c bootlogd.c: In function 'findtty': bootlogd.c:117:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | chdir(olddir); | ^~~~~~~~~~~~~ bootlogd.c:132:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | chdir(olddir); | ^~~~~~~~~~~~~ bootlogd.c:143:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | chdir(olddir); | ^~~~~~~~~~~~~ bootlogd.c:148:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | chdir(olddir); | ^~~~~~~~~~~~~ bootlogd.c:155:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | chdir(olddir); | ^~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld killall5.c -o killall5 killall5.c: In function 'readproc': killall5.c:226:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | fgets(buf, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ killall5.c:221:49: warning: '/stat' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 221 | snprintf(path, sizeof(path), "%s/stat", d->d_name); | ^~~~~ In file included from /usr/include/stdio.h:970, from killall5.c:31: In function 'snprintf', inlined from 'readproc' at killall5.c:221:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 261 bytes into a destination of size 256 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ killall5.c: In function 'readproc': killall5.c:276:49: warning: '/cmdline' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 276 | snprintf(path, sizeof(path), "%s/cmdline", d->d_name); | ^~~~~~~~ In function 'snprintf', inlined from 'readproc' at killall5.c:276:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 264 bytes into a destination of size 256 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ killall5.c: In function 'readproc': killall5.c:322:53: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 250 [-Wformat-truncation=] 322 | snprintf(path, sizeof(path), "/proc/%s/exe", d->d_name); | ^~ In function 'snprintf', inlined from 'readproc' at killall5.c:322:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 266 bytes into a destination of size 256 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/sysvinit-legacy-2.87-build/sysvinit-2.87dsf/src' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pqnXke (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pqnXke (%build) I: [iurt_root_command] ERROR: chroot I: [iurt] [iurt] --------------- end of command output --------------- D: [iurt] [iurt] clean chroot D: [iurt_root_command] Running iurt_root_command --netns_delete /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Delete network namespace for given chroot, killing all processes D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/proc D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/dev/pts D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039/dev/shm D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! [iurt] [iurt] cleaning /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 [iurt] [iurt] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Running iurt_root_command --rm -r /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.i686.0.20250626021039 D: [iurt_root_command] Success!