Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928946 - net-p2p/ncdc-1.24 - src/uit_conn.c: error: initialization of char ( )(ui_tab_t ) from incompatible pointer type char ( )(void) [-Wincompatible-pointer
Summary: net-p2p/ncdc-1.24 - src/uit_conn.c: error: initialization of char ( )(ui_tab_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eric Joldasov
URL:
Whiteboard: fixed in 1.24-r1
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-08 17:18 UTC by Toralf Förster
Modified: 2024-11-01 15:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.38 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,81.43 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
environment (environment,67.44 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.32 KB, application/x-xz)
2024-04-08 17:18 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.02 KB, application/x-xz)
2024-04-08 17:18 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.76 KB, application/x-xz)
2024-04-08 17:18 UTC, Toralf Förster
Details
net-p2p:ncdc-1.24:20240408-065820.log (net-p2p:ncdc-1.24:20240408-065820.log,14.58 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,148.28 KB, text/plain)
2024-04-08 17:18 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.98 KB, application/x-xz)
2024-04-08 17:18 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-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
Comment 10 Larry the Git Cow gentoo-dev 2024-07-03 11:57:02 UTC
The bug has been closed via the following commit(s):

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

commit 6f2cf69b4c38e3e43c274a2741274d21dc41d6f1
Author:     Eric Joldasov <bratishkaerik@landless-city.net>
AuthorDate: 2024-04-08 19:39:17 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-07-03 11:54:39 +0000

    net-p2p/ncdc: fix building with Clang 16 for 1.24
    
    Release 1.23.1 is unaffected. All information is in the patch.
    Upstream PR: https://code.blicky.net/yorhel/ncdc/pulls/108 .
    
    Closes: https://bugs.gentoo.org/928946
    Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
    Closes: https://github.com/gentoo/gentoo/pull/36167
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../files/ncdc-1.24-fix-clang16-c99-errors.patch   | 72 ++++++++++++++++++++++
 .../ncdc/{ncdc-1.24.ebuild => ncdc-1.24-r1.ebuild} |  9 ++-
 2 files changed, 79 insertions(+), 2 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2024-11-01 15:41:21 UTC
The bug has been referenced in the following commit(s):

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

commit c5ba1ca6b13c0babcf599d4651019a09a97d1da0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-01 15:40:35 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-01 15:41:09 +0000

    net-p2p/ncdc: drop 1.23.1
    
    Bug: https://bugs.gentoo.org/928946
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 net-p2p/ncdc/Manifest           |  2 --
 net-p2p/ncdc/ncdc-1.23.1.ebuild | 49 -----------------------------------------
 2 files changed, 51 deletions(-)