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

Bug 941760

Summary: dev-ml/luv-0.5.12 - [libtool] [gcc-15] c_generated_functions.c: error: initialization of void ( )(uv_getnameinfo_t , int, const char , const char ) {aka void ( )(struct u
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9, peeweep
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412, 941869    
Attachments: emerge-info.txt
dev-ml:luv-0.5.12:20241018-100130.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-10-18 10:05:22 UTC
generate_ml_functions src/c/luv_c_generated_functions.ml
File "_build/.dune/default/src/c/dune", line 12, characters 9-30:
12 |   (names c_generated_functions helpers)
              ^^^^^^^^^^^^^^^^^^^^^
x86_64-pc-linux-gnu-gcc src/c/c_generated_functions.o (exit 1)
c_generated_functions.c: In function luv_stub_155_luv_get_getnameinfo_trampoline:
c_generated_functions.c:1155:4: error: initialization of void (*)(uv_getnameinfo_t *, int,  const char *, const char *) {aka void (*)(struct uv_getnameinfo_s *, int,  const char *, const char *)} from incompatible pointer type luv_getnameinfo_cb {aka void (*)(struct uv_getnameinfo_s *, int,  char *, char *)} [-Wincompatible-pointer-types]
 1155 |    luv_get_getnameinfo_trampoline();
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib-20241008-203006

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.1 linux/amd64
  (none found)
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-1.81.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit eeb3c1f3289c95264df7814a2e1e701da04896b7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 18 08:48:33 2024 +0000

    2024-10-18 08:48:33 UTC

emerge -qpvO =dev-ml/luv-0.5.12
Comment 1 Toralf Förster gentoo-dev 2024-10-18 10:05:23 UTC
Created attachment 906265 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-18 10:05:24 UTC
Created attachment 906266 [details]
dev-ml:luv-0.5.12:20241018-100130.log
Comment 3 Toralf Förster gentoo-dev 2024-10-18 10:05:26 UTC
Created attachment 906267 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-10-18 10:05:27 UTC
Created attachment 906268 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-18 10:05:27 UTC
Created attachment 906269 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-18 10:05:28 UTC
Created attachment 906270 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-18 10:05:30 UTC
Created attachment 906271 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-18 10:05:30 UTC
Created attachment 906272 [details]
temp.tar.xz