Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhcping.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-162240-10179/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f6b2caaa450>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhcping.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/dhcping-1.2-1.ocs23.src.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhcping.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-162240-10179/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f6b2caaa450>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhcping.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IcjO8f
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf dhcping-1.2
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dhcping-1.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dhcping-1.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (dhcping-aarch64.patch):'
Patch #0 (dhcping-aarch64.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64 --fuzz=0
patching file config.guess
patching file config.sub
Patch #1 (dhcping-configure-c99.patch):
+ echo 'Patch #1 (dhcping-configure-c99.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0
patching file configure
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qGvefu
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd dhcping-1.2
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2024-05-14 20:46:55.587000988 +0800
+++ ./configure	2024-05-14 20:46:55.606000901 +0800
@@ -2914,7 +2914,7 @@
 /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
 char $ac_func ();
-char (*f) ();
+__attribute__ ((used)) char (*f) ();
 
 int
 main ()
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for x86_64-opencloudos-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking build system type... x86_64-opencloudos-linux-gnu
checking host system type... x86_64-opencloudos-linux-gnu
checking target system type... x86_64-opencloudos-linux-gnu
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... fgrep: warning: fgrep is obsolescent; using grep -F
GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
gcc -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
checking for ANSI C header files... egrep: warning: egrep is obsolescent; using grep -E
yes
checking whether time.h and sys/time.h may both be included... yes
checking for netdb.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for netinet/in.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for stdlib.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for string.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for sys/socket.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for sys/time.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for unistd.h... egrep: warning: egrep is obsolescent; using grep -E
yes
checking for gethostbyname... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
configure: creating ./config.status
config.status: creating Makefile
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
gcc -DPACKAGE=\"dhcping\" -DVERSION=\"1.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1  -I. -I.     -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `test -f dhcping.c || echo './'`dhcping.c
dhcping.c: In function 'dhcp_packet':
dhcping.c:256:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  256 |     sprintf(msgbuf,"\1\1%c%c",hwcount,0);
      |             ^~~~~~
      |             |
      |             unsigned char *
