2021-08-26 18:48:50 exec_hook package_begin chapter08 875-sysvinit START: 2021-08-26 18:48:50 # Begin /home/lfs/build/x86_64/sources/config.inc # Environment for chapter08/875-sysvinit # Make flags export MAKEFLAGS=-j4 # C/C++ flags export CFLAGS="-mtune=generic " export CXXFLAGS="-mtune=generic " # Log output for tests TEST_LOG=${ROOT}sources/875-sysvinit-tests.tmp LFS_CHAPTER=chapter08 LFS_SCRIPT=875-sysvinit # Targets for multilib LFS_TGT=x86_64-lfs-linux-gnu LFS_TGT32=i686-lfs-linux-gnu LFS_TGTX32=x86_64-lfs-linux-gnux32 echo "Environment" set echo "File systems" mount || true echo "logname" logname || true # End /home/lfs/build/x86_64/sources/config.inc Environment BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=([0]="1" [1]="0") BASH_ARGV=([0]="/sources/config.inc") BASH_CMDS=() BASH_LINENO=([0]="15" [1]="0") BASH_SOURCE=([0]="/sources/config.inc" [1]="/sources/lfs-commands/chapter08/875-sysvinit") BASH_VERSINFO=([0]="5" [1]="1" [2]="8" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.1.8(1)-release' CFLAGS='-mtune=generic ' CXXFLAGS='-mtune=generic ' DIRSTACK=() EUID=0 GROUPS=() HOME=/root HOSTNAME=lfs-x86_64 HOSTTYPE=x86_64 IFS=$' \t\n' LFS_CHAPTER=chapter08 LFS_SCRIPT=875-sysvinit LFS_TGT=x86_64-lfs-linux-gnu LFS_TGT32=i686-lfs-linux-gnu LFS_TGTX32=x86_64-lfs-linux-gnux32 MACHTYPE=x86_64-pc-linux-gnu MAKEFLAGS=-j4 OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/bin:/usr/bin:/sbin:/usr/sbin PIPESTATUS=([0]="0") PPID=23684 PREV_SEC=0 PS4='+ ' PWD=/ ROOT=/ SCRIPT_ROOT=/dev/null SECONDS=0 SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:interactive-comments SHLVL=1 TERM=xterm-256color TEST_LOG=/sources/875-sysvinit-tests.tmp UID=0 _=Environment File systems /dev/sdb1 on / type ext4 (rw,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=4072068k,nr_inodes=1018017,mode=755) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) tmpfs on /run type tmpfs (rw,relatime) logname root KB: 2477360 / /sources/autolfs_package_patch PKG_DEST=/sources/875-sysvinit patching file src/Makefile Hunk #2 succeeded at 211 (offset 2 lines). Hunk #3 succeeded at 236 (offset 2 lines). make VERSION=2.99 -C src all make[1]: Entering directory '/sources/sysvinit-2.99/src' cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o init.o init.c cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -DINIT_MAIN -c -o init_utmp.o utmp.c cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o runlevellog.o runlevellog.c cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o halt.o halt.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from runlevellog.c:22: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from init.c:39: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from halt.c:46: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from utmp.c:24: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o ifdown.o ifdown.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ifdown.c:24: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o hddown.o hddown.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from hddown.c:27: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o utmp.o utmp.c cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o shutdown.o shutdown.c In file included from /usr/include/sys/types.h:25, from utmp.c:24: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from shutdown.c:41: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o dowall.o dowall.c cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o runlevel.o runlevel.c In file included from /usr/include/sys/types.h:25, from dowall.c:25: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from runlevel.c:24: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" killall5.c -o killall5 In file included from /usr/include/dirent.h:25, from killall5.c:43: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o fstab-decode.o fstab-decode.c dowall.c: In function 'wall': dowall.c:227:25: warning: 'strncat' argument 2 declared attribute 'nonstring' is smaller than the specified bound 37 [-Wstringop-overread] 227 | strncat(term, utmp->ut_line, sizeof(term)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmp.h:29, from dowall.c:34: /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ In file included from /usr/include/errno.h:25, from fstab-decode.c:19: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc -mtune=generic -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"2.99\" -c -o bootlogd.o bootlogd.c In file included from /usr/include/sys/types.h:25, from bootlogd.c:29: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ cc halt.o ifdown.o hddown.o utmp.o runlevellog.o -o halt cc shutdown.o dowall.o utmp.o -o shutdown cc runlevel.o runlevellog.o -o runlevel cc fstab-decode.o -o fstab-decode cc bootlogd.o -lutil -o bootlogd cc init.o init_utmp.o runlevellog.o -o init make[1]: Leaving directory '/sources/sysvinit-2.99/src' make VERSION=2.99 -C src install make[1]: Entering directory '/sources/sysvinit-2.99/src' install -m 755 -d /bin/ /sbin/ install -m 755 -d /usr/bin/ for i in ; do \ install -o root -g root -m 755 $i /bin/ ; \ done for i in init halt shutdown runlevel killall5 fstab-decode bootlogd; do \ install -o root -g root -m 755 $i /sbin/ ; \ done for i in ; do \ install -o root -g root -m 755 $i /usr/bin/ ; \ done # install -m 755 -d /etc/ install -m 755 -d /etc/inittab.d # install -o root -g root -m 755 ../doc/initscript.sample /etc/ ln -sf halt /sbin/reboot ln -sf halt /sbin/poweroff ln -sf init /sbin/telinit #ln -sf /sbin/killall5 /bin/pidof #if [ ! -f /usr/bin/lastb ]; then \ # ln -sf last /usr/bin/lastb; \ #fi install -m 755 -d /usr/include/ install -o root -g root -m 644 initreq.h /usr/include/ install -m 755 -d /usr/share/man/man1/ install -m 755 -d /usr/share/man/man5/ install -m 755 -d /usr/share/man/man8/ for man in ; do \ install -o root -g root -m 644 ../man/$man /usr/share/man/man1/; \ sed -i "1{ s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@; }" /usr/share/man/man1/$man ; \ done for man in initscript.5 inittab.5 initctl.5; do \ install -o root -g root -m 644 ../man/$man /usr/share/man/man5/; \ sed -i "1{ s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@; }" /usr/share/man/man5/$man ; \ done for man in halt.8 init.8 killall5.8 poweroff.8 reboot.8 runlevel.8 shutdown.8 telinit.8 fstab-decode.8 bootlogd.8; do \ install -o root -g root -m 644 ../man/$man /usr/share/man/man8/; \ sed -i "1{ s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@; }" /usr/share/man/man8/$man ; \ done # # This part is skipped on Debian systems, the # debian.preinst script takes care of it. #@if [ ! -p /run/initctl ]; then \ #echo "Creating /run/initctl"; \ #rm -f /run/initctl; \ #mknod -m 600 /run/initctl p; fi make[1]: Leaving directory '/sources/sysvinit-2.99/src' Totalseconds: 0 KB: 2478772 / 2021-08-26 18:48:51 exec_hook package_done chapter08 875-sysvinit END: 2021-08-26 18:48:51