Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920794 - net-misc/netkit-telnetd-0.17-r13 - [clang] /.../commands.cc: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Summary: net-misc/netkit-telnetd-0.17-r13 - [clang] /.../commands.cc: error: ISO C++17...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paolo Pedroni
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 09:00 UTC by Toralf Förster
Modified: 2023-12-27 11:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,85.23 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
environment (environment,106.80 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.65 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
net-misc:netkit-telnetd-0.17-r13:20231227-003941.log (net-misc:netkit-telnetd-0.17-r13:20231227-003941.log,13.49 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,143.59 KB, text/plain)
2023-12-27 09:00 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.77 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,7.45 KB, application/x-xz)
2023-12-27 09:00 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-27 09:00:18 UTC
too long lines were shrinked:

ninja -v -j4 -l0
[1/24] /usr/lib/llvm/17/bin/clang++    -O2 -pipe -march=native -fno-diagnostics-color     -D_GNU_SOURCE     -DACCEPT_USERVAR     -Wall     -Wno-trigraphs      -DUSE_TERMIO     -DKLUDGELINEMODE  -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/genget.cc.o -MF telnet/CMakeFiles/telnet.dir/g
[2/24] /usr/lib/llvm/17/bin/clang++    -O2 -pipe -march=native -fno-diagnostics-color     -D_GNU_SOURCE     -DACCEPT_USERVAR     -Wall     -Wno-trigraphs      -DUSE_TERMIO     -DKLUDGELINEMODE  -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/main.cc.o -MF telnet/CMakeFiles/telnet.dir/mai
[3/24] /usr/lib/llvm/17/bin/clang++    -O2 -pipe -march=native -fno-diagnostics-color     -D_GNU_SOURCE     -DACCEPT_USERVAR     -Wall     -Wno-trigraphs      -DUSE_TERMIO     -DKLUDGELINEMODE  -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/commands.cc.o -MF telnet/CMakeFiles/telnet.dir
FAILED: telnet/CMakeFiles/telnet.dir/commands.cc.o 
/usr/lib/llvm/17/bin/clang++    -O2 -pipe -march=native -fno-diagnostics-color     -D_GNU_SOURCE     -DACCEPT_USERVAR     -Wall     -Wno-trigraphs      -DUSE_TERMIO     -DKLUDGELINEMODE  -fno-color-diagnostics -MD -MT telnet/CMakeFiles/telnet.dir/commands.cc.o -MF telnet/CMakeFiles/telnet.dir/comman
/var/tmp/portage/net-misc/netkit-telnetd-0.17-r13/work/netkit-telnet-0.17/telnet/commands.cc:195:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  195 |     register char *cp, *cp2, c;
      |     ^~~~~~~~

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

  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 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   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 5f3c15298f49b985544a43eff393c5d17ff604b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 26 23:32:01 2023 +0000

    2023-12-26 23:32:00 UTC

emerge -qpvO net-misc/netkit-telnetd
[ebuild  N    ] net-misc/netkit-telnetd-0.17-r13  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 09:00:19 UTC
Created attachment 880600 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 09:00:20 UTC
Created attachment 880601 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-27 09:00:22 UTC
Created attachment 880602 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-27 09:00:23 UTC
Created attachment 880603 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-27 09:00:24 UTC
Created attachment 880604 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 09:00:25 UTC
Created attachment 880605 [details]
net-misc:netkit-telnetd-0.17-r13:20231227-003941.log
Comment 7 Toralf Förster gentoo-dev 2023-12-27 09:00:26 UTC
Created attachment 880606 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-27 09:00:27 UTC
Created attachment 880607 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-27 09:00:28 UTC
Created attachment 880608 [details]
var.tmp.clang.tar.xz
Comment 10 Paolo Pedroni 2023-12-27 11:20:35 UTC
:-/

I have no idea how to fix this. Patches welcome.

Otherwise we shall have to last-rite the package.