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

Bug 912346

Summary: net-misc/dahdi-3.2.0 - /.../voicebus.c: error: stop undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jaco Kroon <jaco>
Status: RESOLVED OBSOLETE    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 914477    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-misc:dahdi-3.2.0:20230816-002447.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-08-16 08:04:19 UTC
./include/linux/semaphore.h:34: note: macro "DEFINE_SEMAPHORE" defined here
   34 | #define DEFINE_SEMAPHORE(_name, _n)     \
      | 
/var/tmp/portage/net-misc/dahdi-3.2.0/work/dahdi-linux-3.2.0/drivers/dahdi/voicebus/voicebus.c:1138:16: error: type defaults to int in declaration of DEFINE_SEMAPHORE [-Werror=implicit-int]
 1138 |         static DEFINE_SEMAPHORE(stop);
      |                ^~~~~~~~~~~~~~~~
/var/tmp/portage/net-misc/dahdi-3.2.0/work/dahdi-linux-3.2.0/drivers/dahdi/voicebus/voicebus.c:1140:15: error: stop undeclared (first use in this function)
 1140 |         down(&stop);
      |               ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20230813-052004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):
  (none found)
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 56eef49aa68de3884396ebf15924e664207a5580
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 16 00:16:41 2023 +0000

    2023-08-16 00:16:41 UTC

emerge -qpvO net-misc/dahdi
[ebuild  N    ] net-misc/dahdi-3.2.0  USE="-dist-kernel -flash -oslec"
Comment 1 Toralf Förster gentoo-dev 2023-08-16 08:04:20 UTC
Created attachment 867934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-16 08:04:21 UTC
Created attachment 867935 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-16 08:04:23 UTC
Created attachment 867936 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-16 08:04:23 UTC
Created attachment 867937 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-16 08:04:24 UTC
Created attachment 867938 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-16 08:04:25 UTC
Created attachment 867939 [details]
net-misc:dahdi-3.2.0:20230816-002447.log
Comment 7 Toralf Förster gentoo-dev 2023-08-16 08:04:26 UTC
Created attachment 867940 [details]
temp.tar.xz
Comment 8 Joonas Niilola gentoo-dev 2023-09-21 08:20:20 UTC
Last-rited, please see bug #914477.