In file included from /usr/include/features.h:503,
                 from /usr/include/sys/types.h:25,
                 from dhcping.c:31:
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:257:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  257 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:257:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  257 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:265:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  265 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:265:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  265 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:269:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  269 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:269:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  269 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:276:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  276 |     sprintf(msgbuf,"%c%c%c%c",ip[0],ip[1],ip[2],ip[3]);
      |             ^~~~~~
      |             |
      |             unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:277:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  277 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:277:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  277 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:281:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  281 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:281:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  281 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:285:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  285 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:285:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  285 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:288:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  288 |     sprintf(msgbuf,"%c%c%c%c",gw[0],gw[1],gw[2],gw[3]);
      |             ^~~~~~
      |             |
      |             unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:289:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  289 |     addpacket(pktbuf,msgbuf,4);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:289:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  289 |     addpacket(pktbuf,msgbuf,4);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:292:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  292 |     sprintf(msgbuf,"%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",
      |             ^~~~~~
      |             |
      |             unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:295:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  295 |     addpacket(pktbuf,msgbuf,16);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:295:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  295 |     addpacket(pktbuf,msgbuf,16);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:299:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  299 |     addpacket(pktbuf,msgbuf,64);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:299:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  299 |     addpacket(pktbuf,msgbuf,64);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:303:15: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  303 |     addpacket(pktbuf,msgbuf,128);
      |               ^~~~~~
      |               |
      |               unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:303:22: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  303 |     addpacket(pktbuf,msgbuf,128);
      |                      ^~~~~~
      |                      |
      |                      unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:308:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  308 |         sprintf(msgbuf,"%c%c%c%c",99,130,83,99);
      |                 ^~~~~~
      |                 |
      |                 unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:309:19: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  309 |         addpacket(pktbuf,msgbuf,4);
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:309:26: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  309 |         addpacket(pktbuf,msgbuf,4);
      |                          ^~~~~~
      |                          |
      |                          unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:312:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  312 |         sprintf(msgbuf,"%c%c%c",53,1,type);
      |                 ^~~~~~
      |                 |
      |                 unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:313:19: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  313 |         addpacket(pktbuf,msgbuf,3);
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:313:26: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  313 |         addpacket(pktbuf,msgbuf,3);
      |                          ^~~~~~
      |                          |
      |                          unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:319:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  319 |                 sprintf(msgbuf,"%c%c%c%c%c%c",50,4,ip50[0],ip50[1],ip50[2],ip50[3]);
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:320:27: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  320 |                 addpacket(pktbuf,msgbuf,6);
      |                           ^~~~~~
      |                           |
      |                           unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:320:34: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  320 |                 addpacket(pktbuf,msgbuf,6);
      |                                  ^~~~~~
      |                                  |
      |                                  unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:325:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  325 |                 sprintf(msgbuf,"%c%c%c%c%c%c",54,4,
      |                         ^~~~~~
      |                         |
      |                         unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:328:27: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  328 |                 addpacket(pktbuf,msgbuf,6);
      |                           ^~~~~~
      |                           |
      |                           unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:328:34: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  328 |                 addpacket(pktbuf,msgbuf,6);
      |                                  ^~~~~~
      |                                  |
      |                                  unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:339:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  339 |             sprintf(msgbuf,"%c%c%c",55,1,1);
      |                     ^~~~~~
      |                     |
      |                     unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:340:23: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  340 |             addpacket(pktbuf,msgbuf,3);
      |                       ^~~~~~
      |                       |
      |                       unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:340:30: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  340 |             addpacket(pktbuf,msgbuf,3);
      |                              ^~~~~~
      |                              |
      |                              unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
dhcping.c:344:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  344 |         sprintf(msgbuf,"%c",255);
      |                 ^~~~~~
      |                 |
      |                 unsigned char *
/usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
   28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
      | ^~~~~
dhcping.c:345:19: warning: pointer targets in passing argument 1 of 'addpacket' differ in signedness [-Wpointer-sign]
  345 |         addpacket(pktbuf,msgbuf,1);
      |                   ^~~~~~
      |                   |
      |                   unsigned char *
dhcping.c:48:22: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                ~~~~~~^~~~~~
dhcping.c:345:26: warning: pointer targets in passing argument 2 of 'addpacket' differ in signedness [-Wpointer-sign]
  345 |         addpacket(pktbuf,msgbuf,1);
      |                          ^~~~~~
      |                          |
      |                          unsigned char *
dhcping.c:48:35: note: expected 'char *' but argument is of type 'unsigned char *'
   48 | void addpacket(char *pktbuf,char *msgbuf,int size) {
      |                             ~~~~~~^~~~~~
gcc  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o dhcping  dhcping.o  
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PSbqcn
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64
+ cd dhcping-1.2
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/builddir/build/BUILD/dhcping-1.2'
/bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/bin
mkdir /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr
mkdir /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/bin
  /usr/bin/install -p dhcping /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/bin/dhcping
/bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/man/man8
mkdir /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share
mkdir /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/man
mkdir /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/man/man8
 /usr/bin/install -p -m 644 ./dhcping.8 /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/man/man8/dhcping.8
make[1]: Leaving directory '/builddir/build/BUILD/dhcping-1.2'
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.2-1.ocs23 --unique-debug-suffix -1.2-1.ocs23.x86_64 --unique-debug-src-base dhcping-1.2-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/dhcping-1.2
extracting debug info from /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/bin/dhcping
34 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: dhcping-1.2-1.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5LJYjK
+ umask 022
+ cd /builddir/build/BUILD
+ cd dhcping-1.2
+ DOCDIR=/builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/doc/dhcping
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/doc/dhcping
+ cp -pr CHANGES /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/doc/dhcping
+ cp -pr CONTACT /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/doc/dhcping
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BOkrn1
+ umask 022
+ cd /builddir/build/BUILD
+ cd dhcping-1.2
+ LICENSEDIR=/builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/licenses/dhcping
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/licenses/dhcping
+ cp -pr LICENSE /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64/usr/share/licenses/dhcping
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: dhcping = 1.2-1.ocs23 dhcping(x86-64) = 1.2-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH)
Processing files: dhcping-debugsource-1.2-1.ocs23.x86_64
Provides: dhcping-debugsource = 1.2-1.ocs23 dhcping-debugsource(x86-64) = 1.2-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: dhcping-debuginfo-1.2-1.ocs23.x86_64
Provides: debuginfo(build-id) = d890114aebb4acdd7bb67a8bcfe82a6bd8181804 dhcping-debuginfo = 1.2-1.ocs23 dhcping-debuginfo(x86-64) = 1.2-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: dhcping-debugsource(x86-64) = 1.2-1.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dhcping-1.2-1.ocs23.x86_64
Wrote: /builddir/build/RPMS/dhcping-debugsource-1.2-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/dhcping-1.2-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/dhcping-debuginfo-1.2-1.ocs23.x86_64.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0