Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919117 - media-video/vdr-2.2.0-r7 - [clang] util.c: error: ISO C++17 does not allow register storage class specifier
Summary: media-video/vdr-2.2.0-r7 - [clang] util.c: error: ISO C++17 does not allow re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-03 11:01 UTC by Toralf Förster
Modified: 2024-06-22 19:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.02 KB, text/plain)
2023-12-03 11:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.42 KB, text/plain)
2023-12-03 11:01 UTC, Toralf Förster
Details
environment (environment,95.06 KB, text/plain)
2023-12-03 11:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-03 11:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.54 KB, application/x-xz)
2023-12-03 11:01 UTC, Toralf Förster
Details
media-video:vdr-2.2.0-r7:20231203-030034.log (media-video:vdr-2.2.0-r7:20231203-030034.log,52.42 KB, text/plain)
2023-12-03 11:01 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,47.09 KB, application/x-xz)
2023-12-03 11:01 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.25 KB, application/x-xz)
2023-12-03 11:01 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-03 11:01:03 UTC
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
clang++ -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include util.c
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
util.c:269:4: error: ISO C++17 does not allow 'register' storage class specifier
      [-Wregister]
  269 |    register int i;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20231129-092259

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

gcc-config -l:
 [1] 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+libcxx
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   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 fdfd3a14f32bf12623212bfb5fd848c6c5cd71d6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 3 02:32:01 2023 +0000

    2023-12-03 02:32:01 UTC

emerge -qpvO media-video/vdr
[ebuild   R   ] media-video/vdr-2.6.4  USE="-bidi -debug -demoplugins -html -keyboard -mainmenuhooks -menuorg -naludump -permashift -pinplugin -systemd -ttxtsubs -verbose"
Comment 1 Toralf Förster gentoo-dev 2023-12-03 11:01:04 UTC
Created attachment 876534 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-03 11:01:05 UTC
Created attachment 876535 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-03 11:01:07 UTC
Created attachment 876536 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-03 11:01:07 UTC
Created attachment 876537 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-03 11:01:08 UTC
Created attachment 876538 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-03 11:01:09 UTC
Created attachment 876539 [details]
media-video:vdr-2.2.0-r7:20231203-030034.log
Comment 7 Toralf Förster gentoo-dev 2023-12-03 11:01:10 UTC
Created attachment 876540 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-03 11:01:12 UTC
Created attachment 876541 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-06-22 19:12:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba86a6cfd537b1f9d6b1b9cb65fd1126cbc658c4

commit ba86a6cfd537b1f9d6b1b9cb65fd1126cbc658c4
Author:     Martin Dummer <martin.dummer@gmx.net>
AuthorDate: 2024-06-20 17:03:33 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-06-22 19:09:49 +0000

    media-video/vdr-2.2.0-r7: fix clang compile error
    
    fix pkgcheck issue
    
    Closes: https://bugs.gentoo.org/919117
    Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
    Closes: https://github.com/gentoo/gentoo/pull/37210
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 media-video/vdr/files/vdr-2.2.0_gentoo.patch | 11 +++++++++++
 media-video/vdr/vdr-2.2.0-r7.ebuild          |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)