Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 830943 Details for
Bug 880925
net-analyzer/yersinia-0.8.2 - vtp.c: error: incompatible pointer to integer conversion passing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:yersinia-0.8.2:20221111-105202.log
net-analyzer:yersinia-0.8.2:20221111-105202.log (text/plain), 16.27 KB, created by
Toralf Förster
on 2022-11-11 12:05:47 UTC
(
hide
)
Description:
net-analyzer:yersinia-0.8.2:20221111-105202.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-11 12:05:47 UTC
Size:
16.27 KB
patch
obsolete
> * Package: net-analyzer/yersinia-0.8.2:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ncurses userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking yersinia-0.8.2.tar.gz to /var/tmp/portage/net-analyzer/yersinia-0.8.2/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/yersinia-0.8.2/work >>>> Preparing source in /var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2 ... > * Applying yersinia-0.7.1-no-ncurses.patch ... > [ ok ] > * Applying yersinia-0.7.3-tinfo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2' ... > * Running 'aclocal' ... > [ ok ] > * This package has a configure.in file which has long been deprecated. Please > * update it to use configure.ac instead as newer versions of autotools will die > * when it finds this file. See https://bugs.gentoo.org/426262 for details. > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: yersinia-0.8.2/ >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2 ... > * econf: updating yersinia-0.8.2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating yersinia-0.8.2/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/yersinia-0.8.2 --htmldir=/usr/share/doc/yersinia-0.8.2/html --libdir=/usr/lib64 --enable-admin --with-pcap-includes=/usr/include --with-ncurses --disable-gtk >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >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 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 whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >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 sys/time.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for makedepend... /usr/bin/makedepend >checking if unaligned accesses fail... yes >checking for main in -lsocket... no >checking for main in -lresolv... yes >checking for main in -lnsl... yes >checking for main in -lrt... yes >checking for a complete set of pcap headers... found /usr/include >checking for pcap_lib_version in -lpcap... yes >checking for pcap_dump_flush in -lpcap... yes >checking for BPF device sending support... checking for a complete set of libnet headers... found /usr/include >checking for libnet_build_stp_conf in -lnet... yes >checking if libnet is at least version 1.1.2... yes >checking for sys/sockio.h... no >checking for sys/ioctl.h... yes >checking for net/if.h... yes >checking for bstring.h... no >checking for sys/time.h... (cached) yes >checking for sys/param.h... yes >checking for netinet/in_systm.h... yes >checking for inttypes.h... (cached) yes >checking for netinet/in_system.h... no >checking for sys/wait.h... yes >checking whether byte ordering is bigendian... no >checking if struct sockaddr has sa_len field... no >checking for memcpy... yes >checking for memset... yes >checking for pthread_setconcurrency... yes >checking for strerror... yes >checking for strtok_r... yes >checking for rand_r... yes >checking for calloc_r... no >checking for malloc_r... no >checking for free_r... no >checking for ctime_r... yes >checking for nanosleep... yes >checking for strerror_r... yes >checking if strerror_r is on glibc version >= 2.0... no >checking for semaphore.h... yes >checking for sched.h... yes >checking for sys/sched.h... no >checking for pthread.h... yes >checking for pthread_create in -lpthread... yes >checking for pthreads support... ok >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for ncurses... yes >checking how to run the C preprocessor... clang -E >checking for panel.h... yes >checking for use_default_colors in -lncurses... yes >checking for resize_term in -lncurses... yes >checking for wresize in -lncurses... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating src/config.h >config.status: executing depfiles commands > > Yersinia, our beloved one, has been configured with the following options. > Remote admin : yes > Use ncurses : true > Use gtk : no > >>>> Source configured. >'/var/tmp/portage/net-analyzer/yersinia-0.8.2/temp/clang16-errors.log' -> '/var/tmp/clang/net-analyzer/yersinia-0.8.2/clang16-errors.log' >'/var/tmp/portage/net-analyzer/yersinia-0.8.2/temp/clang16-safe.log' -> '/var/tmp/clang/net-analyzer/yersinia-0.8.2/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2 ... >make -j4 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon' >Making all in src >make[1]: Entering directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2/src' >make all-am >make[2]: Entering directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2/src' >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o xstp.o xstp.c >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o parser.o parser.c >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o dtp.o dtp.c >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o cdp.o cdp.c >cdp.c:1074:15: warning: expression which evaluates to zero treated as a null > pointer constant of type 'char *' [-Wnon-literal-null-conversion] > buf_ptr = '\0'; > ^~~~ >parser.c:1262:17: warning: comparing a pointer to a null character constant; did > you mean to compare to NULL? [-Wpointer-compare] > if ((aux=='\0') || (strlen(aux)>2)) > ^~~~ > (void *)0 >parser.c:1827:40: warning: format specifies type 'unsigned short' but the > argument has type 'u_int32_t' (aka 'unsigned int') [-Wformat] > snprintf(msg, 9,"%08hX",*aux32); > ~~~~~ ^~~~~~ > %08X >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o dhcp.o dhcp.c >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o hsrp.o hsrp.c >dhcp.c:1333:49: warning: format specifies type 'unsigned long' but the argument > has type '__uint32_t' (aka 'unsigned int') [-Wformat] > snprintf(field_values[DHCP_XID], 9, "%08lX", ntohl(aux_long)); > ~~~~~ ^~~~~~~~~~~~~~~ > %08X >/usr/include/netinet/in.h:409:21: note: expanded from macro 'ntohl' ># define ntohl(x) __bswap_32 (x) > ^~~~~~~~~~~~~~ >dhcp.c:1443:52: warning: format specifies type 'unsigned long' but the argument > has type '__uint32_t' (aka 'unsigned int') [-Wformat] > snprintf(buf_ptr, 9, "%08lX", ntohl(aux_long)); > ~~~~~ ^~~~~~~~~~~~~~~ > %08X >/usr/include/netinet/in.h:409:21: note: expanded from macro 'ntohl' ># define ntohl(x) __bswap_32 (x) > ^~~~~~~~~~~~~~ >dhcp.c:1796:52: warning: format specifies type 'unsigned long' but the argument > has type '__uint32_t' (aka 'unsigned int') [-Wformat] > snprintf(buf_ptr, 9, "%08lX", ntohl(aux_long)); > ~~~~~ ^~~~~~~~~~~~~~~ > %08X >/usr/include/netinet/in.h:409:21: note: expanded from macro 'ntohl' ># define ntohl(x) __bswap_32 (x) > ^~~~~~~~~~~~~~ >1 warning generated. >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o dot1q.o dot1q.c >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o vtp.o vtp.c >In file included from dot1q.c:80: >./dot1q.h:23:9: warning: '__DOT_1Q_H' is used as a header guard here, followed > by #define of a different macro [-Wheader-guard] >#ifndef __DOT_1Q_H > ^~~~~~~~~~ >./dot1q.h:24:9: note: '__DOT_1Q_H__' is defined here; did you mean '__DOT_1Q_H'? >#define __DOT_1Q_H__ > ^~~~~~~~~~~~ > __DOT_1Q_H >2 warnings generated. >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o arp.o arp.c >3 warnings generated. >clang `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -c -o isl.o isl.c >vtp.c:1272:64: warning: format specifies type 'short' but the argument has type > '__uint32_t' (aka 'unsigned int') [-Wformat] > ...snprintf(field_values[VTP_REVISION], 11, "%010hd", ntohl(*aux_long)); > ~~~~~~ ^~~~~~~~~~~~~~~~ > %010u >/usr/include/netinet/in.h:409:21: note: expanded from macro 'ntohl' ># define ntohl(x) __bswap_32 (x) > ^~~~~~~~~~~~~~ >vtp.c:1277:10: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from > 'char *' converts between pointers to integer types where one is of the > unique plain 'char' type and the other is not [-Wpointer-sign] > aux2 = libnet_addr2name4(aux_long2, LIBNET_DONT_RESOLVE); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >vtp.c:1278:39: warning: passing 'u_int8_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] > strncpy(field_values[VTP_UPDATER],aux2,16); > ^~~~ >/usr/include/string.h:145:32: note: passing argument to parameter '__src' here > const char *__restrict __src, size_t __n) > ^ >vtp.c:1294:64: warning: format specifies type 'short' but the argument has type > '__uint32_t' (aka 'unsigned int') [-Wformat] > ...snprintf(field_values[VTP_REVISION], 11, "%010hd", ntohl(*aux_long)); > ~~~~~~ ^~~~~~~~~~~~~~~~ > %010u >/usr/include/netinet/in.h:409:21: note: expanded from macro 'ntohl' ># define ntohl(x) __bswap_32 (x) > ^~~~~~~~~~~~~~ >vtp.c:1413:56: warning: format specifies type 'short' but the argument has type > 'u_int32_t' (aka 'unsigned int') [-Wformat] > snprintf(field_values[VTP_REVISION], 11, "%010hd", vtp_tmp->revision); > ~~~~~~ ^~~~~~~~~~~~~~~~~ > %010u >vtp.c:1529:36: error: incompatible pointer to integer conversion passing > 'u_int16_t *' (aka 'unsigned short *') to parameter of type '__uint16_t' > (aka 'unsigned short'); dereference with * [-Wint-conversion] > vtp->start_val = ntohs(aux_short2); > ^~~~~~~~~~ > * >/usr/include/netinet/in.h:410:33: note: expanded from macro 'ntohs' ># define ntohs(x) __bswap_16 (x) > ^ >/usr/include/bits/byteswap.h:34:24: note: passing argument to parameter '__bsx' > here >__bswap_16 (__uint16_t __bsx) > ^ >5 warnings and 1 error generated. >make[2]: *** [Makefile:439: vtp.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from arp.c:79: >./arp.h:52:34: warning: use of logical '||' with constant operand > [-Wconstant-logical-operand] > { F_ETHERTYPE, ETHERTYPE_ARP || ETHERTYPE_REVARP}, > ^ ~~~~~~~~~~~~~~~~ >./arp.h:52:34: note: use '|' for a bitwise operation > { F_ETHERTYPE, ETHERTYPE_ARP || ETHERTYPE_REVARP}, > ^~ > | >1 warning generated. >In file included from isl.c:79: >./isl.h:23:9: warning: '__ISL_H' is used as a header guard here, followed by > #define of a different macro [-Wheader-guard] >#ifndef __ISL_H > ^~~~~~~ >./isl.h:24:9: note: '__ISL_H__' is defined here; did you mean '__ISL_H'? >#define __ISL_H__ > ^~~~~~~~~ > __ISL_H >1 warning generated. >1 warning generated. >make[2]: Leaving directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2/src' >make[1]: *** [Makefile:337: all] Error 2 >make[1]: Leaving directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2/src' >make: *** [Makefile:445: all-recursive] Error 1 > * ERROR: net-analyzer/yersinia-0.8.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/yersinia-0.8.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/yersinia-0.8.2::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:yersinia-0.8.2:20221111-105202.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/yersinia-0.8.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/yersinia-0.8.2/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2' > * S: '/var/tmp/portage/net-analyzer/yersinia-0.8.2/work/yersinia-0.8.2' >
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 880925
:
830931
|
830933
|
830935
|
830937
|
830939
|
830941
| 830943 |
830945
|
830947