Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943835 - net-irc/weechat-4.4.3 - [ncurses-6.5] [gcc-15] /.../core-signal.c: error: passing argument 2 of signal_catch from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-irc/weechat-4.4.3 - [ncurses-6.5] [gcc-15] /.../core-signal.c: error: pas...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 19:21 UTC by Toralf Förster
Modified: 2025-03-19 23:55 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.35 KB, text/plain)
2024-11-18 19:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,205.79 KB, text/plain)
2024-11-18 19:21 UTC, Toralf Förster
Details
environment (environment,171.10 KB, text/plain)
2024-11-18 19:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-18 19:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.30 KB, application/x-xz)
2024-11-18 19:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.46 KB, application/x-xz)
2024-11-18 19:21 UTC, Toralf Förster
Details
net-irc:weechat-4.4.3:20241118-180429.log (net-irc:weechat-4.4.3:20241118-180429.log,35.80 KB, text/plain)
2024-11-18 19:21 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,59.65 KB, application/x-xz)
2024-11-18 19:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.04 KB, application/x-xz)
2024-11-18 19:21 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 19:21:35 UTC
too long lines were shrinked:

[26/272] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_ICONV -DHAVE_ZSTD -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"4.4.3\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/var/tmp/portage/net-irc/weechat-4.4.3/work/weechat-4.4.3_build  -
[27/272] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_ICONV -DHAVE_ZSTD -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"4.4.3\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/var/tmp/portage/net-irc/weechat-4.4.3/work/weechat-4.4.3_build  -
[28/272] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_ICONV -DHAVE_ZSTD -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"4.4.3\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/var/tmp/portage/net-irc/weechat-4.4.3/work/weechat-4.4.3_build  -
FAILED: src/core/CMakeFiles/weechat_core.dir/core-signal.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_ICONV -DHAVE_ZSTD -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"4.4.3\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -I/var/tmp/portage/net-irc/weechat-4.4.3/work/weechat-4.4.3_build  -O2 -pipe 
/var/tmp/portage/net-irc/weechat-4.4.3/work/weechat-4.4.3/src/core/core-signal.c: In function signal_init:
/var/tmp/portage/net-irc/weechat-4.4.3/work/weechat-4.4.3/src/core/core-signal.c:320:27: error: passing argument 2 of signal_catch from incompatible pointer type [-Wincompatible-pointer-types]
  320 |     signal_catch (SIGHUP, &signal_sighup_cb);
      |                           ^~~~~~~~~~~~~~~~~

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

  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 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =net-irc/weechat-4.4.3
[ebuild  N    ] net-irc/weechat-4.4.3  USE="alias buflist charset exec fifo fset irc logger nls perl python relay scripts spell tcl trigger typing xfer zstd -doc -enchant -guile -lua -man -relay-api -ruby (-selinux) -test -verify-sig" GUILE_SINGLE_TARGET="3-0 -2-2" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 19:21:36 UTC
Created attachment 909449 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 19:21:38 UTC
Created attachment 909450 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-18 19:21:39 UTC
Created attachment 909451 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 19:21:41 UTC
Created attachment 909452 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 19:21:42 UTC
Created attachment 909453 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 19:21:44 UTC
Created attachment 909454 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 19:21:45 UTC
Created attachment 909455 [details]
net-irc:weechat-4.4.3:20241118-180429.log
Comment 8 Toralf Förster gentoo-dev 2024-11-18 19:21:46 UTC
Created attachment 909456 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 19:21:47 UTC
Created attachment 909457 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-19 23:55:45 UTC
The bug has been closed via the following commit(s):

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

commit 7f5d27508f7039a06775f9120213ba0e3fb78ed5
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2025-03-17 02:25:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-19 23:50:53 +0000

    net-irc/weechat: add 4.5.2
    
    Since v4.0.0 weechat supports building partial documentation, we just
    need to enforce it, as Gentoo cannot support all plugins at this time
    (namely PHP and JavaScript)
    
    This new version also fixes compile issues with GCC-15
    
    Closes: https://bugs.gentoo.org/943529
    Closes: https://bugs.gentoo.org/943835
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/41128
    Signed-off-by: Sam James <sam@gentoo.org>

 net-irc/weechat/Manifest             |   2 +
 net-irc/weechat/weechat-4.5.2.ebuild | 201 +++++++++++++++++++++++++++++++++++
 net-irc/weechat/weechat-9999.ebuild  |  15 +--
 3 files changed, 212 insertions(+), 6 deletions(-)