Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 691890

Summary: dev-util/trinity-1.9 : /.../stat.h:19:2: error: unknown type name _s64
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16007
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:trinity-1.9:20190810-071226.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-08-10 08:21:46 UTC
                 from include/shm.h:6,
                 from syscalls/x86/modify_ldt.c:12:
/usr/include/linux/stat.h:19:2: error: unknown type name ‘__s64’
   19 |  __s64 tv_sec;
      |  ^~~~~
/usr/include/linux/stat.h:20:2: error: unknown type name ‘__u32’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20190807-021845

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

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

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

emerge -qpvO dev-util/trinity
[ebuild  N    ] dev-util/trinity-1.9  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2019-08-10 08:21:49 UTC
Created attachment 586462 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-10 08:21:52 UTC
Created attachment 586464 [details]
dev-util:trinity-1.9:20190810-071226.log
Comment 3 Toralf Förster gentoo-dev 2019-08-10 08:21:55 UTC
Created attachment 586466 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-10 08:21:57 UTC
Created attachment 586468 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-10 08:22:00 UTC
Created attachment 586470 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-10 08:22:03 UTC
Created attachment 586472 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-06-04 16:52:13 UTC
The bug has been closed via the following commit(s):

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

commit 60c15141b67ade8a68f93d322e884dc5bd5677c3
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-05-29 18:52:19 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-06-04 16:51:59 +0000

    dev-util/trinity: upstream patches
    
    Added upstream patches that fixes compilation of package.
    Closes: https://bugs.gentoo.org/691890
    Closes: https://bugs.gentoo.org/713640
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16007
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 dev-util/trinity/files/trinity-1.9-gcc10_fix.patch | 34 ++++++++++++++++++++++
 .../files/trinity-1.9-include_types_h.patch        | 33 +++++++++++++++++++++
 dev-util/trinity/trinity-1.9.ebuild                |  7 ++++-
 3 files changed, 73 insertions(+), 1 deletion(-)