tech-pkg archive

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

Re: zig 0.12.0 fails to install



On Wed, Apr 24, 2024 at 09:44:43AM +0200, Nikita Ronja Gillmann wrote:
> With a cvs checkout from roughly 14 hours ago, zig fails to install. anyone
> got an idea what could be going on here?
> 
> 
> [100%] Built target stage3
> Install the project...
> -- Install configuration: "Release"
> error: AccessDenied
> ::
> :: ERROR: 1
> :: (execute_process)
> ::
> :: argv: /tmp/work/zig-0.12.0/cmake-pkgsrc-build/zig2 build --zig-lib-dir /tmp/work/zig-0.12.0/lib -Dconfig_h=/tmp/work/zig-0.12.0/cmake-pkgsrc-build/config.h -Denable-llvm -Doptimize=ReleaseFast -Dstrip -Dno-langr
> ef -Dtarget=native -Dcpu=baseline -Dversion-string=0.12.0 --prefix /usr/pkg
> ::
> :: argv[0]: /tmp/work/zig-0.12.0/cmake-pkgsrc-build/zig2
> :: argv[1]: build
> :: argv[2]: --zig-lib-dir
> :: argv[3]: /tmp/work/zig-0.12.0/lib
> :: argv[4]: -Dconfig_h=/tmp/work/zig-0.12.0/cmake-pkgsrc-build/config.h
> :: argv[5]: -Denable-llvm
> :: argv[6]: -Doptimize=ReleaseFast
> :: argv[7]: -Dstrip
> :: argv[8]: -Dno-langref
> :: argv[9]: -Dtarget=native
> :: argv[10]: -Dcpu=baseline
> :: argv[11]: -Dversion-string=0.12.0
> :: argv[12]: --prefix
> :: argv[13]: /usr/pkg
> ::
> CMake Error at /tmp/work/zig-0.12.0/cmake/install.cmake:26 (message):
> Call Stack (most recent call first):
>   cmake_install.cmake:57 (include)
> 
> 
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /tmp/work/zig-0.12.0/cmake-pkgsrc-build
> *** Error code 1

Looks like it doesn't consider DESTDIR and wants to write to PREFIX, which it can't?
 Thomas


Home | Main Index | Thread Index | Old Index