Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943801 - net-analyzer/yersinia-0.8.2_p20221119 - [ncurses-6.5] [gcc-15] yersinia.c: error: conflicting types for posix_signal; have int(int, void ( )(void))
Summary: net-analyzer/yersinia-0.8.2_p20221119 - [ncurses-6.5] [gcc-15] yersinia.c: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 18:56 UTC by Toralf Förster
Modified: 2025-02-10 09:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2024-11-18 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.02 KB, text/plain)
2024-11-18 18:56 UTC, Toralf Förster
Details
environment (environment,95.23 KB, text/plain)
2024-11-18 18:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-18 18:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.11 KB, application/x-xz)
2024-11-18 18:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.27 KB, application/x-xz)
2024-11-18 18:56 UTC, Toralf Förster
Details
net-analyzer:yersinia-0.8.2_p20221119:20241118-073751.log (net-analyzer:yersinia-0.8.2_p20221119:20241118-073751.log,64.22 KB, text/plain)
2024-11-18 18:56 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,56.98 KB, application/x-xz)
2024-11-18 18:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.04 KB, application/x-xz)
2024-11-18 18:56 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 2024-11-18 18:56:29 UTC
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
yersinia.c:930:1: error: conflicting types for posix_signal; have int(int,  void (*)(void))
  930 | posix_signal( int signo, void (*handler)() )
      | ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241112-111005

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 3887dc06b926a34c45f07d58bb0ba4e531e25de5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 06:18:36 2024 +0000

    2024-11-18 06:18:35 UTC

emerge -qpvO =net-analyzer/yersinia-0.8.2_p20221119
[ebuild  N    ] net-analyzer/yersinia-0.8.2_p20221119  USE="gtk ncurses"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 18:56:30 UTC
Created attachment 909157 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 18:56:31 UTC
Created attachment 909158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-18 18:56:32 UTC
Created attachment 909159 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 18:56:33 UTC
Created attachment 909160 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 18:56:34 UTC
Created attachment 909161 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 18:56:35 UTC
Created attachment 909162 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 18:56:36 UTC
Created attachment 909163 [details]
net-analyzer:yersinia-0.8.2_p20221119:20241118-073751.log
Comment 8 Toralf Förster gentoo-dev 2024-11-18 18:56:37 UTC
Created attachment 909164 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 18:56:38 UTC
Created attachment 909165 [details]
temp.tar.xz
Comment 11 Larry the Git Cow gentoo-dev 2025-02-10 09:22:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea83bb053b636dd119b8aea5d503a440997f8da2

commit ea83bb053b636dd119b8aea5d503a440997f8da2
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-06 16:17:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:19:55 +0000

    net-analyzer/yersinia: Port to C23
    
    Bug: https://bugs.gentoo.org/943801
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40014
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/yersinia/files/yersinia-0.8.2-C23.patch  | 12 ++++++++++++
 net-analyzer/yersinia/yersinia-0.8.2_p20221119.ebuild |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)