On my machine, I can't build Firebird anymore. Doing some tracing, the
problem is introduced by commit "Use cloop cmake build"
(
https://github.com/FirebirdSQL/firebird/commit/b7f5b4bf3673f1b78858a58edad81c8c2171a363)
Possibly it was by "cloop was updated upstream. Merge it here."
(
https://github.com/FirebirdSQL/firebird/commit/30d835aec9eec78150d2c2c01e6786852201a2cb),
but that specific commit fails with a different error
I have the (default) Windows protection of the C:\ root directory
enabled, and the build tries to create a file there, instead of
somewhere in the build directory for Firebird
The error when running run_all JUSTBUILD is:
"""
def_awk.c
C:\Dev\fb\firebird\src\misc\def_awk.c : fatal error C1083: Cannot open
compiler generated file: 'C:\def_awk.obj': Permission denied
Error building interfaces, see interfaces_x64.log
"""
The contents of interfaces_x64.log is:
"""
Microsoft (R) Program Maintenance Utility Version 14.44.35222.0
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35222 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1077: 'cl /FeC:\Dev\fb\firebird\gen\def_awk.exe
/Fo\ C:\Dev\fb\firebird\src\misc\def_awk.c' : return code '0x1'
Stop.
"""
I have traced it down to the deletion of the line
`UTL_TMP_DIR=$(FB_TEMP_DIR)\Release\misc` in
builds/win32/gen_helper.nmake, but putting back the original line then
produces error:
"""
def_awk.c
C:\Dev\fb\firebird\src\misc\def_awk.c : fatal error C1083: Cannot open
compiler generated file:
'C:\Dev\fb\firebird\temp\x64\Release\misc\def_awk.obj': No such file or
directory
Error building interfaces, see interfaces_x64.log
"""
I'm not sure where I need to put these files now.
Mark
--
Mark Rotteveel