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

Bug 941633

Summary: x11-wm/amiwm-0.22.01_p20230916 - [libtool] [gcc-15] main.c: error: type of menuaction does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz
x11-wm:amiwm-0.22.01_p20230916:20241016-150904.log

Description Toralf Förster gentoo-dev 2024-10-16 16:30:58 UTC
too long lines were shrinked:

make[1]: Leaving directory '/var/tmp/portage/x11-wm/amiwm-0.22.01_p20230916/work/amiwm-74a398944f9a2c543b6b176e65ed4ee2373b1d65'
make[1]: Entering directory '/var/tmp/portage/x11-wm/amiwm-0.22.01_p20230916/work/amiwm-74a398944f9a2c543b6b176e65ed4ee2373b1d65'
x86_64-pc-linux-gnu-gcc -c  -I. -I. -I./libami -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRI
make[1]: Leaving directory '/var/tmp/portage/x11-wm/amiwm-0.22.01_p20230916/work/amiwm-74a398944f9a2c543b6b176e65ed4ee2373b1d65'
make[1]: Entering directory '/var/tmp/portage/x11-wm/amiwm-0.22.01_p20230916/work/amiwm-74a398944f9a2c543b6b176e65ed4ee2373b1d65'
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o amiwm main.o screen.o client.o frame.o icc.o icon.o menu.o diskobject.o gram.o lex.o rc.o module.o -lSM -lICE -Ll
main.c:101:13: error: type of menuaction does not match original declaration [-Werror=lto-type-mismatch]
  101 | extern void menuaction(void *);
      |             ^

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

  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 9b2f59bf06c517f619b04067a207605397bf6aa1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 16 14:48:19 2024 +0000

    2024-10-16 14:48:19 UTC

emerge -qpvO =x11-wm/amiwm-0.22.01_p20230916
[ebuild  N    ] x11-wm/amiwm-0.22.01_p20230916
Comment 1 Toralf Förster gentoo-dev 2024-10-16 16:30:59 UTC
Created attachment 906099 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-16 16:31:00 UTC
Created attachment 906100 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-16 16:31:02 UTC
Created attachment 906101 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-16 16:31:02 UTC
Created attachment 906102 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-16 16:31:03 UTC
Created attachment 906103 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-16 16:31:04 UTC
Created attachment 906104 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-16 16:31:06 UTC
Created attachment 906105 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-16 16:31:07 UTC
Created attachment 906106 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-16 16:31:08 UTC
Created attachment 906107 [details]
x11-wm:amiwm-0.22.01_p20230916:20241016-150904.log