Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jpcap.spec'], chrootPath='/var/lib/mock/f33-build-145655-42965/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/jpcap-0.7-26.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jpcap.spec'], chrootPath='/var/lib/mock/f33-build-145655-42965/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.isvoOB + 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 dos2unix: converting file ChangeLog to Unix format... + dos2unix README dos2unix: converting file README to Unix format... + dos2unix doc/javadoc/package-list dos2unix: converting file doc/javadoc/package-list to Unix format... + dos2unix doc/javadoc/stylesheet.css dos2unix: converting file doc/javadoc/stylesheet.css to Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.40xX5z + 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: 2 minutes 16 seconds + cd src/c + make clean rm libjpcap.so rm: cannot remove 'libjpcap.so': No such file or directory 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 JpcapCaptor.c:64: warning: ignoring '#pragma export on' [-Wunknown-pragmas] 64 | #pragma export on | JpcapCaptor.c:66: warning: ignoring '#pragma export reset' [-Wunknown-pragmas] 66 | #pragma export reset | JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_getDeviceList': JpcapCaptor.c:286:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 286 | close(sd); | ^~~~~ | pclose JpcapCaptor.c:288:65: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 288 | (*env)->SetByteArrayRegion(env,mac,0,6,ifr.ifr_ifru.ifru_hwaddr.sa_data); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | char * JpcapCaptor.c:288:65: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' JpcapCaptor.c:190:9: warning: unused variable 'buf' [-Wunused-variable] 190 | u_char buf[6]; | ^~~ JpcapCaptor.c:173:14: warning: unused variable 'k' [-Wunused-variable] 173 | int i=0,j=0,k=0; | ^ JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_processPacket': JpcapCaptor.c:449:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 449 | pkt_cnt=pcap_dispatch(pcds[id],cnt,dispatcher_handler,(u_char *)id); | ^ JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_loopPacket': JpcapCaptor.c:468:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 468 | pkt_cnt=pcap_loop(pcds[id],cnt,dispatcher_handler,(u_char *)id); | ^ JpcapCaptor.c: In function 'dispatcher_handler': JpcapCaptor.c:682:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 682 | int ID=(int)id; | ^ JpcapCaptor.c: In function 'get_packet': JpcapCaptor.c:894:51: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 894 | (*env)->SetByteArrayRegion(env,dataArray,0,hlen,orig_data); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} JpcapCaptor.c:894:51: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} JpcapCaptor.c:900:60: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 900 | (*env)->SetByteArrayRegion(env,dataArray,0,(jsize)clen,data); | ^~~~ | | | u_char * {aka unsigned char *} JpcapCaptor.c:900:60: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} In file included from /usr/include/string.h:495, from JpcapCaptor.c:33: In function 'strncpy', inlined from 'Java_jpcap_JpcapCaptor_getDeviceList' at JpcapCaptor.c:281:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JpcapCaptor.c: In function 'get_packet': JpcapCaptor.c:789:5: warning: 'tproto' may be used uninitialized in this function [-Wmaybe-uninitialized] 789 | if((tproto==IPPROTO_TCP && clenGetByteArrayRegion' differ in signedness [-Wpointer-sign] 309 | length-IPv4HDRLEN,pointer); | ^~~~~~~ | | | char * JpcapSender.c:309:27: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' JpcapSender.c:315:19: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 315 | length-40,pointer); | ^~~~~~~ | | | char * JpcapSender.c:315:19: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' JpcapSender.c:329:29: warning: pointer targets in passing argument 3 of 'set_arp' differ in signedness [-Wpointer-sign] 329 | length+=set_arp(env,packet,pointer); | ^~~~~~~ | | | char * JpcapSender.c:53:48: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 53 | int set_arp(JNIEnv *env,jobject packet,u_char *pointer); | ~~~~~~~~^~~~~~~ JpcapSender.c:332:16: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 332 | length,pointer); | ^~~~~~~ | | | char * JpcapSender.c:332:16: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' JpcapSender.c: In function 'Java_jpcap_JpcapSender_nativeCloseRawSocket': JpcapSender.c:403:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 403 | close(soc_num); | ^~~~~ | pclose JpcapWriter.c:10: warning: ignoring '#pragma export on' [-Wunknown-pragmas] 10 | #pragma export on | JpcapWriter.c:12: warning: ignoring '#pragma export reset' [-Wunknown-pragmas] 12 | #pragma export reset | JpcapWriter.c: In function 'Java_jpcap_JpcapWriter_close': JpcapWriter.c:47:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 47 | free(pcdd); | ^~~~ JpcapWriter.c:47:3: warning: incompatible implicit declaration of built-in function 'free' JpcapWriter.c:15:1: note: include '' or provide a declaration of 'free' 14 | #include"Jpcap_sub.h" +++ |+#include 15 | JpcapWriter.c: In function 'Java_jpcap_JpcapWriter_writePacket': JpcapWriter.c:71:47: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 71 | (*env)->GetByteArrayRegion(env,header,0,hlen,buf); | ^~~ | | | char * JpcapWriter.c:71:47: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' JpcapWriter.c:72:45: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 72 | (*env)->GetByteArrayRegion(env,body,0,blen,(char *)(buf+hlen)); | ^~~~~~~~~~~~~~~~~~ | | | char * JpcapWriter.c:72:45: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' JpcapWriter.c:74:31: warning: pointer targets in passing argument 3 of 'pcap_dump' differ in signedness [-Wpointer-sign] 74 | pcap_dump((u_char *)pdt,&hdr,buf); | ^~~ | | | char * In file included from /usr/include/pcap.h:43, from JpcapWriter.c:1: /usr/include/pcap/pcap.h:517:63: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' 517 | PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); | ^~~~~~~~~~~~~~ packet_arp.c: In function 'analyze_arp': packet_arp.c:35:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 35 | (*env)->SetByteArrayRegion(env,sha,0,hl,(char *)(data+sizeof(struct arphdr))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_arp.c:35:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_arp.c:37:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 37 | (*env)->SetByteArrayRegion(env,spa,0,pl,(char *)(data+sizeof(struct arphdr)+hl)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_arp.c:37:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_arp.c:39:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 39 | (*env)->SetByteArrayRegion(env,tha,0,hl,(char *)(data+sizeof(struct arphdr)+hl+pl)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_arp.c:39:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_arp.c:41:43: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 41 | (*env)->SetByteArrayRegion(env,tpa,0,pl,(char *)(data+sizeof(struct arphdr)+hl+pl+hl)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_arp.c:41:43: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_arp.c: In function 'set_arp': packet_arp.c:69:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 69 | 0,arp->arp_hln,arp->arp_sha); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} packet_arp.c:69:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} packet_arp.c:72:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 72 | 0,arp->arp_pln,arp->arp_spa); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} packet_arp.c:72:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} packet_arp.c:75:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 75 | 0,arp->arp_hln,arp->arp_tha); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} packet_arp.c:75:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} packet_arp.c:78:22: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 78 | 0,arp->arp_pln,arp->arp_tpa); | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} packet_arp.c:78:22: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'uint8_t *' {aka 'unsigned char *'} packet_datalink.c: In function 'set_ether': packet_datalink.c:59:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 59 | (*env)->GetByteArrayRegion(env,src,0,6,(char *)ðer_hdr->ether_src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_datalink.c:59:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_datalink.c:60:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 60 | (*env)->GetByteArrayRegion(env,dst,0,6,(char *)ðer_hdr->ether_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_datalink.c:60:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_icmp.c: In function 'analyze_icmp': packet_icmp.c:47:8: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 47 | (char *)&icmp_pkt->icmp_gwaddr); | ^ | | | char * packet_icmp.c:47:8: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_icmp.c:83:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 83 | prefs[i]=(int)(icmp_pkt->icmp_data+8+(i<<3)+4); | ^ packet_icmp.c: In function 'set_icmp': packet_icmp.c:136:48: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 136 | (*env)->GetByteArrayRegion(env,data,0,length,(u_char *)icmp->icmp_data); | ^ | | | u_char * {aka unsigned char *} packet_icmp.c:136:48: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} packet_icmp.c:143:45: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 143 | (*env)->GetByteArrayRegion(env,addr,0,4,(char *)&icmp->icmp_gwaddr); | ^ | | | char * packet_icmp.c:143:45: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_icmp.c:151:23: warning: pointer targets in passing argument 3 of 'set_ip' differ in signedness [-Wpointer-sign] 151 | set_ip(env,ippacket,(u_char *)&icmp->icmp_ip); | ^ | | | u_char * {aka unsigned char *} packet_icmp.c:19:46: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 19 | void set_ip(JNIEnv *env,jobject packet,char *pointer); | ~~~~~~^~~~~~~ packet_icmp.c: In function 'analyze_icmp': packet_icmp.c:84:3: warning: 'addr' may be used uninitialized in this function [-Wmaybe-uninitialized] 84 | (*env)->SetObjectArrayElement(env,addrArray,i,addr); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet_ip.c: In function 'analyze_ip': packet_ip.c:39:47: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 39 | (*env)->SetByteArrayRegion(env,src_addr,0,4,(char *)&ip_pkt->ip_src); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_ip.c:39:47: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_ip.c:40:47: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 40 | (*env)->SetByteArrayRegion(env,dst_addr,0,4,(char *)&ip_pkt->ip_dst); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_ip.c:40:47: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_ip.c:67:70: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 67 | (*env)->SetByteArrayRegion(env,dataArray,0,hdrlen-IPv4HDRLEN,data+IPv4HDRLEN); packet_ip.c:67:70: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} packet_ip.c: In function 'set_ip': packet_ip.c:97:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 97 | (*env)->GetByteArrayRegion(env,src,0,4,(char *)&ip->ip_src); | ^~~~~~~~~~~~~~~~~~~ | | | char * packet_ip.c:97:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_ip.c:98:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 98 | (*env)->GetByteArrayRegion(env,dst,0,4,(char *)&ip->ip_dst); | ^~~~~~~~~~~~~~~~~~~ | | | char * packet_ip.c:98:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_ipv6.c: In function 'analyze_ipv6': packet_ipv6.c:74:29: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 74 | (char *)&v6_pkt->ip6_src); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_ipv6.c:74:29: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_ipv6.c:76:29: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 76 | (char *)&v6_pkt->ip6_dst); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_ipv6.c:76:29: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'char *' packet_ipv6.c: In function 'set_ipv6': packet_ipv6.c:196:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 196 | (*env)->GetByteArrayRegion(env,src,0,16,(char *)&v6_pkt->ip6_src); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_ipv6.c:196:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_ipv6.c:197:42: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 197 | (*env)->GetByteArrayRegion(env,dst,0,16,(char *)&v6_pkt->ip6_dst); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * packet_ipv6.c:197:42: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'char *' packet_tcp.c: In function 'analyze_tcp': packet_tcp.c:55:69: warning: pointer targets in passing argument 5 of '(*env)->SetByteArrayRegion' differ in signedness [-Wpointer-sign] 55 | (*env)->SetByteArrayRegion(env,dataArray,0,hdrlen-TCPHDRLEN,data+TCPHDRLEN); packet_tcp.c:55:69: note: expected 'const jbyte *' {aka 'const signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} packet_tcp.c: In function 'set_tcp': packet_tcp.c:101:9: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 101 | (u_char *)(pointer+TCPHDRLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} packet_tcp.c:101:9: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} packet_udp.c: In function 'set_udp': packet_udp.c:52:9: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness [-Wpointer-sign] 52 | (u_char *)(pointer+UDPHDRLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} packet_udp.c:52:9: note: expected 'jbyte *' {aka 'signed char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JethZC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 + cd jpcap-0.7 + rm -rf /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 + install -D src/c/libjpcap.so /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/lib64/jpcap/libjpcap.so + install -D lib/jpcap.jar /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/lib64/jpcap/jpcap.jar + mkdir -p /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/javadoc/jpcap + cp -rp doc/javadoc/ /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/javadoc/jpcap + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7-26.fc33 --unique-debug-suffix -0.7-26.fc33.riscv64 --unique-debug-src-base jpcap-0.7-26.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jpcap-0.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/lib64/jpcap/libjpcap.so extracting debug info from /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/lib64/jpcap/libjpcap.so original debug info size: 280kB, size after compression: 168kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 135 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jpcap-0.7-26.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9d22aA + umask 022 + cd /builddir/build/BUILD + cd jpcap-0.7 + DOCDIR=/builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/doc/jpcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/doc/jpcap + cp -pr README /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/doc/jpcap + cp -pr COPYING /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/doc/jpcap + cp -pr ChangeLog /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64/usr/share/doc/jpcap + RPM_EC=0 ++ jobs -p + exit 0 Provides: jpcap = 0.7-26.fc33 jpcap(riscv-64) = 0.7-26.fc33 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-26.fc33.riscv64 Provides: jpcap-javadoc = 0.7-26.fc33 jpcap-javadoc(riscv-64) = 0.7-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jpcap-debugsource-0.7-26.fc33.riscv64 Provides: jpcap-debugsource = 0.7-26.fc33 jpcap-debugsource(riscv-64) = 0.7-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jpcap-debuginfo-0.7-26.fc33.riscv64 Provides: debuginfo(build-id) = 5099428dc86b46f426fc5c56008507f540b8400d jpcap-debuginfo = 0.7-26.fc33 jpcap-debuginfo(riscv-64) = 0.7-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jpcap-debugsource(riscv-64) = 0.7-26.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 Wrote: /builddir/build/RPMS/jpcap-0.7-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/jpcap-debugsource-0.7-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/jpcap-debuginfo-0.7-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/jpcap-javadoc-0.7-26.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AyNPGC + umask 022 + cd /builddir/build/BUILD + cd jpcap-0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jpcap-0.7-26.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0