Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jpcap.spec'], chrootPath='/var/lib/mock/f29-build-2776-788/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jpcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/jpcap-0.7-22.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jpcap.spec'], chrootPath='/var/lib/mock/f29-build-2776-788/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jpcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uWIIkg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jpcap-0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/jpcap-0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jpcap-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's:System.loadLibrary("jpcap"):System.load("/usr/lib64/jpcap/libjpcap.so"):g' src/java/jpcap/JpcapWriter.java + sed -i 's:System.loadLibrary("jpcap"):System.load("/usr/lib64/jpcap/libjpcap.so"):g' src/java/jpcap/JpcapCaptor.java + rm -rf lib/Jpcap.dll lib/jpcap.jar + dos2unix ChangeLog BUILDSTDERR: dos2unix: converting file ChangeLog to Unix format... + dos2unix README BUILDSTDERR: dos2unix: converting file README to Unix format... + dos2unix doc/javadoc/package-list BUILDSTDERR: dos2unix: converting file doc/javadoc/package-list to Unix format... + dos2unix doc/javadoc/stylesheet.css BUILDSTDERR: dos2unix: converting file doc/javadoc/stylesheet.css to Unix format... + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PD23DL + umask 022 + cd /builddir/build/BUILD + cd jpcap-0.7 + export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + set JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + mkdir bin + JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + ant jar Buildfile: /builddir/build/BUILD/jpcap-0.7/build.xml compile: [javac] /builddir/build/BUILD/jpcap-0.7/build.xml:29: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 16 source files to /builddir/build/BUILD/jpcap-0.7/bin [javac] Note: /builddir/build/BUILD/jpcap-0.7/src/java/jpcap/packet/IPPacket.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jar: [jar] Building jar: /builddir/build/BUILD/jpcap-0.7/lib/jpcap.jar BUILD SUCCESSFUL Total time: 4 minutes 17 seconds + cd src/c + make clean rm libjpcap.so BUILDSTDERR: rm: cannot remove 'libjpcap.so': No such file or directory BUILDSTDERR: make: [Makefile:56: clean] Error 1 (ignored) + make -j4 'CC=gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -shared -L. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux\ -I/usr/include\ JpcapCaptor.c JpcapSender.c JpcapWriter.c\ packet_arp.c packet_datalink.c packet_icmp.c packet_ip.c\ packet_ipv6.c packet_tcp.c packet_udp.c\ -o libjpcap.so -lpcap BUILDSTDERR: JpcapCaptor.c:64: warning: ignoring #pragma export on [-Wunknown-pragmas] BUILDSTDERR: #pragma export on BUILDSTDERR: BUILDSTDERR: JpcapCaptor.c:66: warning: ignoring #pragma export reset [-Wunknown-pragmas] BUILDSTDERR: #pragma export reset BUILDSTDERR: BUILDSTDERR: JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_getDeviceList': BUILDSTDERR: JpcapCaptor.c:286:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] BUILDSTDERR: close(sd); BUILDSTDERR: ^~~~~ BUILDSTDERR: pclose BUILDSTDERR: JpcapCaptor.c:288:65: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,mac,0,6,ifr.ifr_ifru.ifru_hwaddr.sa_data); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: JpcapCaptor.c:288:65: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: JpcapCaptor.c:190:9: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: u_char buf[6]; BUILDSTDERR: ^~~ BUILDSTDERR: JpcapCaptor.c:173:14: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: int i=0,j=0,k=0; BUILDSTDERR: ^ BUILDSTDERR: JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_processPacket': BUILDSTDERR: JpcapCaptor.c:449:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: pkt_cnt=pcap_dispatch(pcds[id],cnt,dispatcher_handler,(u_char *)id); BUILDSTDERR: ^ BUILDSTDERR: JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_loopPacket': BUILDSTDERR: JpcapCaptor.c:468:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: pkt_cnt=pcap_loop(pcds[id],cnt,dispatcher_handler,(u_char *)id); BUILDSTDERR: ^ BUILDSTDERR: JpcapCaptor.c: In function 'dispatcher_handler': BUILDSTDERR: JpcapCaptor.c:682:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: int ID=(int)id; BUILDSTDERR: ^ BUILDSTDERR: JpcapCaptor.c: In function 'get_packet': BUILDSTDERR: JpcapCaptor.c:894:51: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,dataArray,0,hlen,orig_data); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: JpcapCaptor.c:894:51: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: JpcapCaptor.c:900:60: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,dataArray,0,(jsize)clen,data); BUILDSTDERR: ^~~~ BUILDSTDERR: JpcapCaptor.c:900:60: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: JpcapCaptor.c:789:46: warning: 'tproto' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if((tproto==IPPROTO_TCP && clenGetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: length-IPv4HDRLEN,pointer); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: JpcapSender.c:309:27: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: JpcapSender.c:315:19: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: length-40,pointer); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: JpcapSender.c:315:19: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: JpcapSender.c:329:29: warning: pointer targets in passing argument 3 of 'set_arp' differ in signedness [-Wpointer-sign] BUILDSTDERR: length+=set_arp(env,packet,pointer); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: JpcapSender.c:53:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: int set_arp(JNIEnv *env,jobject packet,u_char *pointer); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: JpcapSender.c:332:16: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: length,pointer); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: JpcapSender.c:332:16: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: JpcapSender.c: In function 'Java_jpcap_JpcapSender_nativeCloseRawSocket': BUILDSTDERR: JpcapSender.c:403:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] BUILDSTDERR: close(soc_num); BUILDSTDERR: ^~~~~ BUILDSTDERR: pclose BUILDSTDERR: JpcapWriter.c:10: warning: ignoring #pragma export on [-Wunknown-pragmas] BUILDSTDERR: #pragma export on BUILDSTDERR: BUILDSTDERR: JpcapWriter.c:12: warning: ignoring #pragma export reset [-Wunknown-pragmas] BUILDSTDERR: #pragma export reset BUILDSTDERR: BUILDSTDERR: JpcapWriter.c: In function 'Java_jpcap_JpcapWriter_close': BUILDSTDERR: JpcapWriter.c:47:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] BUILDSTDERR: free(pcdd); BUILDSTDERR: ^~~~ BUILDSTDERR: JpcapWriter.c:47:3: warning: incompatible implicit declaration of built-in function 'free' BUILDSTDERR: JpcapWriter.c:47:3: note: include '' or provide a declaration of 'free' BUILDSTDERR: JpcapWriter.c:15:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: JpcapWriter.c:47:3: BUILDSTDERR: free(pcdd); BUILDSTDERR: ^~~~ BUILDSTDERR: JpcapWriter.c: In function 'Java_jpcap_JpcapWriter_writePacket': BUILDSTDERR: JpcapWriter.c:71:47: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,header,0,hlen,buf); BUILDSTDERR: ^~~ BUILDSTDERR: JpcapWriter.c:71:47: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: JpcapWriter.c:72:45: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,body,0,blen,(char *)(buf+hlen)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: JpcapWriter.c:72:45: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: JpcapWriter.c:74:31: warning: pointer targets in passing argument 3 of 'pcap_dump' differ in signedness [-Wpointer-sign] BUILDSTDERR: pcap_dump((u_char *)pdt,&hdr,buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from JpcapWriter.c:1: BUILDSTDERR: /usr/include/pcap/pcap.h:428:15: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: packet_arp.c: In function 'analyze_arp': BUILDSTDERR: packet_arp.c:35:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,sha,0,hl,(char *)(data+sizeof(struct arphdr))); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_arp.c:35:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_arp.c:37:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,spa,0,pl,(char *)(data+sizeof(struct arphdr)+hl)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_arp.c:37:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_arp.c:39:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,tha,0,hl,(char *)(data+sizeof(struct arphdr)+hl+pl)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_arp.c:39:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_arp.c:41:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,tpa,0,pl,(char *)(data+sizeof(struct arphdr)+hl+pl+hl)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_arp.c:41:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_arp.c: In function 'set_arp': BUILDSTDERR: packet_arp.c:69:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: 0,arp->arp_hln,arp->arp_sha); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: packet_arp.c:69:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: packet_arp.c:72:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: 0,arp->arp_pln,arp->arp_spa); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: packet_arp.c:72:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: packet_arp.c:75:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: 0,arp->arp_hln,arp->arp_tha); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: packet_arp.c:75:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: packet_arp.c:78:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: 0,arp->arp_pln,arp->arp_tpa); BUILDSTDERR: ~~~^~~~~~~~~ BUILDSTDERR: packet_arp.c:78:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} BUILDSTDERR: packet_datalink.c: In function 'set_ether': BUILDSTDERR: packet_datalink.c:59:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,src,0,6,(char *)ðer_hdr->ether_src); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_datalink.c:59:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_datalink.c:60:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,dst,0,6,(char *)ðer_hdr->ether_dest); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_datalink.c:60:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_icmp.c: In function 'analyze_icmp': BUILDSTDERR: packet_icmp.c:47:8: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (char *)&icmp_pkt->icmp_gwaddr); BUILDSTDERR: ^ BUILDSTDERR: packet_icmp.c:47:8: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: In file included from packet_icmp.c:16: BUILDSTDERR: packet_icmp.c:82:7: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] BUILDSTDERR: inet_ntoa(*(struct in_addr *)(icmp_pkt->icmp_data+8+(i<<3)))); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: Jpcap_sub.h:29:54: note: in definition of macro 'NewString' BUILDSTDERR: #define NewString(str) (*env)->NewStringUTF(env,str) BUILDSTDERR: ^~~ BUILDSTDERR: packet_icmp.c:81:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: jstring addr_str=NewString((const char *) BUILDSTDERR: ^ BUILDSTDERR: Jpcap_sub.h:29:54: note: in definition of macro 'NewString' BUILDSTDERR: #define NewString(str) (*env)->NewStringUTF(env,str) BUILDSTDERR: ^~~ BUILDSTDERR: packet_icmp.c:83:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: prefs[i]=(int)(icmp_pkt->icmp_data+8+(i<<3)+4); BUILDSTDERR: ^ BUILDSTDERR: packet_icmp.c: In function 'set_icmp': BUILDSTDERR: packet_icmp.c:136:48: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,data,0,length,(u_char *)icmp->icmp_data); BUILDSTDERR: ^ BUILDSTDERR: packet_icmp.c:136:48: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: packet_icmp.c:143:45: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,addr,0,4,(char *)&icmp->icmp_gwaddr); BUILDSTDERR: ^ BUILDSTDERR: packet_icmp.c:143:45: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_icmp.c:151:23: warning: pointer targets in passing argument 3 of 'set_ip' differ in signedness [-Wpointer-sign] BUILDSTDERR: set_ip(env,ippacket,(u_char *)&icmp->icmp_ip); BUILDSTDERR: ^ BUILDSTDERR: packet_icmp.c:19:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: void set_ip(JNIEnv *env,jobject packet,char *pointer); BUILDSTDERR: ^~~~~~ BUILDSTDERR: packet_icmp.c: In function 'analyze_icmp': BUILDSTDERR: packet_icmp.c:84:3: warning: 'addr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: (*env)->SetObjectArrayElement(env,addrArray,i,addr); BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ip.c: In function 'analyze_ip': BUILDSTDERR: packet_ip.c:39:47: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,src_addr,0,4,(char *)&ip_pkt->ip_src); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ip.c:39:47: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ip.c:40:47: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,dst_addr,0,4,(char *)&ip_pkt->ip_dst); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ip.c:40:47: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ip.c:67:70: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,dataArray,0,hdrlen-IPv4HDRLEN,data+IPv4HDRLEN); BUILDSTDERR: packet_ip.c:67:70: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: packet_ip.c: In function 'set_ip': BUILDSTDERR: packet_ip.c:97:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,src,0,4,(char *)&ip->ip_src); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ip.c:97:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ip.c:98:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,dst,0,4,(char *)&ip->ip_dst); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ip.c:98:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ipv6.c: In function 'analyze_ipv6': BUILDSTDERR: packet_ipv6.c:74:29: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (char *)&v6_pkt->ip6_src); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ipv6.c:74:29: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ipv6.c:76:29: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (char *)&v6_pkt->ip6_dst); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ipv6.c:76:29: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ipv6.c: In function 'set_ipv6': BUILDSTDERR: packet_ipv6.c:196:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,src,0,16,(char *)&v6_pkt->ip6_src); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ipv6.c:196:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_ipv6.c:197:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->GetByteArrayRegion(env,dst,0,16,(char *)&v6_pkt->ip6_dst); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_ipv6.c:197:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' BUILDSTDERR: packet_tcp.c: In function 'analyze_tcp': BUILDSTDERR: packet_tcp.c:55:69: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*env)->SetByteArrayRegion(env,dataArray,0,hdrlen-TCPHDRLEN,data+TCPHDRLEN); BUILDSTDERR: packet_tcp.c:55:69: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: packet_tcp.c: In function 'set_tcp': BUILDSTDERR: packet_tcp.c:101:9: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (u_char *)(pointer+TCPHDRLEN)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_tcp.c:101:9: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: packet_udp.c: In function 'set_udp': BUILDSTDERR: packet_udp.c:52:9: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] BUILDSTDERR: (u_char *)(pointer+UDPHDRLEN)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: packet_udp.c:52:9: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.33u6HN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 + cd jpcap-0.7 + rm -rf /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 + install -D src/c/libjpcap.so /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/lib64/jpcap/libjpcap.so + install -D lib/jpcap.jar /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/lib64/jpcap/jpcap.jar + mkdir -p /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/javadoc/jpcap + cp -rp doc/javadoc/ /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/javadoc/jpcap + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jpcap-0.7-22.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ksNTLr + umask 022 + cd /builddir/build/BUILD + cd jpcap-0.7 + DOCDIR=/builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/doc/jpcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/doc/jpcap + cp -pr README /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/doc/jpcap + cp -pr COPYING /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/doc/jpcap + cp -pr ChangeLog /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64/usr/share/doc/jpcap + exit 0 Provides: jpcap = 0.7-22.fc29 jpcap(riscv-64) = 0.7-22.fc29 libjpcap.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: jpcap-javadoc-0.7-22.fc29.riscv64 Provides: jpcap-javadoc = 0.7-22.fc29 jpcap-javadoc(riscv-64) = 0.7-22.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 Wrote: /builddir/build/RPMS/jpcap-0.7-22.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/jpcap-javadoc-0.7-22.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZNbQvW + umask 022 + cd /builddir/build/BUILD + cd jpcap-0.7 + rm -rf /builddir/build/BUILDROOT/jpcap-0.7-22.fc29.riscv64 + exit 0 Child return code was: 0