Problem with "Syncing and building a release tag"

233 views
Skip to first unread message

tomorrow chen

unread,
Aug 29, 2016, 11:31:01 PM8/29/16
to Chromium-dev
Hi All
I want to sync and build tags/33.0.1750.166 .

git fetch --tags
git checkout -b  tags/33.0.1750.166
gclient sync --with_branch_heads --jobs 16


Yet It failed due to the following errors:
gclient(588) MergeWithOsDeps:Conflicting dependencies for src/third_party/openssl: [('unix', 'https://chromium.googlesource.com/chromium/deps/openssl.git@f50952b0ae7fde883e66289d6629ee625f292df2'), ('android', 'https://chromium.googlesource.com/chromium/deps/openssl.git@0b4a8ac240d2a566740067c8d1e9e0d81a575fb7')]. (target_os=('unix', 'android'))

src (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00] ________ unmanaged solution; skipping src
----------------------------------------
Error: 1> Dependency src specified more than once:
1>   src(https://chromium.googlesource.com/chromium/src.git) [https://chromium.googlesource.com/chromium/src.git]
1> vs
1>   src(https://chromium.googlesource.com/chromium/src.git) -> src(https://chromium.googlesource.com/external/google-breakpad/src.git@958a2c811a6dfc1726e030d1be293f153dc63aad) [https://chromium.googlesource.com/external/google-breakpad/src.git@958a2c811a6dfc1726e030d1be293f153dc63aad]

I found there's another similar discuss in the mail list. It's fixed by remove src entry in the .DEPS.git.
I try the same solution. Yet the problem still there. The .DEPS.git didn't work.
Somebody suggest get the source by SVN. Is it the only way for 33.0.1750.166?
By the way, how can I get password of SVN ,just for get source ,not commit.

Holger

unread,
Aug 30, 2016, 11:10:48 AM8/30/16
to Chromium-dev
1. Which fetch recipe did you use to create the workspace?
2. Which platform are you trying to build for?
3. Can you post the contents of your chromium.gyp_env file ?

Michael Moss

unread,
Aug 30, 2016, 11:33:06 AM8/30/16
to tomorr...@gmail.com, Chromium-dev
The only common problem in the release DEPS should be the extra 'src' entry in some of the very old ones, which you seem to have already dealt with. Any other problems are probably version-specific (i.e. some DEPS files that are just plain broken), so please provide details about the errors you are seeing.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Michael Moss

unread,
Aug 30, 2016, 12:26:00 PM8/30/16
to tomorr...@gmail.com, Chromium-dev
Actually, if the error you're seeing is still the openssl one you mentioned, have you tried not specifying both 'unix' and 'android' for the target_os? I'm not sure if it's normal to specify both at the same time, but as you've seen, it definitely won't work for that DEPS file, since they try to check out different versions of the same repo.

Torne (Richard Coles)

unread,
Aug 30, 2016, 12:53:34 PM8/30/16
to mm...@chromium.org, tomorr...@gmail.com, Chromium-dev
If that's the issue, you need to use target_os_only=True I think, because gclient adds the current OS into target_os automatically last I checked. There were some points where we accidentally got into this state for android, but it was supposed to *generally* be the case that you could check out with both linux and android deps in parallel and build either in the same source tree.
Reply all
Reply to author
Forward
0 new messages