Closed TimB87 closed 3 years ago
Hi @ifreund
if a system is updated to llvm 13 you are forced to build zig from master, as 0.8.1 will only accept llvm 12.x.x.
With zig master, the build fails, it seems that functions have moved around a little.
=======> Building '/home/pkgmk/packages_thor/rundird#0.2.0-1.pkg.tar.xz'. bsdtar -p -o -C /home/ramdisk/rundird/src -xf /home/pkgmk/distfiles/rundird-0.2.0.tar.gz cp rundird.service /home/ramdisk/rundird/src + build + cd rundird-0.2.0 + DESTDIR=/home/ramdisk/rundird/pkg + zig build --prefix /usr -Drelease-safe=true install ./build.zig:26:12: error: no member named 'addBuildOption' in struct 'std.build.LibExeObjStep' rundird.addBuildOption([]const u8, "socket_path", socket_path); ^ /usr/lib/zig/std/special/build_runner.zig:189:24: note: referenced here .ErrorUnion => try root.build(builder), ^ =======> ERROR: Building '/home/pkgmk/packages/rundird#0.2.0-1.pkg.tar.xz' failed. -- Packages where update failed rundird
I tried poking around but I can't find the proper solution to this.
Hi, I'd recommend downloading zig 0.8.0 from https://ziglang.org/download in this case. The binaries are statically linked and include everything you need. I'll update river to zig 0.9.0 before 0.9.0 releases.
Hi @ifreund
if a system is updated to llvm 13 you are forced to build zig from master, as 0.8.1 will only accept llvm 12.x.x.
With zig master, the build fails, it seems that functions have moved around a little.
I tried poking around but I can't find the proper solution to this.