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

Bug 943844

Summary: app-arch/arc-5.21q - [meson] [libtool] [gcc-15] arccvt.c: error: conflicting types for fopen; have FILE (void)
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: 880545    
Attachments: emerge-info.txt
app-arch:arc-5.21q:20241118-184531.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-18 19:23:38 UTC
make -O -j4 CC=x86_64-pc-linux-gnu-gcc 'OPT=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 ' 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DSYSV=1 -c arccvt.c
arccvt.c: In function cvtarc:
arccvt.c:31:1: warning: old-style function definition [-Wold-style-definition]
   31 | cvtarc(num, arg)                /* convert archive */
      | ^~~~~~
arccvt.c:40:25: error: conflicting types for fopen; have FILE *(void)
   40 |         FILE           *fopen();/* file opener */
      |                         ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20241113-212003

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [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 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =app-arch/arc-5.21q
[ebuild  N    ] app-arch/arc-5.21q
Comment 1 Toralf Förster gentoo-dev 2024-11-18 19:23:39 UTC
Created attachment 909527 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 19:23:40 UTC
Created attachment 909528 [details]
app-arch:arc-5.21q:20241118-184531.log
Comment 3 Toralf Förster gentoo-dev 2024-11-18 19:23:41 UTC
Created attachment 909529 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-18 19:23:42 UTC
Created attachment 909530 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-18 19:23:43 UTC
Created attachment 909531 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 19:23:44 UTC
Created attachment 909532 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 19:23:45 UTC
Created attachment 909533 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-18 19:23:46 UTC
Created attachment 909534 [details]
temp.tar.xz