Issues building: breaks on lighttpd

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.

Issues building: breaks on lighttpd

Postby litereddonut » Tue Jan 26, 2016 5:44 pm

I'm using the automate script to pull down and build branch 2526

I keep on getting errors relating to lighttpd:

src/third_party/lighttpd (ERROR)
----------------------------------------
[0:07:17] Started.
----------------------------------------
Error: 51>
51> ____ src\third_party\lighttpd at 9dfa55d15937a688a92cbf2b7a8621b0927d06eb
51> You have unstaged changes.
51> Please commit, stash, or reset.

I get a similar error for branch 2454.

command I've been running:
python ./automate-git.py --download-dir=tempCef\cef --branch=2526--x64-build --verbose-build

Is there some dependency I'm missing?
litereddonut
Techie
 
Posts: 19
Joined: Mon Jun 03, 2013 3:06 pm

Re: Issues building: breaks on lighttpd

Postby magreenblatt » Tue Jan 26, 2016 6:50 pm

Pass the `--force-clean` command-line flag.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Issues building: breaks on lighttpd

Postby litereddonut » Tue Jan 26, 2016 8:10 pm

I'm still seeing the issue. It's coming up that the lighttpd has unstashed/uncommitted changes. It's saying that lighttpd is being based off this commit: https://chromium.googlesource.com/chrom ... b0927d06eb

command I used:
python ./automate-git.py --download-dir=tempCef\cef --branch=2526 --x64-build --verbose-build --force-clean

console output:

src/third_party/lighttpd (ERROR)

----------------------------------------

[0:06:13] Started.

_____ src\third_party\lighttpd at 9dfa55d15937a688a92cbf2b7a8621b0927d06eb




________ running 'git -c core.deltaBaseCacheLimit=512m fetch origin --verbose' in 'C:\Users\kevinh\MorphoDeps-msvc12\cef-2526\chromium\src\third_party\lighttpd'

[0:08:06] From https://chromium.googlesource.com/chrom ... s/lighttpd

[0:08:06] = [up to date] master -> origin/master

----------------------------------------

CUSTOMBUILD : error : 52> [C:\Users\kevinh\git\win_morpho_native\IndigoMorpho_build\externals\CefExternal\cef-2526.vcxproj]

52> ____ src\third_party\lighttpd at 9dfa55d15937a688a92cbf2b7a8621b0927d06eb

52> You have unstaged changes.

52> Please commit, stash, or reset.

"Entering C:/Users/kevinh/MorphoDeps-msvc12/cef-2526/chromium/src"

"Running git fetch"

From https://chromium.googlesource.com/chromium/src

1e10821..e5bd99c ignore/foo -> origin/ignore/foo

1183498..a630011 lkcr -> origin/lkcr

f1edf87..3c2d523 lkgr -> origin/lkgr

5897360..16920f1 master -> origin/master

8fd19f2..e8813bb refs/branch-heads/2564 -> branch-heads/2564

2407715..ae59cf3 refs/branch-heads/2623 -> branch-heads/2623

* [new tag] 48.0.2564.96 -> 48.0.2564.96
litereddonut
Techie
 
Posts: 19
Joined: Mon Jun 03, 2013 3:06 pm

Re: Issues building: breaks on lighttpd

Postby magreenblatt » Tue Jan 26, 2016 9:39 pm

Try deleting the src\third_party\lighttpd directory and re-running.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Issues building: breaks on lighttpd

Postby litereddonut » Wed Jan 27, 2016 4:20 pm

Same error after deleting that directory.
I also attempted to pull it down from scratch (deleted the entire thing) and got the same error, could it be an error in some dependency I installed?

src/third_party/lighttpd (ERROR)
----------------------------------------
[0:08:54] Started.

________ running 'git reset --hard HEAD' in 'C:\Users\kevinh\Documents\tempCef\cef\chromium\src\third_party\lighttpd'
[0:11:20] HEAD is now at 9dfa55d Add missing mac mods.
----------------------------------------
Error: 53>
53> ____ src\third_party\lighttpd at 9dfa55d15937a688a92cbf2b7a8621b0927d06eb
53> You have unstaged changes.
53> Please commit, stash, or reset.
litereddonut
Techie
 
Posts: 19
Joined: Mon Jun 03, 2013 3:06 pm

Re: Issues building: breaks on lighttpd

Postby magreenblatt » Wed Jan 27, 2016 4:46 pm

You might have to do the following manually:

Code: Select all
cd path\to\chromium\src
git checkout refs/tags/47.0.2526.80
gclient sync --nohooks --jobs 16 --force


If the `gclient sync` command fails then delete the src\third_party\lighttpd directory and re-run the `gclient sync` command. If that still fails then you'll need to use git tools to identify and fix the problem in the lighttpd directory (for example, `git checkout -- .` to reset all changes).

Once `gclient sync` completes successfully you can build by re-running automate-git.py with the `--no-chromium-update --force-build` command-line flags.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Issues building: breaks on lighttpd

Postby litereddonut » Fri Feb 05, 2016 1:36 pm

For some reason, this particular directory is getting elevated permissions. Attempting to delete it requires admin rights. Deleting the directory and re-running the automate script from an elevated command prompt fixed the issue. Not sure how this ended up happening.
litereddonut
Techie
 
Posts: 19
Joined: Mon Jun 03, 2013 3:06 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 87 guests