Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949878 - dev-lang/zig-0.13.0-r3 fails test - [texlive] [gcc-15] error: /.../source.h: fatal error: stdbool.h not found
Summary: dev-lang/zig-0.13.0-r3 fails test - [texlive] [gcc-15] error: /.../source.h: ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eric Joldasov
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-02-17 19:55 UTC by Toralf Förster
Modified: 2025-03-04 22:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.47 KB, text/plain)
2025-02-17 19:55 UTC, Toralf Förster
Details
dev-lang:zig-0.13.0-r3:20250217-173614.log.xz (dev-lang:zig-0.13.0-r3:20250217-173614.log.xz,118.32 KB, application/x-xz)
2025-02-17 19:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.02 KB, text/plain)
2025-02-17 19:55 UTC, Toralf Förster
Details
environment (environment,159.21 KB, text/plain)
2025-02-17 19:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.23 KB, application/x-xz)
2025-02-17 19:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.69 KB, application/x-xz)
2025-02-17 19:55 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,38.53 KB, application/x-xz)
2025-02-17 19:55 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,143.11 KB, text/plain)
2025-02-17 19:55 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.35 KB, application/x-xz)
2025-02-17 19:55 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 2025-02-17 19:55:19 UTC
/var/tmp/portage/dev-lang/zig-0.13.0-r3/work/zig-0.13.0_build/stage3/bin/zig translate-c -lc --listen=- /var/tmp/portage/dev-lang/zig-0.13.0-r3/temp/zig-cache/local/o/b814872bc41a07ebeab55c40683ff95f/source.h 
test
+- test-cases
   +- test-translate-c
      +- CheckFile
         +- translate-c implicit casts failure
error: /var/tmp/portage/dev-lang/zig-0.13.0-r3/temp/zig-cache/local/o/d7e8d4fff337f00858739f6478a44f8b/source.h:1:10: fatal error: 'stdbool.h' not found
#include <stdbool.h>
         ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd_test-20250215-194501

  UNMASKED:

    
  <sys-devel/gcc-15.0.9999:15

    
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 7a6da9da8be94a3245bf8d3c17f0dda5bd2167a9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 17 17:18:32 2025 +0000

    2025-02-17 17:18:32 UTC

emerge -qpvO =dev-lang/zig-0.13.0-r3
[ebuild  N    ] dev-lang/zig-0.13.0-r3  USE="-debug -doc -llvm -verify-sig" LLVM_SLOT="18"
Comment 1 Toralf Förster gentoo-dev 2025-02-17 19:55:21 UTC
Created attachment 919201 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-17 19:55:22 UTC
Created attachment 919202 [details]
dev-lang:zig-0.13.0-r3:20250217-173614.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-02-17 19:55:23 UTC
Created attachment 919203 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-02-17 19:55:25 UTC
Created attachment 919204 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-02-17 19:55:25 UTC
Created attachment 919205 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-17 19:55:26 UTC
Created attachment 919206 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-17 19:55:27 UTC
Created attachment 919207 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-02-17 19:55:29 UTC
Created attachment 919208 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-02-17 19:55:30 UTC
Created attachment 919209 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-03-04 22:08:59 UTC
The bug has been referenced in the following commit(s):

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

commit 8f091ec5a8f33a72c0d57b1588d7b6ca18f1ee01
Author:     Eric Joldasov <bratishkaerik@landless-city.net>
AuthorDate: 2025-03-04 19:54:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-04 22:05:20 +0000

    dev-lang/zig: run tests with LLVM enabled and in Debug mode on 9999
    
    Upstream uses release mode only for behavior tests, full suite is run
    primarily with Debug, so other modes tend to fail with strange errors.
    
    Seems like no other distro runs them in different modes, so align it
    with upstream and everyone else.
    
    Also restore `RESTRICT=test` for LLVM-disabled builds; it was removed
    by mistake in some previous commit.
    
    Bug: https://bugs.gentoo.org/949878
    Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
    Closes: https://github.com/gentoo/gentoo/pull/40891
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/zig/zig-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)