Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947643 - sys-fs/ncdu-2.7-r1 - [gcc-15] c.zig: error: C import unavailable; Zig compiler built without LLVM extensions
Summary: sys-fs/ncdu-2.7-r1 - [gcc-15] c.zig: error: C import unavailable; Zig compile...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-06 21:22 UTC by Toralf Förster
Modified: 2025-02-17 01:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.00 KB, text/plain)
2025-01-06 21:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,162.46 KB, text/plain)
2025-01-06 21:22 UTC, Toralf Förster
Details
environment (environment,128.63 KB, text/plain)
2025-01-06 21:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-06 21:22 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.35 KB, application/x-xz)
2025-01-06 21:22 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,848 bytes, application/x-xz)
2025-01-06 21:22 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,44.12 KB, application/x-xz)
2025-01-06 21:22 UTC, Toralf Förster
Details
sys-fs:ncdu-2.7-r1:20250106-204645.log (sys-fs:ncdu-2.7-r1:20250106-204645.log,5.09 KB, text/plain)
2025-01-06 21:22 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-01-06 21:22:37 UTC
too long lines were shrinked:

>>> Compiling source in /var/tmp/portage/sys-fs/ncdu-2.7-r1/work/ncdu-2.7 ...
 * ZBS: compiling with: -j4 -Dtarget=native -Dcpu=native --release=safe --prefix-exe-dir bin/ --prefix-lib-dir lib64/ --prefix-include-dir include/ --prefix usr/ --libc /var/tmp/portage/sys-fs/ncdu-2.7-r1/temp/zig_libc.txt --summary all --verbose --build-file /var/tmp/portage/sys-fs/ncdu-2.7-r1/work
/usr/lib64/zig/0.13.0/bin/zig build-exe -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -lncursesw -ltinfow -lzstd -fno-strip -OReleaseFast -Mroot=/var/tmp/portage/sys-fs/ncdu-2.7-r1/work/ncdu-2.7/src/main.zig -lc --libc /var/tmp/portage/sys-fs/ncdu-2.7-r1/temp/zig_libc.txt --cache-dir
install
+- install ncdu
   +- zig build-exe ncdu ReleaseFast native 1 errors
/var/tmp/portage/sys-fs/ncdu-2.7-r1/work/ncdu-2.7/src/c.zig:4:15: error: C import unavailable; Zig compiler built without LLVM extensions
error: the following command failed with 1 compilation errors:
/usr/lib64/zig/0.13.0/bin/zig build-exe -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -lncursesw -ltinfow -lzstd -fno-strip -OReleaseFast -Mroot=/var/tmp/portage/sys-fs/ncdu-2.7-r1/work/ncdu-2.7/src/main.zig -lc --libc /var/tmp/portage/sys-fs/ncdu-2.7-r1/temp/zig_libc.txt --cache-dir

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

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

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

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

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


  HEAD of ::gentoo
commit 8116c82f94bf7f2a9d8408e52798cd8fbe42940d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 6 20:03:18 2025 +0000

    2025-01-06 20:03:18 UTC

emerge -qpvO =sys-fs/ncdu-2.7-r1
[ebuild  N    ] sys-fs/ncdu-2.7-r1  USE="-verify-sig"
Comment 1 Toralf Förster gentoo-dev 2025-01-06 21:22:38 UTC
Created attachment 916032 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-06 21:22:39 UTC
Created attachment 916033 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-01-06 21:22:41 UTC
Created attachment 916034 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-01-06 21:22:41 UTC
Created attachment 916035 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-01-06 21:22:42 UTC
Created attachment 916036 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-06 21:22:43 UTC
Created attachment 916037 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-06 21:22:44 UTC
Created attachment 916038 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-06 21:22:45 UTC
Created attachment 916039 [details]
sys-fs:ncdu-2.7-r1:20250106-204645.log
Comment 9 Toralf Förster gentoo-dev 2025-01-06 21:22:46 UTC
The file size of ./files/temp.tar.xz is too big (9.3M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_systemd-20250104-075002/var/tmp/tb/issues/20250106-204849-sys-fs_ncdu-2.7-r1/files/temp.tar.xz is valid.
Comment 10 Larry the Git Cow gentoo-dev 2025-02-17 01:52:24 UTC
The bug has been closed via the following commit(s):

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

commit 50555e8642e60d20fa140d5bd54730255d7aa7fa
Author:     Eric Joldasov <bratishkaerik@landless-city.net>
AuthorDate: 2025-02-16 17:54:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-17 01:49:58 +0000

    sys-fs/ncdu: require zig with LLVM
    
    Closes: https://bugs.gentoo.org/947643
    Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/ncdu/ncdu-2.7-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)