Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 880925

Summary: net-analyzer/yersinia-0.8.2 - vtp.c: error: incompatible pointer to integer conversion passing
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
net-analyzer:yersinia-0.8.2:20221111-105202.log
temp.tar.bz2
var.tmp.clang.tar.bz2

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
Comment 10 jy6x2b32pie9 2024-03-27 22:05:17 UTC
Bug is obsolete.
net-analyzer/yersinia-0.8.2-r2 is fixed.