Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 808549 Details for
Bug 870910
net-voip/captagent-6.3.1-r1 - socket_pcap.c: error: incompatible integer to pointer conversion passing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-voip:captagent-6.3.1-r1:20220917-163207.log
net-voip:captagent-6.3.1-r1:20220917-163207.log (text/plain), 27.74 KB, created by
Toralf Förster
on 2022-09-17 17:34:17 UTC
(
hide
)
Description:
net-voip:captagent-6.3.1-r1:20220917-163207.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 17:34:17 UTC
Size:
27.74 KB
patch
obsolete
> * Package: net-voip/captagent-6.3.1-r1:0 > * Repository: gentoo > * Maintainer: jaco@uls.co.za proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux pcre ssl userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking captagent-6.3.1.tar.gz to /var/tmp/portage/net-voip/captagent-6.3.1-r1/work >>>> Source unpacked in /var/tmp/portage/net-voip/captagent-6.3.1-r1/work >>>> Preparing source in /var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1 ... > * Applying captagent-6.3.1-gcc10.patch ... > [ ok ] > * Applying captagent-6.3.1-r1-clang.patch ... > [ ok ] > * Applying captagent-6.3.1-configure.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/net-voip/captagent-6.3.1-r1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: captagent-6.3.1/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1 ... > * econf: updating captagent-6.3.1/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating captagent-6.3.1/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/captagent-6.3.1-r1 --htmldir=/usr/share/doc/captagent-6.3.1-r1/html --with-sysroot=/ --libdir=/usr/lib64 --enable-compression --disable-epan --enable-ipv6 --disable-mysql --enable-pcre --disable-redis --enable-tls --enable-ssl >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether UID '250' is supported by ustar format... yes >checking whether GID '250' is supported by ustar format... yes >checking how to create a ustar tar archive... gnutar >checking whether make supports nested variables... (cached) yes >checking whether to use compression... >checking whether to use ssl... >checking whether to use mysql... > >checking whether to use pcre... >checking whether to use redis... > >checking whether to use TLS... > >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking whether make supports the include directive... yes (GNU style) >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking dependency style of clang... none >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for vfork.h... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking for x86_64-pc-linux-gnu-gcc... (cached) clang >checking whether the compiler supports GNU C... (cached) yes >checking whether clang accepts -g... (cached) yes >checking for clang option to enable C11 features... (cached) none needed >checking whether clang understands -c and -o together... (cached) yes >checking dependency style of clang... (cached) none >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking for flex... flex >checking for lex output file root... lex.yy >checking for lex library... none needed >checking for library containing yywrap... -lfl >checking whether yytext is a pointer... yes >checking for bison... bison -y >checking for pthread_create in -lpthread... yes >checking for dlopen in -ldl... yes >checking for XML_ParserCreate in -lexpat... yes >checking for pcap_open_live in -lpcap... yes >checking for json_object_get in -ljson... no >checking for json_object_get in -ljson-c... yes >configure: checking for LiBUV and Header files... >checking for uv.h... yes >checking for uv_now in -luv... yes >checking for pcap.h... yes >checking for json-c/json.h... yes >checking for json/json.h... no >checking for json.h... no >checking for int32_t... yes >checking for int8_t... yes >checking for pid_t... yes >checking for uint16_t... yes >checking for uint32_t... yes >checking for uint8_t... yes >checking for fork... yes >checking for vfork... yes >checking for working fork... yes >checking for working vfork... (cached) yes >checking for gettimeofday... yes >checking for memset... yes >checking for select... yes >checking for socket... yes >checking for strdup... yes >checking for strerror... yes >checking for strndup... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating captagent.spec >config.status: creating include/Makefile >config.status: creating src/Makefile >config.status: creating conf/captagent.xml >config.status: creating pkg/debian/captagent.init >config.status: creating src/modules/protocol/sip/Makefile >config.status: creating src/modules/protocol/sip/captureplan/Makefile >config.status: creating src/modules/protocol/ss7/Makefile >config.status: creating src/modules/protocol/tls/Makefile >config.status: creating src/modules/protocol/tls/captureplan/Makefile >config.status: creating src/modules/protocol/rtcp/Makefile >config.status: creating src/modules/protocol/rtcp/captureplan/Makefile >config.status: creating src/modules/protocol/rtcpxr/Makefile >config.status: creating src/modules/protocol/rtcpxr/captureplan/Makefile >config.status: creating src/modules/protocol/diameter/Makefile >config.status: creating src/modules/protocol/diameter/captureplan/Makefile >config.status: creating src/modules/socket/pcap/Makefile >config.status: creating src/modules/socket/collector/Makefile >config.status: creating src/modules/socket/collector/captureplan/Makefile >config.status: creating src/modules/socket/tzsp/Makefile >config.status: creating src/modules/socket/tzsp/captureplan/Makefile >config.status: creating src/modules/transport/hep/Makefile >config.status: creating src/modules/transport/json/Makefile >config.status: creating src/modules/interface/http/Makefile >config.status: creating src/modules/database/redis/Makefile >config.status: creating src/modules/database/hash/Makefile >config.status: creating src/config.h >config.status: executing depfiles commands >config.status: executing libtool commands > >captagent 6.3.1 > >Build directory............. : >Installation prefix......... : /usr >HEP Compression............. : yes >IPv6 support.................: yes >HEP SSL/TLS................. : yes >Flex........................ : flex >Bison....................... : bison -y > >Build with REDIS............ : no >Build with MySQL............ : no >Build with PCRE............. : yes >Build with LibUV............ : yes >Build with EPAN............. : no >Build with TLS.............. : yes > >>>> Source configured. >'/var/tmp/portage/net-voip/captagent-6.3.1-r1/temp/clang14.log' -> '/var/tmp/clang/net-voip/captagent-6.3.1-r1/clang14.log' >'/var/tmp/portage/net-voip/captagent-6.3.1-r1/temp/clang15.log' -> '/var/tmp/clang/net-voip/captagent-6.3.1-r1/clang15.log' >>>> Compiling source in /var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1 ... >make -j4 >Making all in src >make[1]: Entering directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src' >/bin/sh ../ylwrap capplan.tab.y y.tab.c capplan.tab.c y.tab.h `echo capplan.tab.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output capplan.tab.output -- bison -y -d >/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/capplan.tab.y: warning: 1 shift/reduce conflict [8;id=da89796e0005e8e206628f1200000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] >/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/capplan.tab.y: warning: 2 reduce/reduce conflicts [8;id=da89796e0005e8e206628f1200000001;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-rr\-Wconflicts-rr8;;\] >/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/capplan.tab.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples >updating capplan.tab.h >make all-recursive >make[2]: Entering directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src' >Making all in . >make[3]: Entering directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src' >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o captagent.o captagent.c >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o conf_function.o conf_function.c >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o log.o log.c >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o md5.o md5.c >clang-15clang-15clang-15: : : warning: warning: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] >argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] > >clang-15: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o modules.o modules.c >clang-15: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o xmlread.o xmlread.c >/bin/sh ../ylwrap capplan.l lex.yy.c capplan.c -- flex -i >clang-15: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o capplan.tab.o capplan.tab.c >clang -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -I../include -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o capplan.o capplan.c >clang-15: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] >clang-15: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument] >capplan.tab.y:151:84: warning: cast to 'void *' from smaller integer type 'int' > [-Wint-to-void-pointer-cast] > ...NO_OP, NUMBER_ST, NUMBER_O, (void*)(yyvsp[0].intval) ); } > ^~~~~~~~~~~~~~~~~~~~~~~~ >capplan.tab.y:193:135: warning: cast to 'void *' from smaller integer type 'int' > [-Wint-to-void-pointer-cast] > ...STRING_ST, NUMBER_ST, (yyvsp[-3].strval), (void*)(yyvsp[-1].intval))... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >2 warnings generated. >/bin/sh ../libtool --tag=CC --mode=link clang -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o captagent captagent.o conf_function.o log.o md5.o modules.o xmlread.o capplan.o capplan.tab.o -lfl -lpcap -lpcap -lexpat -ldl -lpthread >libtool: link: clang -g3 -fPIC -rdynamic -I../include -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o captagent captagent.o conf_function.o log.o md5.o modules.o xmlread.o capplan.o capplan.tab.o -Wl,--as-needed -lfl -lpcap -lexpat -ldl -lpthread >make[3]: Leaving directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src' >Making all in modules/socket/pcap >make[3]: Entering directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/modules/socket/pcap' >Making all in . >make[4]: Entering directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/modules/socket/pcap' >/bin/sh ../../../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o socket_pcap_la-socket_pcap.lo `test -f 'socket_pcap.c' || echo './'`socket_pcap.c >/bin/sh ../../../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o socket_pcap_la-ipreasm.lo `test -f 'ipreasm.c' || echo './'`ipreasm.c >/bin/sh ../../../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o socket_pcap_la-localapi.lo `test -f 'localapi.c' || echo './'`localapi.c >/bin/sh ../../../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o socket_pcap_la-tcpreasm.lo `test -f 'tcpreasm.c' || echo './'`tcpreasm.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c localapi.c -fPIC -DPIC -o .libs/socket_pcap_la-localapi.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c tcpreasm.c -fPIC -DPIC -o .libs/socket_pcap_la-tcpreasm.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c socket_pcap.c -fPIC -DPIC -o .libs/socket_pcap_la-socket_pcap.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c ipreasm.c -fPIC -DPIC -o .libs/socket_pcap_la-ipreasm.o >tcpreasm.c:198:1: warning: unused function 'tcpreasm_ipv6_hash' > [-Wunused-function] >tcpreasm_ipv6_hash (const struct tcpreasm_id_ipv6 *id) >^ >tcpreasm.c:550:1: warning: unused function 'frag_from_ipv6' [-Wunused-function] >frag_from_ipv6 (unsigned char *packet, uint32_t *ip_id, bool *last_frag) >^ >socket_pcap.c:119:29: warning: suggest braces around initialization of subobject > [-Wmissing-braces] >char ipcheck_in[10][80] = {0,0}; > ^~~ > { } >socket_pcap.c:120:27: warning: suggest braces around initialization of subobject > [-Wmissing-braces] >char ipcheck_out[10][80]={0,0}; > ^~~ > { } >socket_pcap.c:309:15: warning: cast to smaller integer type 'uint16_t' > (aka 'unsigned short') from 'unsigned char *' [-Wpointer-to-int-cast] > if (ntohs((uint16_t)*(ðaddr)) == VLAN) { > ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/netinet/in.h:410:33: note: expanded from macro 'ntohs' ># define ntohs(x) __bswap_16 (x) > ^ >socket_pcap.c:310:19: warning: cast to smaller integer type 'uint16_t' > (aka 'unsigned short') from 'unsigned char *' [-Wpointer-to-int-cast] > if (ntohs((uint16_t)*(&mplsaddr)) == MPLS_UNI) { > ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/netinet/in.h:410:33: note: expanded from macro 'ntohs' ># define ntohs(x) __bswap_16 (x) > ^ >socket_pcap.c:318:19: warning: cast to smaller integer type 'uint16_t' > (aka 'unsigned short') from 'unsigned char *' [-Wpointer-to-int-cast] > else if(ntohs((uint16_t)*(&cooked)) == COOKED_INT) > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/netinet/in.h:410:33: note: expanded from macro 'ntohs' ># define ntohs(x) __bswap_16 (x) > ^ >socket_pcap.c:475:29: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > if((strncmp(data, "GET", 3) == 0) || (strncmp(data, "HTT... > ^~~~ >/usr/include/string.h:159:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >socket_pcap.c:475:63: warning: passing 'unsigned char *' to parameter of type > 'const char *' converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > ...if((strncmp(data, "GET", 3) == 0) || (strncmp(data, "HTTP", 4) == 0)) { > ^~~~ >/usr/include/string.h:159:33: note: passing argument to parameter '__s1' here >extern int strncmp (const char *__s1, const char *__s2, size_t __n) > ^ >socket_pcap.c:498:38: warning: passing 'uint8_t *' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > websocket_decode(decode, p_websock, skip, mask_key); > ^~~~~~ >socket_pcap.c:183:36: note: passing argument to parameter 'dst' here >static void websocket_decode(char *dst, const char *src, size_t len, con... > ^ >socket_pcap.c:498:46: warning: passing 'uint8_t *' (aka 'unsigned char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > websocket_decode(decode, p_websock, skip, mask_key); > ^~~~~~~~~ >socket_pcap.c:183:53: note: passing argument to parameter 'src' here >static void websocket_decode(char *dst, const char *src, size_t len, con... > ^ >socket_pcap.c:498:63: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > websocket_decode(decode, p_websock, skip, mask_key); > ^~~~~~~~ >socket_pcap.c:183:81: note: passing argument to parameter 'mask' here > ...*dst, const char *src, size_t len, const char mask[4]) > ^ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c localapi.c -o socket_pcap_la-localapi.o >/dev/null 2>&1 >socket_pcap.c:201:15: warning: unused variable 'type' [-Wunused-variable] > u_int16_t type = 0; > ^ >socket_pcap.c:202:13: warning: variable 'vlan' set but not used > [-Wunused-but-set-variable] > uint8_t vlan = 0; > ^ >socket_pcap.c:193:9: warning: unused variable 'vlan_count' [-Wunused-variable] > int vlan_count = 0; > ^ >socket_pcap.c:1313:32: warning: 'pcap_lookupdev' is deprecated: use > 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] > profile_socket[i].device = pcap_lookupde... > ^ >/usr/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly > marked deprecated here >PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the firs... >^ >/usr/include/pcap/funcattrs.h:293:53: note: expanded from macro > 'PCAP_DEPRECATED' > #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) > ^ >socket_pcap.c:1363:54: warning: incompatible function pointer types passing > 'void (void *)' to parameter of type 'void *(*)(void *)' > [-Wincompatible-function-pointer-types] > if(stats_enable) pthread_create(&stat_thread, NULL, stat_collect, i); > ^~~~~~~~~~~~ >/usr/include/pthread.h:204:15: note: passing argument to parameter > '__start_routine' here > void *(*__start_routine) (void *), > ^ >socket_pcap.c:1363:68: error: incompatible integer to pointer conversion passing > 'unsigned int' to parameter of type 'void *' [-Wint-conversion] > if(stats_enable) pthread_create(&stat_thread, NULL, stat_collect, i); > ^ >/usr/include/pthread.h:205:24: note: passing argument to parameter '__arg' here > void *__restrict __arg) __THROWNL __nonnull ((1, 3)); > ^ >15 warnings and 1 error generated. >make[4]: *** [Makefile:556: socket_pcap_la-socket_pcap.lo] Error 1 >make[4]: *** Waiting for unfinished jobs.... >2 warnings generated. >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c tcpreasm.c -o socket_pcap_la-tcpreasm.o >/dev/null 2>&1 >libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../include -Wall -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c ipreasm.c -o socket_pcap_la-ipreasm.o >/dev/null 2>&1 >make[4]: Leaving directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/modules/socket/pcap' >make[3]: *** [Makefile:620: all-recursive] Error 1 >make[3]: Leaving directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src/modules/socket/pcap' >make[2]: *** [Makefile:734: all-recursive] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src' >make[1]: *** [Makefile:521: all] Error 2 >make[1]: Leaving directory '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1/src' >make: *** [Makefile:465: all-recursive] Error 1 > * ERROR: net-voip/captagent-6.3.1-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-voip/captagent-6.3.1-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-voip/captagent-6.3.1-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-voip:captagent-6.3.1-r1:20220917-163207.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-voip/captagent-6.3.1-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-voip/captagent-6.3.1-r1/temp/environment'. > * Working directory: '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1' > * S: '/var/tmp/portage/net-voip/captagent-6.3.1-r1/work/captagent-6.3.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 870910
:
808531
|
808534
|
808537
|
808540
|
808543
|
808546
| 808549 |
808552