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

Bug 921659

Summary: net-misc/portfwd-0.29-r2 - [clang] yconf.c: error: ISO C++17 does not allow register storage class
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: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-misc:portfwd-0.29-r2:20240109-101138.log
qlist-info.txt.xz
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2024-01-09 12:32:30 UTC
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
1 warning generated.
clang++ -DHAVE_CONFIG_H -I. -I..  -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src   -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c -o lexconf.o lexconf.c
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang++ -DHAVE_CONFIG_H -I. -I..  -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src   -O2 -pipe -march=native -fno-diagnostics-color -c -o util.o util.cc
clang++ -DHAVE_CONFIG_H -I. -I..  -DPORTFWD_CONF=\"/etc/portfwd.cfg\" -I../src   -O2 -pipe -march=native -fno-diagnostics-color -c -o fd_set.o fd_set.cc
yconf.c:957:3: error: ISO C++17 does not allow 'register' storage class
      specifier [-Wregister]
  957 |   register int yystate;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20231225-172010

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

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.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
5)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 3876ce5277e43bd3f1b7d4e61a14e21e04223e64
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 9 09:03:23 2024 +0000

    2024-01-09 09:03:22 UTC

emerge -qpvO net-misc/portfwd
[ebuild  N    ] net-misc/portfwd-0.29-r2
Comment 1 Toralf Förster gentoo-dev 2024-01-09 12:32:31 UTC
Created attachment 881751 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-09 12:32:32 UTC
Created attachment 881752 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-09 12:32:33 UTC
Created attachment 881753 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-09 12:32:34 UTC
Created attachment 881754 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-09 12:32:35 UTC
Created attachment 881755 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-09 12:32:36 UTC
Created attachment 881756 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-09 12:32:37 UTC
Created attachment 881757 [details]
net-misc:portfwd-0.29-r2:20240109-101138.log
Comment 8 Toralf Förster gentoo-dev 2024-01-09 12:32:38 UTC
Created attachment 881758 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-09 12:32:39 UTC
Created attachment 881759 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-01-09 12:32:40 UTC
Created attachment 881760 [details]
var.tmp.clang.tar.xz