Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Issue 2411423002: Linux build: Use sysroot when calculating dependencies (Closed)

Created:
4 years, 2 months ago by Tom (Use chromium acct)
Modified:
4 years, 2 months ago
Reviewers:
xam, Dirk Pranke, brettw, Lei Zhang, Martin Barbella, open-source-third-party-reviews, security, Sam Clegg
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, Michael Moss, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux build: Use sysroot when calculating dependencies Additionally, this CL also bundles part of dpkg-shlibdeps. The version of dpkg-shlibdeps was too old on Precise to support the feature we needed for using the sysroot to calculate dependencies (specifically, the "-l" option was needed). This meant we needed to temporarily bundle a newer version dpkg-dev to get this working on Precise. Trusty has a newer version of dpkg-dev with the necessary feature, so dpkg-dev should be removed once the builders are entirely switch off of Precise. This can be done by reverting this CL and applying ps40001 from this CL. BUG=564904 R=thestig@chromium.org,sbc@chromium.org,jochen@chromium.org Committed: https://crrev.com/0db721ca35ac387f5adf6bb9d7ec5ec24be4ac6e Committed: https://crrev.com/7a01af4fd7ef884b60600e2a87f567c4f1ca6700 Cr-Original-Commit-Position: refs/heads/master@{#425842} Cr-Commit-Position: refs/heads/master@{#426047}

Patch Set 1 #

Patch Set 2 : Merge expected_deps changes into this CL #

Total comments: 2

Patch Set 3 : == -> = #

Patch Set 4 : Bundle dpkg-dev #

Patch Set 5 : Add LICENSE and OWNERS #

Total comments: 1

Patch Set 6 : Xref bug in README.chromium, add NOT_SHIPPED #

Patch Set 7 : Ignore dpkg-dev in checklicenses.py #

Total comments: 4

