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

Bug 715560

Summary: games-board/polyglot-1.4.70b-r3 : pgheader.c: error: conflicting types for uint64_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-board:polyglot-1.4.70b-r3:20200331-002242.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-31 07:06:45 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -c parse.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -c pgheader.c
pgheader.c:54:34: error: conflicting types for uint64_t
   54 |   typedef unsigned long long int uint64_t;
      |                                  ^~~~~~~~
In file included from /usr/include/endian.h:10,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 23:09:13 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO games-board/polyglot
[ebuild  N    ] games-board/polyglot-1.4.70b-r3
Comment 1 Toralf Förster gentoo-dev 2020-03-31 07:06:48 UTC
Created attachment 627714 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-31 07:06:51 UTC
Created attachment 627716 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-31 07:06:54 UTC
Created attachment 627718 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-31 07:06:57 UTC
Created attachment 627720 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-31 07:07:00 UTC
Created attachment 627722 [details]
games-board:polyglot-1.4.70b-r3:20200331-002242.log
Comment 6 Toralf Förster gentoo-dev 2020-03-31 07:07:02 UTC
Created attachment 627724 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-31 07:07:05 UTC
Created attachment 627726 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-31 10:29:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49476d85047c707e6f0812f0abf72cd5cb41c730

commit 49476d85047c707e6f0812f0abf72cd5cb41c730
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-03-31 10:26:47 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-03-31 10:27:25 +0000

    games-board/polyglot: Fix compilation with musl libc.
    
    Closes: https://bugs.gentoo.org/715560
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../polyglot/files/polyglot-1.4.70b-musl.patch     | 30 ++++++++++++++++++++++
 games-board/polyglot/polyglot-1.4.70b-r3.ebuild    |  5 +++-
 2 files changed, 34 insertions(+), 1 deletion(-)