Package Details: zig 0.2.0-3

Git Clone URL: https://aur.archlinux.org/zig.git (read-only)
Package Base: zig
Description: a programming language prioritizing robustness, optimality, and clarity
Upstream URL: https://ziglang.org/
Licenses: MIT
Submitter: xyproto
Maintainer: tiehuis
Last Packager: tiehuis
Votes: 9
Popularity: 0.699479
First Submitted: 2016-08-29 09:30
Last Updated: 2018-06-24 23:42

Latest Comments

1 2 Next › Last »

lefsha commented on 2018-06-24 13:49

It seems LLVM or at least corresponding includes are required!

Could NOT find LLVM (missing: LLVM_INCLUDE_DIRS) fatal error: llvm/ADT/Hashing.h: No such file or directory Please, add it to avoid manual messing with dependencies.

tiehuis commented on 2018-06-21 10:55

clang has llvm as a transitive dependency and didn't seem necessary hence why I removed it. I'll check why this doesn't seem to work and may add it back. Will investigate that warning but it shouldn't have any bad effect.

ifschleife commented on 2018-06-19 20:55

This has a missing build dependency on extra/llvm so it will fail unless that is installed. I'm not sure if that was removed as a fix for antoyo's problem(?) Anyway, it builds fine after installing llvm.

When makepkg is done it gives the following warning though: ==> WARNING: Package contains reference to $srcdir usr/bin/zig

What's that about?

tiehuis commented on 2018-06-08 12:35

These are build artifacts that are intended for the stage2 compiler but they shouldn't be distributed. I'll make an update sometime to omit since they are not necessary for the binary to work (we build and install the stage1 compiler only right now).

cosarara97 commented on 2018-06-07 16:35

It seems certain files are ending up in the package under the build path:

> pacman -Ql zig
zig /home/
zig /home/jaume/
zig /home/jaume/.cache/
zig /home/jaume/.cache/pacaur/
zig /home/jaume/.cache/pacaur/zig/
zig /home/jaume/.cache/pacaur/zig/src/
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/libembedded_lld_coff.a
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/libembedded_lld_elf.a
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/libembedded_lld_lib.a
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/libembedded_lld_mingw.a
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/libembedded_lld_wasm.a
zig /home/jaume/.cache/pacaur/zig/src/zig-0.2.0/build/zig_cpp/libzig_cpp.a

antoyo commented on 2018-04-26 11:40

It works, thank you.

tiehuis commented on 2018-04-26 08:06

I've pushed a change to disable the tests for the moment. This isn't optimal but the build is a bit annoying on the 0.2.0 release. For the 0.3.0 onwards we'll be able to use a fully static build and avoid the required LLVM/Clang dependencies which usually cause some issues.

I couldn't replicate your issue exactly so let me know if it persists and I'll have another look.

As a reminder we have fully static linux x86-64 builds that should work out of the box here: https://ziglang.org/download/

antoyo commented on 2018-04-26 02:09

The build is failing for me. Could you please fix it? I get the following error: Unable to determine Windows SDK path. The following command terminated unexpectedly: ./zig build-exe /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/src-self-hosted/main.zig --object /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/zig_cpp/libzig_cpp.a --object /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/zig_cpp/libembedded_lld_elf.a --object /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/zig_cpp/libembedded_lld_coff.a --object /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/zig_cpp/libembedded_lld_lib.a --object /usr/lib/libstdc++.a --cache-dir /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/zig-cache --output /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/zig-cache/zig --name zig --library c --library LLVM-6.0 --library xml2 --library pthread -isystem /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/src -isystem /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test -isystem /usr/include --library-path /usr/lib error: UncleanExit /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/build.zig:586:17: 0x271f76 in ??? (build) return error.UncleanExit; ^ /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/build.zig:1339:9: 0x29d31f in ??? (build) try builder.spawnChild(zig_args.toSliceConst()); ^ /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/build.zig:1970:9: 0x24814a in ??? (build) try self.makeFn(self); ^ /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/build.zig:306:9: 0x247165 in ??? (build) try s.make(); ^ /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/build.zig:300:17: 0x247116 in ??? (build) return err; ^ /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/build.zig:252:13: 0x2406ce in ??? (build) try self.makeOneStep(s); ^ /home/antoyo/.cache/pikaur/build/zig/src/zig-0.2.0/build_test/lib/zig/std/special/build_runner.zig:129:9: 0x23d9c9 in ??? (build) return err; ^

Build failed. The following command failed: ./../zig-cache/build ./zig ./.. ./../zig-cache test ==> ERREUR : Une erreur s’est produite dans check(). Abandon... La commande 'makepkg --syncdeps --rmdeps --force' a échoué.

tiehuis commented on 2018-03-27 05:30

Thanks for that. There is a current llvm issue I'm in the process of resolving and will be updated once I determine the cause.

kageurufu commented on 2018-03-26 20:56

llvm is at 6.0.0, it should be safe to release 0.2.0 now