#dev-lang/zig fails to build

1 messages · Page 1 of 1 (latest)

delicate relic
#

I've also tried disablling LTO for this package, but it doesn't seem to work. I'll give the full log file since wl-copy doesn't seem to want to copy the file.
Also, I've tried doing MAKEOPTS="-j1" but for some reason, that does nothing, since I can still see -j8 in some parts of the log. Any clue? sadhamster2

#
 * ERROR: dev-lang/zig-0.14.0::gentoo failed (compile phase):
 *   ZBS: compilation failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3036:  Called zig_src_compile '--prefix' 'stage3/'
 *   environment, line 4850:  Called die
 * The specific snippet of code:
 *       DESTDIR="${BUILD_DIR}" nonfatal ezig build "${args[@]}" || die "ZBS: compilation failed";
 *
 * If you need support, post the output of `emerge --info '=dev-lang/zig-0.14.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/zig-0.14.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/zig-0.14.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/zig-0.14.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/zig-0.14.0/work/zig-0.14.0_build'
 * S: '/var/tmp/portage/dev-lang/zig-0.14.0/work/zig-0.14.0'``` this is the error snippet btw
#

and this is ~amd64

delicate relic
#

Solved? Kinda, my workaround was disabling llvm from its USE flags

delicate relic
#

absolutely not solved, river needs zig to be compiled with llvm so yeah

delicate relic
#

I'm trying out masking the current zig version and compiling 0.13... I'll keep you updated......

delicate relic
#

I don't know what the fuck happened but a zig binary appeared in my system and it compiled river successfuly

#

Is there a idfk what happened tag

marsh steppe
#

fuck zig

#

consider this self protection

delicate relic
#

I somehow emerged zig-bin lol

#

didn't really look into that existing

#

my bad

sharp chasm
#
/var/tmp/portage/dev-lang/zig-0.14.0/temp/environment: line 1571:   104 Segmentation fault      (core dumped) "${ZIG_EXE}" "${@}"