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

Bug 944192

Summary: dev-lang/uasm-2.56.2 - [ncurses-6.5] [meson] [libtool] [gcc-15] H/bool.h: error: two or more data types in declaration specifiers
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: NRK <nrk>
Status: RESOLVED FIXED    
Severity: normal CC: arthurzam, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40969
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
dev-lang:uasm-2.56.2:20241120-172028.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-20 17:44:31 UTC
make -O -j4 -f gccLinux64.mak CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -fcommon -Wno-error=incompatible-pointer-types' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 ' 
mkdir -p GccUnixR
x86_64-pc-linux-gnu-gcc -D __UNIX__ -c -IH -D __UNIX__ -DNDEBUG -O2 -funsigned-char -Wwrite-strings -O2 -pipe -march=native -fno-diagnostics-color -fcommon -Wno-error=incompatible-pointer-types  -o GccUnixR/apiemu.o apiemu.c
x86_64-pc-linux-gnu-gcc -D __UNIX__ -c -IH -D __UNIX__ -DNDEBUG -O2 -funsigned-char -Wwrite-strings -O2 -pipe -march=native -fno-diagnostics-color -fcommon -Wno-error=incompatible-pointer-types  -o GccUnixR/msgtext.o msgtext.c
In file included from H/globals.h:200,
                 from msgtext.c:11:
H/bool.h:35:27: error: two or more data types in declaration specifiers
   35 |     typedef unsigned char bool;
      |                           ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 15dbd8d74c3e5d48aa50271ddcff2b3854db8d67
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 20 16:03:28 2024 +0000

    2024-11-20 16:03:28 UTC

emerge -qpvO =dev-lang/uasm-2.56.2
[ebuild  N    ] dev-lang/uasm-2.56.2
Comment 1 Toralf Förster gentoo-dev 2024-11-20 17:44:32 UTC
Created attachment 910794 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-20 17:44:33 UTC
Created attachment 910795 [details]
dev-lang:uasm-2.56.2:20241120-172028.log
Comment 3 Toralf Förster gentoo-dev 2024-11-20 17:44:34 UTC
Created attachment 910796 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-20 17:44:35 UTC
Created attachment 910797 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-20 17:44:36 UTC
Created attachment 910798 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-20 17:44:37 UTC
Created attachment 910799 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-20 17:44:38 UTC
Created attachment 910800 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-20 17:44:39 UTC
Created attachment 910801 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-20 17:44:40 UTC
Created attachment 910802 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-10 00:22:54 UTC
The bug has been closed via the following commit(s):

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

commit f1ad5f3ab6fec658da13c94151de756ccc6373be
Author:     NRK <nrk@disroot.org>
AuthorDate: 2025-03-08 20:52:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 00:21:24 +0000

    dev-lang/uasm: replace custom bool with stdbool.h
    
    Closes: https://bugs.gentoo.org/944192
    Signed-off-by: NRK <nrk@disroot.org>
    Closes: https://github.com/gentoo/gentoo/pull/40969
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/uasm/files/bool-fix.diff | 18 ++++++++++++++++++
 dev-lang/uasm/uasm-2.56.2.ebuild  |  3 ++-
 dev-lang/uasm/uasm-2.57.ebuild    |  1 +
 3 files changed, 21 insertions(+), 1 deletion(-)