pkgsrc-Bugs archive

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

pkg/57097: lang/zig build failure



>Number:         57097
>Category:       pkg
>Synopsis:       lang/zig build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 04 14:55:00 +0000 2022
>Originator:     Chavdar Ivanov
>Release:        pkgsrc -current as of 04/11/2022
>Organization:
CI4 Consulting Ltd
>Environment:
NetBSD ymir.lorien.lan 9.99.108 NetBSD 9.99.108 (GENERIC) #8: Sat Dec  3 12:17:06 GMT 2022  sysbuild%ymir.lorien.lan@localhost:/home/sysbuild/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
lang/zig build fails close the the end with:
.....
[ 97%] Built target zigstage1
[ 98%] Building CXX object CMakeFiles/zig1.dir/src/stage1/zig0.cpp.o
[ 98%] Linking CXX executable zig1
[ 98%] Built target zig1
[ 99%] Building stage2 object /usr/pkgsrc/lang/zig/work/zig-0.10.0/zig2.o
./lib/std/Thread/Futex.zig:724:33: error: expected integer type, found 'comptime_int'
            return addr >> @ctz(alignment);
                                ^
./lib/std/os.zig:5300:17: error: querying for canonical path of a handle is unsupported on this host
        else => @compileError("querying for canonical path of a handle is unsupported on this host"),
                ^
./lib/std/fs.zig:60:38: error: container 'std.os' has no member called 'MAXNAMLEN'
    .netbsd, .openbsd, .solaris => os.MAXNAMLEN,
                                     ^
*** Error code 1
...

>How-To-Repeat:
Repeat the conditions above. 
>Fix:
n/a



Home | Main Index | Thread Index | Old Index