Patch Set 8 : Update expected_deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17872 lines, -175 lines) Patch
M chrome/installer/linux/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/installer/linux/debian/build.sh View 1 2 3 6 chunks +38 lines, -28 lines 0 comments Download
A + chrome/installer/linux/debian/expected_deps_ia32_jessie View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/installer/linux/debian/expected_deps_ia32_precise View 1 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/installer/linux/debian/expected_deps_ia32_trusty View 1 1 chunk +0 lines, -33 lines 0 comments Download
A + chrome/installer/linux/debian/expected_deps_ia32_wheezy View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/installer/linux/debian/expected_deps_x64_jessie View 1 2 3 4 5 6 7 1 chunk +12 lines, -11 lines 0 comments Download
D chrome/installer/linux/debian/expected_deps_x64_precise View 1 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/installer/linux/debian/expected_deps_x64_trusty View 1 1 chunk +0 lines, -33 lines 0 comments Download
A + chrome/installer/linux/debian/expected_deps_x64_wheezy View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
A + third_party/dpkg-dev/LICENSE View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/dpkg-dev/OWNERS View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/README.chromium View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/abitable View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/cputable View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/ostable View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg.pm View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Arch.pm View 1 2 3 1 chunk +445 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/BuildEnv.pm View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/BuildFlags.pm View 1 2 3 1 chunk +456 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/BuildOptions.pm View 1 2 3 1 chunk +204 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/BuildProfiles.pm View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Changelog.pm View 1 2 3 1 chunk +704 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Changelog/Debian.pm View 1 2 3 1 chunk +208 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Changelog/Entry.pm View 1 2 3 1 chunk +306 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Changelog/Entry/Debian.pm View 1 2 3 1 chunk +323 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Changelog/Parse.pm View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Checksums.pm View 1 2 3 1 chunk +378 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Compression.pm View 1 2 3 1 chunk +244 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Compression/FileHandle.pm View 1 2 3 1 chunk +451 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Compression/Process.pm View 1 2 3 1 chunk +207 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Conf.pm View 1 2 3 1 chunk +184 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control.pm View 1 2 3 1 chunk +200 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/Changelog.pm View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/Fields.pm View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/FieldsCore.pm View 1 2 3 1 chunk +660 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/Hash.pm View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/HashCore.pm View 1 2 3 1 chunk +540 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/Info.pm View 1 2 3 1 chunk +209 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Control/Types.pm View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Deps.pm View 1 2 3 1 chunk +1468 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/ErrorHandling.pm View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Exit.pm View 1 2 3 1 chunk +98 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/File.pm View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Gettext.pm View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/IPC.pm View 1 2 3 1 chunk +375 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Index.pm View 1 2 3 1 chunk +353 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Interface/Storable.pm View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Package.pm View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Path.pm View 1 2 3 1 chunk +295 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Shlibs.pm View 1 2 3 1 chunk +149 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Shlibs/Cppfilt.pm View 1 2 3 1 chunk +113 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Shlibs/Objdump.pm View 1 2 3 1 chunk +475 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Shlibs/Symbol.pm View 1 2 3 1 chunk +507 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Shlibs/SymbolFile.pm View 1 2 3 1 chunk +652 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Archive.pm View 1 2 3 1 chunk +163 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Functions.pm View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package.pm View 1 2 3 1 chunk +631 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V1.pm View 1 2 3 1 chunk +402 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V2.pm View 1 2 3 1 chunk +767 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V3/Bzr.pm View 1 2 3 1 chunk +210 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V3/Custom.pm View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V3/Git.pm View 1 2 3 1 chunk +235 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V3/Native.pm View 1 2 3 1 chunk +115 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Package/V3/Quilt.pm View 1 2 3 1 chunk +291 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Patch.pm View 1 2 3 1 chunk +640 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Source/Quilt.pm View 1 2 3 1 chunk +308 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Substvars.pm View 1 2 3 1 chunk +337 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Util.pm View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Vars.pm View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Vendor.pm View 1 2 3 1 chunk +182 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Vendor/Debian.pm View 1 2 3 1 chunk +194 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Vendor/Default.pm View 1 2 3 1 chunk +136 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Vendor/Ubuntu.pm View 1 2 3 1 chunk +185 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/Dpkg/Version.pm View 1 2 3 1 chunk +445 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/scripts/dpkg-shlibdeps.pl View 1 2 3 1 chunk +870 lines, -0 lines 0 comments Download
A third_party/dpkg-dev/triplettable View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M tools/checklicenses/checklicenses.py View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 61 (23 generated)
Tom (Use chromium acct)
Note that this PS depends on upgrading the sysroots, which I'll to rn
4 years, 2 months ago (2016-10-12 19:33:40 UTC) #3
Lei Zhang
Is https://codereview.chromium.org/2389263007/ obsolete then?
4 years, 2 months ago (2016-10-12 19:36:40 UTC) #4
Tom (Use chromium acct)
On 2016/10/12 19:36:40, Lei Zhang wrote: > Is https://codereview.chromium.org/2389263007/ obsolete then? yes
4 years, 2 months ago (2016-10-12 19:41:16 UTC) #5
Sam Clegg
On 2016/10/12 19:41:16, Tom Anderson wrote: > On 2016/10/12 19:36:40, Lei Zhang wrote: > > ...
4 years, 2 months ago (2016-10-12 20:36:23 UTC) #6
Lei Zhang
lgtm https://codereview.chromium.org/2411423002/diff/20001/chrome/installer/linux/debian/build.sh File chrome/installer/linux/debian/build.sh (right): https://codereview.chromium.org/2411423002/diff/20001/chrome/installer/linux/debian/build.sh#newcode273 chrome/installer/linux/debian/build.sh:273: if [ ${TARGETARCH} == "x64" ]; then single ...
4 years, 2 months ago (2016-10-12 20:55:30 UTC) #7
Tom (Use chromium acct)
Dah! The version of dpkg-shlibdeps packaged with Precise doesn't have the -l option ಠ_ಠ I'll ...
4 years, 2 months ago (2016-10-12 22:02:09 UTC) #8
Tom (Use chromium acct)
On 2016/10/12 22:02:09, Tom Anderson wrote: > Dah! The version of dpkg-shlibdeps packaged with Precise ...
4 years, 2 months ago (2016-10-12 22:28:38 UTC) #9
Lei Zhang
On 2016/10/12 22:28:38, Tom Anderson wrote: > Lei, can we temporarily bundle dpkg-shlibdeps.pl from dpkg-dev ...
4 years, 2 months ago (2016-10-12 22:45:33 UTC) #10
Tom (Use chromium acct)
On 2016/10/12 22:45:33, Lei Zhang wrote: > On 2016/10/12 22:28:38, Tom Anderson wrote: > > ...
4 years, 2 months ago (2016-10-12 22:51:38 UTC) #11
Lei Zhang
On 2016/10/12 22:51:38, Tom Anderson wrote: > On 2016/10/12 22:45:33, Lei Zhang wrote: > > ...
4 years, 2 months ago (2016-10-12 22:58:37 UTC) #12
Sam Clegg
On 2016/10/12 22:58:37, Lei Zhang wrote: > On 2016/10/12 22:51:38, Tom Anderson wrote: > > ...
4 years, 2 months ago (2016-10-12 23:27:46 UTC) #13
Tom (Use chromium acct)
On 2016/10/12 23:27:46, Sam Clegg wrote: > On 2016/10/12 22:58:37, Lei Zhang wrote: > > ...
4 years, 2 months ago (2016-10-12 23:29:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2411423002/40001
4 years, 2 months ago (2016-10-12 23:33:00 UTC) #17
Tom (Use chromium acct)
sorry, meant to tick the box on a different CL. Unchecked
4 years, 2 months ago (2016-10-12 23:42:13 UTC) #19
Tom (Use chromium acct)
+jochen@ for //third_party
4 years, 2 months ago (2016-10-13 02:05:27 UTC) #22
Tom (Use chromium acct)
Lei I needed 2 users in the OWNERS file, so I added you. Is that ...
4 years, 2 months ago (2016-10-13 18:24:23 UTC) #23
Lei Zhang
On 2016/10/13 18:24:23, Tom Anderson wrote: > Lei I needed 2 users in the OWNERS ...
4 years, 2 months ago (2016-10-13 18:27:48 UTC) #24
Lei Zhang
https://codereview.chromium.org/2411423002/diff/80001/third_party/dpkg-dev/README.chromium File third_party/dpkg-dev/README.chromium (right): https://codereview.chromium.org/2411423002/diff/80001/third_party/dpkg-dev/README.chromium#newcode4 third_party/dpkg-dev/README.chromium:4: License: GPLv2 BTW, I see many third_party/*/README.chromium files have: ...
4 years, 2 months ago (2016-10-13 18:28:55 UTC) #25
Sam Clegg
On 2016/10/13 18:28:55, Lei Zhang wrote: > https://codereview.chromium.org/2411423002/diff/80001/third_party/dpkg-dev/README.chromium > File third_party/dpkg-dev/README.chromium (right): > > https://codereview.chromium.org/2411423002/diff/80001/third_party/dpkg-dev/README.chromium#newcode4 ...
4 years, 2 months ago (2016-10-13 18:34:29 UTC) #26
Tom (Use chromium acct)
On 2016/10/13 18:27:48, Lei Zhang wrote: > On 2016/10/13 18:24:23, Tom Anderson wrote: > > ...
4 years, 2 months ago (2016-10-13 18:59:52 UTC) #27
Tom (Use chromium acct)
+dpranke
4 years, 2 months ago (2016-10-13 22:33:20 UTC) #29
Dirk Pranke
Please update the CL description to include some description of why we're checking in the ...
4 years, 2 months ago (2016-10-13 23:21:22 UTC) #31
Tom (Use chromium acct)
On 2016/10/13 23:21:22, Dirk Pranke wrote: > Please update the CL description to include some ...
4 years, 2 months ago (2016-10-13 23:29:42 UTC) #33
Dirk Pranke
On 2016/10/13 23:29:42, Tom Anderson wrote: > On 2016/10/13 23:21:22, Dirk Pranke wrote: > > ...
4 years, 2 months ago (2016-10-13 23:31:08 UTC) #34
Martin Barbella
On 2016/10/13 23:31:08, Dirk Pranke wrote: > On 2016/10/13 23:29:42, Tom Anderson wrote: > > ...
4 years, 2 months ago (2016-10-14 17:44:04 UTC) #35
xam
On 2016/10/14 17:44:04, Martin Barbella wrote: > On 2016/10/13 23:31:08, Dirk Pranke wrote: > > ...
4 years, 2 months ago (2016-10-17 22:53:00 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2411423002/120001
4 years, 2 months ago (2016-10-17 23:25:56 UTC) #39
Lei Zhang
https://codereview.chromium.org/2411423002/diff/120001/tools/checklicenses/checklicenses.py File tools/checklicenses/checklicenses.py (right): https://codereview.chromium.org/2411423002/diff/120001/tools/checklicenses/checklicenses.py#newcode237 tools/checklicenses/checklicenses.py:237: 'third_party/dpkg-dev': [ I'm lgtm-ing this separately. No need to ...
4 years, 2 months ago (2016-10-17 23:28:30 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-18 01:05:59 UTC) #42
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/0db721ca35ac387f5adf6bb9d7ec5ec24be4ac6e Cr-Commit-Position: refs/heads/master@{#425842}
4 years, 2 months ago (2016-10-18 01:08:07 UTC) #44
Tom (Use chromium acct)
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2425693003/ by thomasanderson@google.com. ...
4 years, 2 months ago (2016-10-18 04:06:20 UTC) #45
Tom (Use chromium acct)
Just a small update. After some debugging, I found the dependency difference was due to ...
4 years, 2 months ago (2016-10-18 18:10:39 UTC) #49
Tom (Use chromium acct)
https://chromiumcodereview-hr.appspot.com/2411423002/diff/120001/tools/checklicenses/checklicenses.py File tools/checklicenses/checklicenses.py (right): https://chromiumcodereview-hr.appspot.com/2411423002/diff/120001/tools/checklicenses/checklicenses.py#newcode237 tools/checklicenses/checklicenses.py:237: 'third_party/dpkg-dev': [ On 2016/10/17 23:28:30, Lei Zhang wrote: > ...
4 years, 2 months ago (2016-10-18 19:25:15 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2411423002/180001
4 years, 2 months ago (2016-10-18 19:25:25 UTC) #53
commit-bot: I haz the power
Exceeded global retry quota
4 years, 2 months ago (2016-10-18 20:51:54 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2411423002/180001
4 years, 2 months ago (2016-10-18 21:08:44 UTC) #57
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 2 months ago (2016-10-18 21:23:12 UTC) #59
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:03:08 UTC) #61
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7a01af4fd7ef884b60600e2a87f567c4f1ca6700
Cr-Commit-Position: refs/heads/master@{#426047}

Powered by Google App Engine
This is Rietveld 408576698