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

Bug 928946

Summary: net-p2p/ncdc-1.24 - src/uit_conn.c: error: initialization of char ( )(ui_tab_t ) from incompatible pointer type char ( )(void) [-Wincompatible-pointer
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Eric Joldasov <bratishkaerik>
Status: CONFIRMED ---    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36167
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-p2p:ncdc-1.24:20240408-065820.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-08 17:18:49 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui.o src/ui.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_colors.o src/ui_colors.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_listing.o src/ui_listing.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_logwindow.o src/ui_logwindow.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/ui_textinput.o src/ui_textinput.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./deps -I./deps/ylib  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -O3 -pipe -march=native -fno-diagnostics-color -c -o src/uit_conn.o src/uit_conn.c
src/uit_conn.c:398:41: error: initialization of char * (*)(ui_tab_t *) from incompatible pointer type char * (*)(void) [-Wincompatible-pointer-types]
  398 | ui_tab_type_t uit_conn[1] = { { t_draw, t_title, t_key, t_close } };
      |                                         ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240406-093014

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit c819b16ee3755c2a265294d35576d7d7b68adf76
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 8 06:34:04 2024 +0000

    2024-04-08 06:34:03 UTC

emerge -qpvO net-p2p/ncdc
[ebuild  N    ] net-p2p/ncdc-1.24  USE="geoip -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2024-04-08 17:18:50 UTC
Created attachment 889895 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-08 17:18:51 UTC
Created attachment 889896 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-08 17:18:52 UTC
Created attachment 889897 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-08 17:18:53 UTC
Created attachment 889898 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-08 17:18:54 UTC
Created attachment 889899 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-08 17:18:54 UTC
Created attachment 889900 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-08 17:18:55 UTC
Created attachment 889901 [details]
net-p2p:ncdc-1.24:20240408-065820.log
Comment 8 Toralf Förster gentoo-dev 2024-04-08 17:18:56 UTC
Created attachment 889902 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-08 17:18:57 UTC
Created attachment 889903 [details]
temp.tar.xz