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

Bug 940350

Summary: app-misc/wipe-2.3.1 - [gcc-15] mt.h: error: type of randomMT does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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
app-misc:wipe-2.3.1:20240927-200117.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-09-27 20:04:13 UTC
  255 |               fgets(prompt, sizeof(prompt), stdin);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prompt.c:269:15: warning: ignoring return value of fgets declared with attribute warn_unused_result [-Wunused-result]
  269 |               fgets(prompt, sizeof(prompt), stdin);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  *.o -o wipe -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
mt.h:4:22: error: type of randomMT does not match original declaration [-Werror=lto-type-mismatch]
    4 | public unsigned long randomMT(void);
      |                      ^

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

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

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<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/llvm (if any):
clang version 19.1.0
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.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   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

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit 227a64bc3b49717d4af8c2fd8ae467b1ad5729b5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 27 19:06:10 2024 +0000

    2024-09-27 19:06:09 UTC

emerge -qpvO =app-misc/wipe-2.3.1
[ebuild  N    ] app-misc/wipe-2.3.1
Comment 1 Toralf Förster gentoo-dev 2024-09-27 20:04:14 UTC
Created attachment 904039 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-27 20:04:15 UTC
Created attachment 904040 [details]
app-misc:wipe-2.3.1:20240927-200117.log
Comment 3 Toralf Förster gentoo-dev 2024-09-27 20:04:16 UTC
Created attachment 904041 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-09-27 20:04:17 UTC
Created attachment 904042 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-27 20:04:18 UTC
Created attachment 904043 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-27 20:04:19 UTC
Created attachment 904044 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-27 20:04:20 UTC
Created attachment 904045 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-27 20:04:21 UTC
Created attachment 904046 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-09-27 20:04:23 UTC
Created attachment 904047 [details]
temp.tar.xz