toolchain packages (e.g. glibc) not included in OS credits page or CPE list |
|||||||
Issue descriptionChrome Version: R60 OS: ChromiumOS When looking at the following two files: 1. about_os_credits.htm (included in image in /opt/google/chrome/resources/about_os_credits.htm) 2. list of CPEs (which is save in build artifacts directory as cpe-chromeos-<board>.json) we noticed that neither includes sys-libs/glibc. Both files are generated from package dependency graph.
,
May 30 2017
yunlian, could you find the easiest way to do this?
,
Jun 21 2017
In the ~/trunk/chromite/licensing/licenses command, it runs /build/terra/build/bin/emerge '--with-bdeps=y' --usepkgonly --emptytree --pretend '--color=n' virtual/target-os to find out the packages installed for the target, and glibc is not in the list. Is it because glibc is in /build/terra/etc/portage/profile/package.provided ?
,
Jun 21 2017
more or less. we'll need to manually account for all packages we inject via src/scripts/install_toolchain.
,
Jul 5 2017
Any updates on this?
,
Jul 14 2017
,
Sep 12 2017
yunlian, vapier, I looked inside src/scripts/install_toolchain, it seems that this script will inject version info about gcc + glibc + go into /build/terra/etc/portage/profile/package.provided. But I can only find the code installing glibc, not gcc/golang. Is that how it's supposed to be? If so, which script will install gcc and go? Thanks!
,
Sep 12 2017
we don't install gcc or go into the target for gcc, we have the gcc-libs package. go gets statically linked.
,
Sep 15 2017
yunlian, vapier, I made a change in cros_extract_deps to make it pick up SDK packages' CPEs. I manually tested it and it looks fine. Now I'm running trybot on it with lakitu-incremental. Could you suggest a few other config I should run? Thanks! https://chromium-review.googlesource.com/c/chromiumos/chromite/+/669947 https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/incremental/builds/618
,
Sep 16 2017
update: trybot succeeded on lakitu-incremental. Found glibc CPE in artifact. link: https://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/incremental/builds/618
,
Sep 26 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/656f993d5f47f969cf8ca7539304518d82af9761 commit 656f993d5f47f969cf8ca7539304518d82af9761 Author: Xuewei Zhang <xueweiz@google.com> Date: Tue Sep 26 20:36:17 2017 Track CPEs for SDK packages in package.provided BUG=b:62104917, chromium:726911 TEST=Trybot on lakitu-incremental passed. Found CPE of glibc in artifacts. Change-Id: I06b89cd18705c2ec1894a9c304c21e9e1ca52b4f Reviewed-on: https://chromium-review.googlesource.com/669947 Commit-Ready: Xuewei Zhang <xueweiz@google.com> Tested-by: Xuewei Zhang <xueweiz@google.com> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/656f993d5f47f969cf8ca7539304518d82af9761/scripts/cros_extract_deps.py
,
Oct 16 2017
i believe this is resolved now
,
Jan 4 2018
,
Jan 22 2018
,
Jan 23 2018
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by vapier@chromium.org
, May 27 2017Labels: Build-Toolchain
Status: Available (was: Untriaged)
Summary: toolchain packages (e.g. glibc) not included in OS credits page or CPE list (was: glibc is not included in OS credits page or CPE list)