Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943854 - x11-terms/mlterm-3.9.3-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] bl_map.h: error: assignment to int ( )(char , u_int) {aka int ( )(char , unsigned int)} from incompat
Summary: x11-terms/mlterm-3.9.3-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] bl_map.h...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 21:13 UTC by Toralf Förster
Modified: 2025-01-07 16:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.73 KB, text/plain)
2024-11-18 21:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,19.20 KB, text/plain)
2024-11-18 21:13 UTC, Toralf Förster
Details
environment (environment,39.53 KB, text/plain)
2024-11-18 21:13 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-18 21:13 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,16.60 KB, application/x-xz)
2024-11-18 21:13 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,14.52 KB, application/x-xz)
2024-11-18 21:13 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,65.06 KB, text/plain)
2024-11-18 21:13 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,10.56 KB, application/x-xz)
2024-11-18 21:13 UTC, Toralf Förster
Details
x11-terms:mlterm-3.9.3-r1:20241118-201713.log (x11-terms:mlterm-3.9.3-r1:20241118-201713.log,31.42 KB, text/plain)
2024-11-18 21:13 UTC, Toralf Förster
Details
attempt to make a C23 patch (mlterm-3.9.3_p20250107-C23.patch,14.88 KB, patch)
2025-01-07 16:12 UTC, NHO
Details | Diff

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 21:13:24 UTC
make[2]: Entering directory '/var/tmp/portage/x11-terms/mlterm-3.9.3-r1/work/mlterm-3.9.3/baselib/src'
../../libtool --mode=compile x86_64-pc-linux-gnu-gcc   -O2 -pipe -march=native -fno-diagnostics-color -DOPTIMIZE_REDRAWING -DLIBEXECDIR=\"/usr/libexec\" -DBINDIR=\"/usr/bin\" -I. -c bl_conf.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DOPTIMIZE_REDRAWING -DLIBEXECDIR=\"/usr/libexec\" -DBINDIR=\"/usr/bin\" -I. -c bl_conf.c  -fPIC -DPIC -o .libs/bl_conf.o
In file included from bl_conf.h:8,
                 from bl_conf.c:3:
bl_conf.c: In function 'create_new_conf_entry':
bl_map.h:145:30: error: assignment to 'int (*)(char *, u_int)' {aka 'int (*)(char *, unsigned int)'} from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types]
  145 |             (map)->hash_func = (int (*)())bl_map_hash_int;                                     \
      |                              ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    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 18.1.8
llvm-config: 19.1.3
Python 3.12.7
Available Rust versions:
  [1]   rust-bin-1.82.0 *

  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 =x11-terms/mlterm-3.9.3-r1
[ebuild  N    ] x11-terms/mlterm-3.9.3-r1  USE="X nls wayland -bidi -brltty -cairo -debug -fbcon -fcitx -gtk -harfbuzz -ibus -libssh2 -m17n-lib -regis -scim -skk -static-libs -uim -utempter -xft"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 21:13:25 UTC
Created attachment 909590 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 21:13:26 UTC
Created attachment 909591 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-18 21:13:27 UTC
Created attachment 909592 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 21:13:28 UTC
Created attachment 909593 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 21:13:29 UTC
Created attachment 909594 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 21:13:30 UTC
Created attachment 909595 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 21:13:31 UTC
Created attachment 909596 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-18 21:13:32 UTC
Created attachment 909597 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 21:13:33 UTC
Created attachment 909598 [details]
x11-terms:mlterm-3.9.3-r1:20241118-201713.log
Comment 11 NHO 2025-01-07 16:12:34 UTC
Created attachment 916071 [details, diff]
attempt to make a C23 patch

attempt to make a C23 patch
Includes fix for bug in the ticket
Attempt failed due to messy configure and typedefs in it that don't work and I don't seems to be able to work around.