Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851621 - media-sound/pms-0.42_p20170508-r1 - /.../message.cpp: error: time was not declared in this scope
Summary: media-sound/pms-0.42_p20170508-r1 - /.../message.cpp: error: time was not dec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-12 20:49 UTC by Toralf Förster
Modified: 2022-06-13 16:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2022-06-12 20:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,246.44 KB, text/plain)
2022-06-12 20:49 UTC, Toralf Förster
Details
environment (environment,95.60 KB, text/plain)
2022-06-12 20:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.87 KB, application/x-bzip)
2022-06-12 20:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.54 KB, application/x-bzip)
2022-06-12 20:49 UTC, Toralf Förster
Details
media-sound:pms-0.42_p20170508-r1:20220612-204401.log (media-sound:pms-0.42_p20170508-r1:20220612-204401.log,17.11 KB, text/plain)
2022-06-12 20:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.55 KB, application/x-bzip)
2022-06-12 20:49 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 20:49:37 UTC
too long lines were shrinked:

[11/22] /usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508_build/src -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O2 -std=c++11 -MD -MT
FAILED: CMakeFiles/pms.dir/src/message.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++  -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508_build/src -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O2 -std=c++11 -MD -MT CMakeFi
/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src/message.cpp: In member function void Message::clear()’:
/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src/message.cpp:39:9: error: time’ was not declared in this scope; did you mean tm’?
   39 |         time(&timestamp);
      |         ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/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:
*)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
2)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm
  [2]   openjdk-jre-bin-17 

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

  HEAD of ::gentoo
commit 7f4e60274f0c631d43da6e5bc9234080960a7f51
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 12 19:48:29 2022 +0000

    2022-06-12 19:48:29 UTC

emerge -qpvO media-sound/pms
[ebuild  N    ] media-sound/pms-0.42_p20170508-r1  USE="regex -doc"
Comment 1 Toralf Förster gentoo-dev 2022-06-12 20:49:38 UTC
Created attachment 784451 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-12 20:49:40 UTC
Created attachment 784454 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-06-12 20:49:42 UTC
Created attachment 784457 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-12 20:49:43 UTC
Created attachment 784460 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-12 20:49:44 UTC
Created attachment 784463 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-12 20:49:45 UTC
Created attachment 784466 [details]
media-sound:pms-0.42_p20170508-r1:20220612-204401.log
Comment 7 Toralf Förster gentoo-dev 2022-06-12 20:49:46 UTC
Created attachment 784469 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-13 16:43:55 UTC
The bug has been closed via the following commit(s):

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

commit 469899e6998360e2b6490a6aaeb55d393727a91f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-13 16:42:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-13 16:42:40 +0000

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

 media-sound/pms/files/pms-0.42_p20170508-gcc12-time.patch | 11 +++++++++++
 media-sound/pms/pms-0.42_p20170508-r1.ebuild              |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)