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

Bug 796596

Summary: dev-lang/zig: keywording
Product: Gentoo Linux Reporter: Aisha Tammy <gentoo>
Component: KeywordingAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: mgorny, ppc64, x86
Priority: Normal Keywords: CC-ARCHES, PullRequest
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: All   
OS: Linux   
URL: https://github.com/gentoo/gentoo/pull/21296
Whiteboard:
Package list:
>=dev-lang/zig-0.7.1 amd64 arm arm64 ppc64 x86
Runtime testing required: ---
Bug Depends on: 823086    
Bug Blocks:    

Description Aisha Tammy 2021-06-18 10:49:45 UTC
upstream says that it can be made on all LLVM archs so we can keyword for all of them.
Comment 1 NATTkA bot gentoo-dev 2021-06-18 10:56:21 UTC Comment hidden (obsolete)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-18 13:02:17 UTC
(Avoid CCing arches manually, let the bot. do it. when it's ready)
Comment 3 ernsteiswuerfel archtester 2021-08-27 20:32:00 UTC
zig succesfully builds on ppc64 but it won't install as this arch is not supported. ;)

[...]
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: dev-lang/zig-0.8.0

>>> Install dev-lang/zig-0.8.0 into /var/tmp/portage/dev-lang/zig-0.8.0/image
 * Working in BUILD_DIR: "/var/tmp/portage/dev-lang/zig-0.8.0/work/zig-0.8.0/build"
[0/1] Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/dev-lang/zig-0.8.0/image/usr/bin/zig
-- Set runtime path of "/var/tmp/portage/dev-lang/zig-0.8.0/image/usr/bin/zig" to ""
-- Installing: /usr/lib
./lib/std/start.zig:240:17: error: unsupported arch
        else => @compileError("unsupported arch"),
                ^
::
:: ERROR: 1
:: (execute_process)
Comment 4 Niklaus 'vimja' Hofer 2021-11-08 00:59:59 UTC
I can confirm that dev-lang/zig builds successfully on arm64 (aarch64). I have been using 0.8.0 for a while now and have not experienced any issues.
Comment 5 Arthur Zamarin gentoo-dev 2021-11-21 04:58:31 UTC
arm64 done
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-11-21 09:49:52 UTC
arm64 done
Comment 7 ernsteiswuerfel archtester 2021-12-06 20:34:34 UTC
It builds on ppc64 but tells us afterwards it'S not supported:

[...]
[0/1] Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/dev-lang/zig-0.8.1-r1/image/usr/bin/zig
-- Set runtime path of "/var/tmp/portage/dev-lang/zig-0.8.1-r1/image/usr/bin/zig" to ""
-- Installing: /usr/lib
./lib/std/start.zig:241:17: error: unsupported arch
        else => @compileError("unsupported arch"),
                ^
::
:: ERROR: 1
:: (execute_process)
Comment 8 Arthur Zamarin gentoo-dev 2021-12-25 17:27:00 UTC
arm done