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

Bug 941417

Summary: app-laptop/framework-laptop-kmod-0_pre20240506 - [libtool] [gcc-15] /.../framework_laptop.c: error: initialization of void ( )(struct platform_device ) from incompatible
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-laptop:framework-laptop-kmod-0_pre20240506:20241012-175924.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-12 18:04:54 UTC
too long lines were shrinked:

  You are using:           x86_64-pc-linux-gnu-gcc-15 (Gentoo Hardened 15.0.0_pre20241006 p15) 15.0.0 20241006 (experimental)
make -f ./scripts/Makefile.build obj=/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368 need-builtin=1 need-modorder=1 
# cmd_mod /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.mod
  printf '%s\n'   framework_laptop.o | awk '!x[$0]++ { print("/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/"$0) }' > /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3
# CC [M]  /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-15 -Wp,-MMD,/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/.framework_laptop.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uap
/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.c:777:19: error: initialization of void (*)(struct platform_device *) from incompatible pointer type int (*)(struct platform_device *) [-Wincompatible-
  777 |         .remove = framework_remove,
      |                   ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20241002-145002

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1
Python 3.12.7
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:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit 54a36f4fa1736ba2cbc7f4f4fb9b173e62afd197
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Oct 12 16:48:23 2024 +0000

    2024-10-12 16:48:22 UTC

emerge -qpvO =app-laptop/framework-laptop-kmod-0_pre20240506
[ebuild  N    ] app-laptop/framework-laptop-kmod-0_pre20240506  USE="strip -dist-kernel -modules-compress -modules-sign"
Comment 1 Toralf Förster gentoo-dev 2024-10-12 18:04:55 UTC
Created attachment 905361 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-12 18:04:56 UTC
Created attachment 905362 [details]
app-laptop:framework-laptop-kmod-0_pre20240506:20241012-175924.log
Comment 3 Toralf Förster gentoo-dev 2024-10-12 18:04:57 UTC
Created attachment 905363 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-10-12 18:04:59 UTC
Created attachment 905364 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-12 18:04:59 UTC
Created attachment 905365 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-12 18:05:01 UTC
Created attachment 905366 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-12 18:05:02 UTC
Created attachment 905367 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-12 18:05:04 UTC
Created attachment 905368 [details]
temp.tar.xz