Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683698 - app-admin/passwordsafe-1.07_beta : /.../pws_time.h:17:18: error: conflicting declaration typedef uint64_t _time_t
Summary: app-admin/passwordsafe-1.07_beta : /.../pws_time.h:17:18: error: conflicting ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hendrik v. Raven
URL: https://github.com/pwsafe/pwsafe/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-17 17:48 UTC by Toralf Förster
Modified: 2019-05-16 11:01 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.82 KB, text/plain)
2019-04-17 17:48 UTC, Toralf Förster
Details
app-admin:passwordsafe-1.07_beta:20190417-002409.log (app-admin:passwordsafe-1.07_beta:20190417-002409.log,11.97 KB, text/plain)
2019-04-17 17:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,181.06 KB, text/plain)
2019-04-17 17:48 UTC, Toralf Förster
Details
environment (environment,112.88 KB, text/plain)
2019-04-17 17:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,36.85 KB, application/x-bzip)
2019-04-17 17:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.14 KB, application/x-bzip)
2019-04-17 17:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.20 KB, application/x-bzip)
2019-04-17 17:48 UTC, Toralf Förster
Details
Patch to check if time type is already defined. (passwordsafe-1.07_beta-time.patch,368 bytes, patch)
2019-04-28 10:45 UTC, Benjamin Southall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-17 17:48:27 UTC
                 from /var/tmp/portage/app-admin/passwordsafe-1.07_beta/work/pwsafe-1.07BETA/src/core/AES.h:16,
                 from /var/tmp/portage/app-admin/passwordsafe-1.07_beta/work/pwsafe-1.07BETA/src/core/AES.cpp:13:
/var/tmp/portage/app-admin/passwordsafe-1.07_beta/work/pwsafe-1.07BETA/src/os/unix/pws_time.h:17:18: error: conflicting declaration ‘typedef uint64_t __time_t’
 typedef uint64_t __time64_t;
                  ^~~~~~~~~~
/usr/include/bits/types.h:160:26: note: previous declaration as ‘typedef long int __time_t’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_20190412-102334

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.34.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpvO app-admin/passwordsafe
[ebuild  N    ] app-admin/passwordsafe-1.07_beta  USE="xml -libressl -minimal -qr -test -xvkbd -yubikey"
Comment 1 Toralf Förster gentoo-dev 2019-04-17 17:48:30 UTC
Created attachment 573192 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-17 17:48:32 UTC
Created attachment 573194 [details]
app-admin:passwordsafe-1.07_beta:20190417-002409.log
Comment 3 Toralf Förster gentoo-dev 2019-04-17 17:48:35 UTC
Created attachment 573196 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-04-17 17:48:38 UTC
Created attachment 573198 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-04-17 17:48:41 UTC
Created attachment 573200 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-17 17:48:43 UTC
Created attachment 573202 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-04-17 17:48:46 UTC
Created attachment 573204 [details]
temp.tbz2
Comment 8 Hendrik v. Raven 2019-04-18 06:36:11 UTC
This is already reported upstream here: https://github.com/pwsafe/pwsafe/issues/541
There it is labeled as an issue with recent glibc + gcc. I will try to verify it and try to find a patch.
Comment 9 Benjamin Southall 2019-04-28 10:45:32 UTC
Created attachment 574504 [details, diff]
Patch to check if time type is already defined.

The following patch works / fixes the build locally on my Gentoo system.
Comment 10 Hendrik v. Raven 2019-05-04 15:00:26 UTC
upstream fixed it a few days ago and released a new version. I updated the ebuild and opened a PR to get it merged.
Comment 11 Hendrik v. Raven 2019-05-16 11:01:39 UTC
should be fixed by updating to 1.08