Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880925 - net-analyzer/yersinia-0.8.2 - vtp.c: error: incompatible pointer to integer conversion passing
Summary: net-analyzer/yersinia-0.8.2 - vtp.c: error: incompatible pointer to integer c...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: clang-16-porting
  Show dependency tree
 
Reported: 2022-11-11 12:05 UTC by Toralf Förster
Modified: 2022-11-11 12:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.27 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
environment (environment,119.77 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.85 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.36 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
net-analyzer:yersinia-0.8.2:20221111-105202.log (net-analyzer:yersinia-0.8.2:20221111-105202.log,16.27 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.62 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.46 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-11 12:05:39 UTC
      '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]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221110-130010

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 69f0b7550ab587381bffca4687249bd3f505afdf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 10:16:50 2022 +0000

    2022-11-11 10:16:50 UTC

emerge -qpvO net-analyzer/yersinia
[ebuild  N    ] net-analyzer/yersinia-0.8.2  USE="ncurses -gtk"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:05:40 UTC
Created attachment 830931 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:05:42 UTC
Created attachment 830933 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:05:43 UTC
Created attachment 830935 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:05:44 UTC
Created attachment 830937 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:05:45 UTC
Created attachment 830939 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:05:46 UTC
Created attachment 830941 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:05:47 UTC
Created attachment 830943 [details]
net-analyzer:yersinia-0.8.2:20221111-105202.log
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:05:48 UTC
Created attachment 830945 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:05:49 UTC
Created attachment 830947 [details]
var.tmp.clang.tar.bz2