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

Bug 919169

Summary: net-dialup/accel-ppp-1.12.0_p20230609 - [clang] type specifier missing, defaults to int; ISO C99 and later do not
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sergey Popov <pinkbyte>
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
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-dialup:accel-ppp-1.12.0_p20230609:20231204-044017.log
qlist-info.txt.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 17:40:21 UTC
  138 | static DEFINE_SEMAPHORE(ipoe_wlock);
      |                                   ^
./include/linux/semaphore.h:34:9: note: macro 'DEFINE_SEMAPHORE' defined here
   34 | #define DEFINE_SEMAPHORE(_name, _n)     \
      |         ^
/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:138:8: error: 
      type specifier missing, defaults to 'int'; ISO C99 and later do not
      support implicit int [-Wimplicit-int]
  138 | static DEFINE_SEMAPHORE(ipoe_wlock);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit e6355ec1ee123a5a2b7155da486ba61988b0a30c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 03:16:56 2023 +0000

    2023-12-04 03:16:55 UTC

emerge -qpvO net-dialup/accel-ppp
[ebuild  N    ] net-dialup/accel-ppp-1.12.0_p20230609  USE="ipoe libtomcrypt radius strip -debug -dist-kernel -doc -lua -modules-sign -postgres -shaper -snmp (-valgrind)" LUA_SINGLE_TARGET="lua5-1"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 17:40:22 UTC
Created attachment 876673 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 17:40:23 UTC
Created attachment 876674 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-04 17:40:25 UTC
Created attachment 876675 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 17:40:25 UTC
Created attachment 876676 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 17:40:27 UTC
Created attachment 876677 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 17:40:28 UTC
Created attachment 876678 [details]
net-dialup:accel-ppp-1.12.0_p20230609:20231204-044017.log
Comment 7 Toralf Förster gentoo-dev 2023-12-04 17:40:30 UTC
Created attachment 876679 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 17:40:31 UTC
Created attachment 876680 [details]
var.tmp.clang.tar.xz