Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851516 - x11-misc/piedock-1.6.9 - WindowManager.cpp: error: time was not declared in this scope
Summary: x11-misc/piedock-1.6.9 - WindowManager.cpp: error: time was not declared in t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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 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,21.59 KB, text/plain)
2022-06-12 09:57 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,133.55 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
environment (environment,75.08 KB, text/plain)
2022-06-12 09:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,45.11 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.20 KB, application/x-bzip)
2022-06-12 09:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.50 KB, application/x-bzip)
2022-06-12 09:58 UTC, Toralf Förster
Details
x11-misc:piedock-1.6.9:20220612-055456.log (x11-misc:piedock-1.6.9:20220612-055456.log,34.81 KB, text/plain)
2022-06-12 09:58 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:53 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"PieDock\" -DVERSION=\"1.6.9\" -DHAVE_LIBX11=1 -DHAVE_LIBPNG=1 -DHAVE_LIBZ=1 -DHAVE_XFT=1 -DHAVE_XRENDER=1 -DHAVE_XMU=1 -DHAVE_STDIO_
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"PieDock\" -DVERSION=\"1.6.9\" -DHAVE_LIBX11=1 -DHAVE_LIBPNG=1 -DHAVE_LIBZ=1 -DHAVE_XFT=1 -DHAVE_XRENDER=1 -DHAVE_XMU=1 -DHAVE_STDIO_
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"PieDock\" -DVERSION=\"1.6.9\" -DHAVE_LIBX11=1 -DHAVE_LIBPNG=1 -DHAVE_LIBZ=1 -DHAVE_XFT=1 -DHAVE_XRENDER=1 -DHAVE_XMU=1 -DHAVE_STDIO_
WindowManager.cpp: In static member function static void PieDock::WindowManager::activate(Display*, Window)’:
WindowManager.cpp:83:29: error: time’ was not declared in this scope; did you mean Time’?
   83 |         for (time_t start = time(0) + 2;
      |                             ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] 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 Rust versions:
  [1]   rust-bin-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 3665bb70630ccabaae6e5d813cc19a6c8e564567
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 12 04:48:31 2022 +0000

    2022-06-12 04:48:30 UTC

emerge -qpvO x11-misc/piedock
[ebuild  N    ] x11-misc/piedock-1.6.9  USE="-gtk"
Comment 1 Toralf Förster gentoo-dev 2022-06-12 09:57:54 UTC
Created attachment 784253 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-12 09:57:55 UTC
Created attachment 784256 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-06-12 09:57:57 UTC
Created attachment 784259 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-12 09:57:58 UTC
Created attachment 784262 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-12 09:58:00 UTC
Created attachment 784265 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-12 09:58:01 UTC
Created attachment 784268 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-12 09:58:02 UTC
Created attachment 784271 [details]
x11-misc:piedock-1.6.9:20220612-055456.log
Comment 8 Larry the Git Cow gentoo-dev 2022-06-12 10:36:34 UTC
The bug has been closed via the following commit(s):

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

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

    x11-misc/piedock: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/851516
    Signed-off-by: Sam James <sam@gentoo.org>

 .../piedock/files/piedock-1.6.9-gcc12-time.patch   | 31 ++++++++++++++++++++++
 x11-misc/piedock/piedock-1.6.9.ebuild              |  3 ++-
 2 files changed, 33 insertions(+), 1 deletion(-)