Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854144 - app-admin/passwordsafe-1.15.0 - /.../pws_time.cpp: error: localtime_r was not declared in this scope
Summary: app-admin/passwordsafe-1.15.0 - /.../pws_time.cpp: error: localtime_r was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-24 19:23 UTC by Toralf Förster
Modified: 2022-06-30 21:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.80 KB, text/plain)
2022-06-24 19:23 UTC, Toralf Förster
Details
app-admin:passwordsafe-1.15.0:20220624-185651.log (app-admin:passwordsafe-1.15.0:20220624-185651.log,21.51 KB, text/plain)
2022-06-24 19:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,224.89 KB, text/plain)
2022-06-24 19:23 UTC, Toralf Förster
Details
environment (environment,106.98 KB, text/plain)
2022-06-24 19:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,43.76 KB, application/x-bzip)
2022-06-24 19:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.75 KB, application/x-bzip)
2022-06-24 19:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.45 KB, application/x-bzip)
2022-06-24 19:23 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-24 19:23:28 UTC
too long lines were shrinked:

[13/178] /usr/bin/x86_64-pc-linux-gnu-g++ -DUSE_XML_LIBRARY=XERCES -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/var/tmp/portage/app-admin/passwordsafe-1.15.0/work/pwsafe-1.15.0/src/os -I/var/tmp/portage/app-admin/passwordsafe-1.15.0/work/pwsafe-1.15.0/src/core -I/var/tmp/portage/app-admin/pass
FAILED: src/os/CMakeFiles/os.dir/unix/pws_time.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DUSE_XML_LIBRARY=XERCES -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/var/tmp/portage/app-admin/passwordsafe-1.15.0/work/pwsafe-1.15.0/src/os -I/var/tmp/portage/app-admin/passwordsafe-1.15.0/work/pwsafe-1.15.0/src/core -I/var/tmp/portage/app-admin/passwordsafe-
/var/tmp/portage/app-admin/passwordsafe-1.15.0/work/pwsafe-1.15.0/src/os/unix/pws_time.cpp: In function int localtime64_r(const __time64_t*, tm*)’:
/var/tmp/portage/app-admin/passwordsafe-1.15.0/work/pwsafe-1.15.0/src/os/unix/pws_time.cpp:30:10: error: localtime_r’ was not declared in this scope; did you mean localtime64_r’?
   30 |   return localtime_r(tp, result) != nullptr;
      |          ^~~~~~~~~~~

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

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

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

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 Rust versions:
  [1]   rust-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:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 0f72f359146b087092ded08fa368ed2418904a18
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 24 17:17:43 2022 +0000

    2022-06-24 17:17:43 UTC

emerge -qpvO app-admin/passwordsafe
[ebuild  N    ] app-admin/passwordsafe-1.15.0  USE="xml -qr -test -yubikey"
Comment 1 Toralf Förster gentoo-dev 2022-06-24 19:23:29 UTC
Created attachment 787433 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-24 19:23:30 UTC
Created attachment 787436 [details]
app-admin:passwordsafe-1.15.0:20220624-185651.log
Comment 3 Toralf Förster gentoo-dev 2022-06-24 19:23:32 UTC
Created attachment 787439 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-24 19:23:33 UTC
Created attachment 787442 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-24 19:23:35 UTC
Created attachment 787445 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-24 19:23:36 UTC
Created attachment 787448 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-24 19:23:37 UTC
Created attachment 787451 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-30 21:32:39 UTC
The bug has been closed via the following commit(s):

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

commit 1cb089fd5ce61c66ead34b6fbd57e6d8f61336ea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-30 21:32:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-30 21:32:31 +0000

    app-admin/passwordsafe: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/854144
    Signed-off-by: Sam James <sam@gentoo.org>

 .../passwordsafe/files/passwordsafe-1.15.0-gcc12-time.patch | 13 +++++++++++++
 app-admin/passwordsafe/passwordsafe-1.15.0.ebuild           |  4 ++++
 2 files changed, 17 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2022-06-30 21:36:27 UTC
The bug has been referenced in the following commit(s):

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

commit 8e3f4199c3e2f77f7e2d4d02f3430b4e407b07e7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-30 21:36:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-30 21:36:21 +0000

    app-admin/passwordsafe: add link to upstream PR
    
    Bug: https://bugs.gentoo.org/854144
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/passwordsafe/files/passwordsafe-1.15.0-gcc12-time.patch | 1 +
 1 file changed, 1 insertion(+)