Build failure for branch 4324

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Build failure for branch 4324

Postby Satrajit » Tue Feb 09, 2021 4:11 am

Pasting the failure logs...

[47/46225] STAMP obj/cef/libcef/common/extensions/api/cef_permission_features_json_features.stamp
[48/46225] STAMP obj/chrome/browser/resources/extensions/preprocess.stamp
[49/46225] LIB obj/base/third_party/dynamic_annotations/dynamic_annotations.lib
FAILED: obj/base/third_party/dynamic_annotations/dynamic_annotations.lib
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /lib /nologo -libpath:..\..\third_party\llvm-build\Release+Asserts\lib\clang\12.0.0\lib\windows "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" /ignore:4221 /OUT:obj/base/third_party/dynamic_annotations/dynamic_annotations.lib @obj/base/third_party/dynamic_annotations/dynamic_annotations.lib.rsp
obj/base/third_party/dynamic_annotations/dynamic_annotations.lib: permission denied
lld-link: error: lib failed
[50/46225] LIB obj/base/win/pe_image.lib
FAILED: obj/base/win/pe_image.lib
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /lib /nologo -libpath:..\..\third_party\llvm-build\Release+Asserts\lib\clang\12.0.0\lib\windows "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" /ignore:4221 /OUT:obj/base/win/pe_image.lib @obj/base/win/pe_image.lib.rsp
obj/base/win/pe_image.lib: permission denied
lld-link: error: lib failed
[51/46225] LIB obj/base/third_party/double_conversion/double_conversion.lib
FAILED: obj/base/third_party/double_conversion/double_conversion.lib
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /lib /nologo -libpath:..\..\third_party\llvm-build\Release+Asserts\lib\clang\12.0.0\lib\windows "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "-libpath:..\..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" /ignore:4221 /OUT:obj/base/third_party/double_conversion/double_conversion.lib @obj/base/third_party/double_conversion/double_conversion.lib.rsp
obj/base/third_party/double_conversion/double_conversion.lib: permission denied
lld-link: error: lib failed
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Build failure for branch 4324

Postby Satrajit » Tue Feb 09, 2021 9:02 am

SDK 10.0.19041.0 version
VS 2017 15.9.4

https://bitbucket.org/chromiumembedded/ ... figuration
reinstalled VS and SDK, did setup the environment variables as mentioned. Still failing at the similar location.

Any leads where I am going wrong?
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Build failure for branch 4324

Postby magreenblatt » Tue Feb 09, 2021 10:15 am

Looks like a permissions issue. Are you running as a normal user account? Do you have sufficient disk space?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build failure for branch 4324

Postby Satrajit » Tue Feb 09, 2021 11:20 am

I have enough disk space (~100Gb left after the code download).
Running it from the bash. I am really stuck with the builds.
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Build failure for branch 4324

Postby Satrajit » Tue Feb 09, 2021 11:32 am

Getting the issue in both admin and non-admin run.
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Build failure for branch 4324

Postby magreenblatt » Tue Feb 09, 2021 12:09 pm

You should use cmd.exe as a normal user.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Build failure for branch 4324

Postby Satrajit » Tue Feb 09, 2021 12:14 pm

Just updated, Getting similar error with cmd.exe as a normal user
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Build failure for branch 4324

Postby mlafon » Wed Feb 10, 2021 9:34 am

I have the same issue. Branch 4324, cmd.exe, standard user, all lld-link steps fail with a 'permission denied' error while there is no permission issue on these files.

@Satrajit, have you found an explanation or a solution?
mlafon
Newbie
 
Posts: 4
Joined: Wed Aug 24, 2016 9:00 am

Re: Build failure for branch 4324

Postby Satrajit » Mon Feb 15, 2021 4:44 am

No I still don't have the solution. Fully stuck here.

@magreenblatt anything that I should try?
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am

Re: Build failure for branch 4324

Postby ndesktop » Mon Feb 15, 2021 11:29 am

Did you use a clean folder with cmd as normal user? Because if you first run as admin and then as normal user, it will still be plagued with readonly access for normal user on files created by admin.
Look on obj/base/third_party/dynamic_annotations/dynamic_annotations.lib file in Security tab. If Administrators have Write and both Users and Autenticated Users do not, that would be the problem.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 123 guests