Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.56 KB | None | 0 0
  1. mar 31 mar - 19:25  ~/git/sysvinit-2.96 
  2. @byjumperx4  sudo make all install clean distclean
  3. make VERSION=2.96 -C src all
  4. make[1] : on entre dans le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  5. cc -O2 -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.96\" -c -o init.o init.c
  6. Dans le fichier inclus depuis /usr/include/string.h:495,
  7. depuis init.c:53:
  8. Dans la fonction « strncpy »,
  9. mis en ligne depuis « check_kernel_console » à init.c:1388:6,
  10. mis en ligne depuis « read_inittab » à init.c:1639:3:
  11. /usr/include/bits/string_fortified.h:106:10: attention: la sortie de « __builtin_strncpy » peut être tronquée en copiant 8 octets depuis une chaîne de longueur 31 [-Wstringop-truncation]
  12. 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
  13. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14. Dans la fonction « strncpy »,
  15. mis en ligne depuis « check_kernel_console » à init.c:1386:6,
  16. mis en ligne depuis « read_inittab » à init.c:1639:3:
  17. /usr/include/bits/string_fortified.h:106:10: attention: la limite spécifiée par « __builtin_strncpy » (8) est égale à la taille de la destination [-Wstringop-truncation]
  18. 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
  19. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20. cc -O2 -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.96\" -DINIT_MAIN -c -o init_utmp.o utmp.c
  21. cc -O2 -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.96\" -c -o runlevellog.o runlevellog.c
  22. cc init.o init_utmp.o runlevellog.o -o init
  23. cc -O2 -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.96\" -c -o halt.o halt.c
  24. cc -O2 -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.96\" -c -o ifdown.o ifdown.c
  25. cc -O2 -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.96\" -c -o hddown.o hddown.c
  26. cc -O2 -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.96\" -c -o utmp.o utmp.c
  27. cc halt.o ifdown.o hddown.o utmp.o runlevellog.o -o halt
  28. cc -O2 -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.96\" -c -o shutdown.o shutdown.c
  29. cc -O2 -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.96\" -c -o dowall.o dowall.c
  30. dowall.c: Dans la fonction « wall »:
  31. dowall.c:204:35: attention: la sortie de la directive « %s » peut être tronquée en écrivant jusqu'à 64 octets dans une région dont la taille est comprise entre 24 et 55 [-Wformat-truncation=]
  32. 204 | "\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
  33. | ^~
  34. 205 | user, hostname, tty, date);
  35. | ~~~~~~~~
  36. Dans le fichier inclus depuis /usr/include/stdio.h:867,
  37. depuis dowall.c:33:
  38. /usr/include/bits/stdio2.h:67:10: note: « __builtin___snprintf_chk » écrit 35 octets ou plus (165 supposé) dans une destination dont la taille est 81
  39. 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  40. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  41. 68 | __bos (__s), __fmt, __va_arg_pack ());
  42. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. cc shutdown.o dowall.o utmp.o -o shutdown
  44. cc -O2 -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.96\" -c -o runlevel.o runlevel.c
  45. cc runlevel.o runlevellog.o -o runlevel
  46. cc -O2 -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.96\" killall5.c -o killall5
  47. Dans le fichier inclus depuis /usr/include/string.h:495,
  48. depuis killall5.c:52:
  49. Dans la fonction « strncpy »,
  50. mis en ligne depuis « check4nfs » à killall5.c:447:12:
  51. /usr/include/bits/string_fortified.h:106:10: attention: la sortie de « __builtin_strncpy » peut être tronquée en copiant 4096 octets depuis une chaîne de longueur 4096 [-Wstringop-truncation]
  52. 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
  53. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  54. cc -O2 -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.96\" -c -o fstab-decode.o fstab-decode.c
  55. cc fstab-decode.o -o fstab-decode
  56. cc -O2 -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.96\" -c -o logsave.o logsave.c
  57. cc logsave.o -o logsave
  58. cc -O2 -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.96\" -c -o sulogin.o sulogin.c
  59. cc -O2 -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.96\" -c -o consoles.o consoles.c
  60. cc sulogin.o consoles.o -lcrypt -o sulogin
  61. cc -O2 -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.96\" -c -o bootlogd.o bootlogd.c
  62. cc bootlogd.o -lutil -o bootlogd
  63. cc -O2 -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.96\" -c -o last.o last.c
  64. cc last.o -o last
  65. cc -O2 -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.96\" -c -o mesg.o mesg.c
  66. cc mesg.o -o mesg
  67. cc -O2 -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.96\" -c -o readbootlog.o readbootlog.c
  68. cc readbootlog.o -o readbootlog
  69. cc -O2 -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.96\" -c -o utmpdump.o utmpdump.c
  70. cc utmpdump.o -o utmpdump
  71. cc -O2 -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.96\" -c -o wall.o wall.c
  72. cc wall.o dowall.o -o wall
  73. make[1] : on quitte le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  74. make VERSION=2.96 -C src install
  75. make[1] : on entre dans le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  76. install -m 755 -d /bin/ /sbin/
  77. install -m 755 -d /usr/bin/
  78. for i in ; do \
  79. install -o root -g root -m 755 $i /bin/ ; \
  80. done
  81. for i in init halt shutdown runlevel killall5 fstab-decode logsave sulogin bootlogd; do \
  82. install -o root -g root -m 755 $i /sbin/ ; \
  83. done
  84. for i in last mesg readbootlog utmpdump wall; do \
  85. install -o root -g root -m 755 $i /usr/bin/ ; \
  86. done
  87. # install -m 755 -d /etc/
  88. # install -o root -g root -m 755 ../doc/initscript.sample /etc/
  89. ln -sf halt /sbin/reboot
  90. ln -sf halt /sbin/poweroff
  91. ln -sf init /sbin/telinit
  92. ln -sf /sbin/killall5 /bin/pidof
  93. if [ ! -f /usr/bin/lastb ]; then \
  94. ln -sf last /usr/bin/lastb; \
  95. fi
  96. install -m 755 -d /usr/include/
  97. install -o root -g root -m 644 initreq.h /usr/include/
  98. install -m 755 -d /usr/share/man/man1/
  99. install -m 755 -d /usr/share/man/man5/
  100. install -m 755 -d /usr/share/man/man8/
  101. for man in last.1 lastb.1 mesg.1 readbootlog.1 utmpdump.1 wall.1; do \
  102. install -o root -g root -m 644 ../man/$man /usr/share/man/man1/; \
  103. sed -i "1{ s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@; }" /usr/share/man/man1/$man ; \
  104. done
  105. for man in initscript.5 inittab.5 initctl.5; do \
  106. install -o root -g root -m 644 ../man/$man /usr/share/man/man5/; \
  107. sed -i "1{ s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@; }" /usr/share/man/man5/$man ; \
  108. done
  109. for man in halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 shutdown.8 telinit.8 fstab-decode.8 logsave.8 sulogin.8 bootlogd.8; do \
  110. install -o root -g root -m 644 ../man/$man /usr/share/man/man8/; \
  111. sed -i "1{ s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@; }" /usr/share/man/man8/$man ; \
  112. done
  113. #
  114. # This part is skipped on Debian systems, the
  115. # debian.preinst script takes care of it.
  116. make[1] : on quitte le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  117. make VERSION=2.96 -C src clean
  118. make[1] : on entre dans le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  119. rm -f *.o *.bak
  120. rm -f init halt shutdown runlevel killall5 fstab-decode logsave sulogin bootlogd last mesg readbootlog utmpdump wall
  121. make[1] : on quitte le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  122. make VERSION=2.96 -C src distclean
  123. make[1] : on entre dans le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  124. rm -f *.o *.bak
  125. rm -f init halt shutdown runlevel killall5 fstab-decode logsave sulogin bootlogd last mesg readbootlog utmpdump wall
  126. make[1] : on quitte le répertoire « /home/byjumperx4/git/sysvinit-2.96/src »
  127.  
  128. mar 31 mar - 19:25  ~/git/sysvinit-2.96 
  129. @byjumperx4 
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement