Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851513 - media-sound/mpdscribble-0.24 - ../.../Log.cxx: error: time was not declared in this scope
Summary: media-sound/mpdscribble-0.24 - ../.../Log.cxx: error: time was not declared i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-12 09:57 UTC by Toralf Förster
Modified: 2022-06-12 10:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.72 KB, text/plain)
2022-06-12 09:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.98 KB, text/plain)
2022-06-12 09:57 UTC, Toralf Förster
Details
environment (environment,100.98 KB, text/plain)
2022-06-12 09:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.95 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.99 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
media-sound:mpdscribble-0.24:20220612-045126.log (media-sound:mpdscribble-0.24:20220612-045126.log,41.41 KB, text/plain)
2022-06-12 09:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.27 KB, application/x-bzip)
2022-06-12 09:57 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 2022-06-12 09:57:21 UTC
too long lines were shrinked:

[43/45] x86_64-pc-linux-gnu-g++ -Impdscribble.p -I. -I../mpdscribble-0.24 -Isrc -I../mpdscribble-0.24/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O0 -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmis
FAILED: mpdscribble.p/src_Log.cxx.o 
x86_64-pc-linux-gnu-g++ -Impdscribble.p -I. -I../mpdscribble-0.24 -Isrc -I../mpdscribble-0.24/src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O0 -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-dec
../mpdscribble-0.24/src/Log.cxx: In function const char* log_date()’:
../mpdscribble-0.24/src/Log.cxx:48:13: error: time’ was not declared in this scope
   48 |         t = time(nullptr);
      |             ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220611-050004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit d1618a8095e12f552c1ce23e63ac22f6de85c55f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 12 04:03:13 2022 +0000

    2022-06-12 04:03:13 UTC

emerge -qpvO media-sound/mpdscribble
[ebuild  N    ] media-sound/mpdscribble-0.24
Comment 1 Toralf Förster gentoo-dev 2022-06-12 09:57:22 UTC
Created attachment 784232 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-12 09:57:23 UTC
Created attachment 784235 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-06-12 09:57:24 UTC
Created attachment 784238 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-12 09:57:25 UTC
Created attachment 784241 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-12 09:57:26 UTC
Created attachment 784244 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-12 09:57:27 UTC
Created attachment 784247 [details]
media-sound:mpdscribble-0.24:20220612-045126.log
Comment 7 Toralf Förster gentoo-dev 2022-06-12 09:57:28 UTC
Created attachment 784250 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-12 10:36:33 UTC
The bug has been closed via the following commit(s):

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

commit ee26005f02f103b52d7da0a5f0b3dd59da777983
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-12 10:06:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-12 10:36:24 +0000

    media-sound/mpdscribble: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/851513
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/mpdscribble-0.23-gcc12-time.patch        | 37 ++++++++++++++++++++++
 media-sound/mpdscribble/mpdscribble-0.24.ebuild    |  1 +
 2 files changed, 38 insertions(+)