pkgsrc-Bugs archive

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

pkg/55563: /usr/pkgsrc/lang/zig 'make install' fails on arm64



>Number:         55563
>Category:       pkg
>Synopsis:       /usr/pkgsrc/lang/zig does not properly execute 'make install' on arm64 after successful 'make'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 12 15:25:00 +0000 2020
>Originator:     mac%culver.net@localhost
>Release:        NetBSD 9.99.69
>Organization:

>Environment:
System: NetBSD arm64 9.99.69 NetBSD 9.99.69 (GENERIC64) #0: Wed Jul 22 06:15:21 UTC 2020 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
# make install                                                                          /usr/pkgsrc/lang/zig
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Checking for vulnerabilities in zig-0.6.0nb1
===> Installing for zig-0.6.0nb1
=> Generating pre-install file lists
[  2%] Built target opt_c_util
[  6%] Built target zig_cpp
[ 82%] Built target embedded_softfloat
[ 97%] Built target zigcompiler
[ 99%] Built target zig0
[ 99%] Built target zig_build_libstage2
[100%] Built target zig
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/pkgsrc/lang/zig/work/.destdir/usr/pkg/bin/zig
-- Installing: /usr/pkg/lib
./lib/std/debug.zig:1763:52: error: no member named 'pc' in struct 'std.os.bits.netbsd.mcontext_t'
            const ip = @intCast(usize, ctx.mcontext.pc);
	                                                       ^
							       ::
							       :: ERROR: 1
							       :: (execute_process)
							       ::
							       :: argv: /usr/pkgsrc/lang/zig/work/zig-0.6.0/zig build --override-lib-dir /usr/pkgsrc/lang/zig/work/zig-0.6.0/lib -Dlib-files-only --prefix /usr/pkg -Dconfig_h=/usr/pkgsrc/lang/zig/work/zig-0.6.0/config.h install
							       ::
							       :: argv[0]: /usr/pkgsrc/lang/zig/work/zig-0.6.0/zig
							       :: argv[1]: build
							       :: argv[2]: --override-lib-dir
							       :: argv[3]: /usr/pkgsrc/lang/zig/work/zig-0.6.0/lib
							       :: argv[4]: -Dlib-files-only
							       :: argv[5]: --prefix
							       :: argv[6]: /usr/pkg
							       :: argv[7]: -Dconfig_h=/usr/pkgsrc/lang/zig/work/zig-0.6.0/config.h
							       :: argv[8]: install
							       ::
							       CMake Error at cmake/install.cmake:36 (message):
							       Call Stack (most recent call first):
							         cmake_install.cmake:58 (include)


*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/zig/work/zig-0.6.0
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/zig
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/zig

>How-To-Repeat:
# make install                                                                          /usr/pkgsrc/lang/zig
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Checking for vulnerabilities in zig-0.6.0nb1
===> Installing for zig-0.6.0nb1
=> Generating pre-install file lists
[  2%] Built target opt_c_util
[  6%] Built target zig_cpp
[ 82%] Built target embedded_softfloat
[ 97%] Built target zigcompiler
[ 99%] Built target zig0
[ 99%] Built target zig_build_libstage2
[100%] Built target zig
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/pkgsrc/lang/zig/work/.destdir/usr/pkg/bin/zig
-- Installing: /usr/pkg/lib
./lib/std/debug.zig:1763:52: error: no member named 'pc' in struct 'std.os.bits.netbsd.mcontext_t'
            const ip = @intCast(usize, ctx.mcontext.pc);
	                                                       ^
							       ::
							       :: ERROR: 1
							       :: (execute_process)
							       ::
							       :: argv: /usr/pkgsrc/lang/zig/work/zig-0.6.0/zig build --override-lib-dir /usr/pkgsrc/lang/zig/work/zig-0.6.0/lib -Dlib-files-only --prefix /usr/pkg -Dconfig_h=/usr/pkgsrc/lang/zig/work/zig-0.6.0/config.h install
							       ::
							       :: argv[0]: /usr/pkgsrc/lang/zig/work/zig-0.6.0/zig
							       :: argv[1]: build
							       :: argv[2]: --override-lib-dir
							       :: argv[3]: /usr/pkgsrc/lang/zig/work/zig-0.6.0/lib
							       :: argv[4]: -Dlib-files-only
							       :: argv[5]: --prefix
							       :: argv[6]: /usr/pkg
							       :: argv[7]: -Dconfig_h=/usr/pkgsrc/lang/zig/work/zig-0.6.0/config.h
							       :: argv[8]: install
							       ::
							       CMake Error at cmake/install.cmake:36 (message):
							       Call Stack (most recent call first):
							         cmake_install.cmake:58 (include)


*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/zig/work/zig-0.6.0
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/zig
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/zig

>Fix:



Home | Main Index | Thread Index | Old Index