Build Failed: 4103 "ValueError: Var is the only allowed fun"

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 Failed: 4103 "ValueError: Var is the only allowed fun"

Postby tanmaydesai46 » Mon Oct 05, 2020 8:10 am

I tried to build the branch 4103 with codecs support enable and it results in the failure: "ValueError : Var is the only allowed function(file ..\chromium_git\\chromium\\src\\DEPS, Line 162)"

Update.bat:
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
set DEPOT_TOOLS_UPDATE=0
python ..\automate\automate-git.py --download-dir=D:\code\chromium_git --depot-tools-dir=D:\code\depot_tools --minimal-distrib --client-distrib --branch=4103

I had tried updating the %path% with setting the depot tools at top still the same issue.
Attachments
Capture.PNG
Capture.PNG (46.13 KiB) Viewed 3263 times
tanmaydesai46
Newbie
 
Posts: 3
Joined: Mon Oct 05, 2020 8:01 am

Re: Build Failed: 4103 "ValueError: Var is the only allowed

Postby magreenblatt » Mon Oct 05, 2020 9:51 am

magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: Build Failed: 4103 "ValueError: Var is the only allowed

Postby tanmaydesai46 » Tue Oct 06, 2020 9:23 pm

Please suggest whether changing the Depot_tools to latest version ("depot_tools_checkout' is fc5e103221. I changed it to 233589f2e7 which is used in 4147 branch." - Commented by truenip) would be correct approach to build ?
Last edited by tanmaydesai46 on Tue Oct 06, 2020 9:28 pm, edited 1 time in total.
tanmaydesai46
Newbie
 
Posts: 3
Joined: Mon Oct 05, 2020 8:01 am

Re: Build Failed: 4103 "ValueError: Var is the only allowed

Postby tanmaydesai46 » Tue Oct 06, 2020 9:25 pm

magreenblatt wrote:See viewtopic.php?f=6&t=17745&p=46279

Thanks for the comment "magreenblatt". I followed the link and perform the same as mentioned in my previous comment "I had tried updating the %path% with setting the depot tools at top still the same issue." I am not sure whether changing the depot_toos version to the latest one (used in cef 84 ) would be the correct approach?
tanmaydesai46
Newbie
 
Posts: 3
Joined: Mon Oct 05, 2020 8:01 am

Re: Build Failed: 4103 "ValueError: Var is the only allowed

Postby magreenblatt » Tue Oct 06, 2020 10:08 pm

Yes, you need to change the depot_tools version. See also https://bitbucket.org/chromiumembedded/ ... quests/341
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 33 guests