Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941641 - dev-ml/luv-0.5.14 - [libtool] c_generated_functions.c: error: initialization of void ( )(uv_getnameinfo_t , int, char , char ) {aka void ( )(struct uv_getnameinf
Summary: dev-ml/luv-0.5.14 - [libtool] c_generated_functions.c: error: initialization ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard: fixed in 0.5.14-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-10-16 20:42 UTC by Toralf Förster
Modified: 2024-11-01 17:11 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,22.04 KB, text/plain)
2024-10-16 20:42 UTC, Toralf Förster
Details
dev-ml:luv-0.5.14:20241016-203344.log (dev-ml:luv-0.5.14:20241016-203344.log,18.87 KB, text/plain)
2024-10-16 20:42 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,88.92 KB, application/x-xz)
2024-10-16 20:42 UTC, Toralf Förster
Details
environment (environment,33.09 KB, text/plain)
2024-10-16 20:42 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-16 20:42 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.17 KB, application/x-xz)
2024-10-16 20:42 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,95.48 KB, application/x-xz)
2024-10-16 20:42 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,9.91 KB, application/x-xz)
2024-10-16 20:42 UTC, Toralf Förster
Details
build.log (build.log,61.34 KB, text/plain)
2024-10-17 09:38 UTC, Andrei Slavoiu
Details
emerge --info (emerge.info,8.30 KB, text/plain)
2024-10-17 09:39 UTC, Andrei Slavoiu
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-10-16 20:42:49 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_156_luv_get_getnameinfo_trampoline:
c_generated_functions.c:1177:4: error: initialization of void (*)(uv_getnameinfo_t *, int,  char *, char *) {aka void (*)(struct uv_getnameinfo_s *, int,  char *, char *)} from incompatible pointer type uv_getnameinfo_cb {aka void (*)(struct uv_getnameinfo_s *, int,  const char *, const char *)} [-Wincompatible-pointer-types]
 1177 |    luv_get_getnameinfo_trampoline();
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20241005-094003

  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-10
 [2] x86_64-pc-linux-gnu-15 *
clang version 19.1.1
llvm-config: 19.1.1
Python 3.12.7
go version go1.23.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [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 3001708f9545d3514f1e7c17dd12fcc33ab71cba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 16 19:03:25 2024 +0000

    2024-10-16 19:03:25 UTC

emerge -qpvO =dev-ml/luv-0.5.14
[ebuild     U ] dev-ml/luv-0.5.14 [0.5.12] USE="ocamlopt -test"
Comment 1 Toralf Förster gentoo-dev 2024-10-16 20:42:50 UTC
Created attachment 906131 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-16 20:42:51 UTC
Created attachment 906132 [details]
dev-ml:luv-0.5.14:20241016-203344.log
Comment 3 Toralf Förster gentoo-dev 2024-10-16 20:42:53 UTC
Created attachment 906133 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-10-16 20:42:54 UTC
Created attachment 906134 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-16 20:42:55 UTC
Created attachment 906135 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-16 20:42:56 UTC
Created attachment 906136 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-16 20:42:58 UTC
Created attachment 906137 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-16 20:42:59 UTC
Created attachment 906138 [details]
temp.tar.xz
Comment 9 Andrei Slavoiu 2024-10-17 09:38:20 UTC
Not related to gcc-15 as it also happens on my desktop with no unmasked packages.
Comment 10 Andrei Slavoiu 2024-10-17 09:38:42 UTC
Created attachment 906162 [details]
build.log
Comment 11 Andrei Slavoiu 2024-10-17 09:39:03 UTC
Created attachment 906163 [details]
emerge --info
Comment 12 Andrei Slavoiu 2024-10-17 09:52:05 UTC
Same fail after removing all dev-ml packages
Comment 13 Larry the Git Cow gentoo-dev 2024-10-17 13:45:47 UTC
The bug has been closed via the following commit(s):

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

commit 6f6a0bd96414fa506a0cd8adabe5cf3c13498b11
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-10-17 13:44:56 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-10-17 13:44:56 +0000

    dev-ml/luv: new ctypes fixes signature
    
    Closes: https://bugs.gentoo.org/941641
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/luv/{luv-0.5.14.ebuild => luv-0.5.14-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)