New issue
Advanced search Search tips

Issue 639532 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

build_packages does not work on latest ChromeOS checkout

Project Member Reported by kirtika@chromium.org, Aug 20 2016

Issue description

Seeing this again - trying to build_packages for veyron_minnie-cheets. 
Several repositories show a git clone failure: 
Build log: https://paste.googleplex.com/5211965647486976

The commands suggested in the build log seem to be broken too:
https://paste.googleplex.com/5105007003172864


I've attached the manifest that was used for repo init and repo sync. 

vapier@ had asked for: 

1. exact command you used to repo init & sync
-- Do not have the init command - it should have been "repo init -u https://chromium.googlesource.com/chromiumos/manifest.git" if not the default of "repo init -u https://chromium.googlesource.com/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git"

-- Sync command: repo sync -c -j10

2. exact command you ran to set up the board & build packages
Inside chroot, 
./setup_board --board=veyron_minnie-cheets
./build_packages  --boar=veyron_minnie-cheets

3. the log from the failing emerge command after adding --debug (attach this one)

- Not sure what this refers to? In the build_packages output, I do not see the emerge commands being run for the specific packages to retry them?


Notes:
1. The build log complains "Can't clone /mnt/host/source/src/third_party/autotest-tests-cheets"

Here's the ls output from that location: 

(cr) kirtika@kirtika /mnt/host/source/src/third_party/autotest-tests-cheets $ file .git/config 
.git/config: broken symbolic link to ../../../../.repo/projects/src/third_party/autotest-tests-cheets.git/config

In other words, a .repo exists at /mnt/host/source inside the chroot, but the build is looking for it at /mnt/host. 

 
default.xml
17.9 KB View Download

Comment 1 by vapier@chromium.org, Aug 24 2016

you said `repo init` was for an external/public checkout, but cheets boards only work with internal checkouts.  are you sure you're using a public manifest ?  you can check with:
  $ git --git-dir=.repo/manifests/.git config remote.origin.url
Sorry for the delayed follow-up here - #c1 is correct. I was not on an internal manifest.
Status: Verified (was: Untriaged)

Sign in to add a comment