pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/zig



> Hi, 
> 
> Just a heads-up, in case it hasn't been noticed. Zig 0.14 has been released. I tried building it under NetBSD-current (so far just amd64), with no success. At the same time my builds following the latest github head are all just fine. 
> 
> I had consistent problems building zig 0.14 from github between mid-October and February; a few weeks ago it started building again and today I was also able to build zig 0.15. I would guess that the language developers have tagged as 0.14 a version from the bad interval above. 
> 
> At the moment I have:
> 
> $ uname -a
> NetBSD ym1r.lorien.lan 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Thu Feb  6 05:42:06 GMT 2025  root%ym1r.lorien.lan@localhost:/bd/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
> $ zig version
> 0.15.0-dev.2+79460d4a3
> 
> The tests (zig build test-behavior) complete, with many skips and a lot of 'LinkQuotaExceeded' messages, I found where the message is being issued but could not figure out the underlying reason on NetBSD. 
> 
> Of course, zig 0.15 and above require llvm 19.1.x to build, I use it from wip. 
> 
> 
> Chavdar

Zig 0.14.0 builds fine for me. The only problem I currently have is rpath to work directory being stored in bin/zig. I don't know how to fix that yet.

Have you buildlink'ed against wip/llvm,clang,lld?

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index