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

Bug 880971

Summary: dev-util/btyacc-3.0-r4 - main.c: error: incompatible function pointer types passing void (void)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:btyacc-3.0-r4:20221111-120817.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-11 12:32:46 UTC
      in all versions of C [-Wstrict-prototypes]
void set_signals()
                ^
                 void
main.c:89:17: error: incompatible function pointer types passing 'void (void)'
      to parameter of type '__sighandler_t' (aka 'void (*)(int)')
      [-Werror,-Wincompatible-function-pointer-types]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221110-130010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 6b19e62b44b9b6b8e755a2c20383fdcdc540f66d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 11:46:51 2022 +0000

    2022-11-11 11:46:51 UTC

emerge -qpvO dev-util/btyacc
[ebuild  N    ] dev-util/btyacc-3.0-r4
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:32:47 UTC
Created attachment 831317 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:32:48 UTC
Created attachment 831319 [details]
dev-util:btyacc-3.0-r4:20221111-120817.log
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:32:49 UTC
Created attachment 831321 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:32:51 UTC
Created attachment 831323 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:32:52 UTC
Created attachment 831325 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:32:52 UTC
Created attachment 831327 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:32:53 UTC
Created attachment 831329 [details]
logs.tar.bz2