New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 878533 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 30
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Failed to build chromeos-base/cryptohome-dev-utils-0.0.1-r148

Project Member Reported by mattmallett@chromium.org, Aug 28

Issue description

Assigning to last editor of cryptohome for triage, please reassign as appropriate.

I'm trying to build Nami ToT and I am running into build errors with cryptohome. I've tried repo sync already, but no luck. Errors are listed below:

cryptohome-dev-utils-0.0.1-r148: ../../../../../../../tmp/portage/chromeos-base/cryptohome-dev-utils-0.0.1-r148/work/cryptohome-dev-utils-0.
0.1/platform2/cryptohome/crypto.cc:26:10: fatal error: 'scrypt/crypto_scrypt.h' file not found                                              
cryptohome-dev-utils-0.0.1-r148: #include <scrypt/crypto_scrypt.h>                                                 


Failed chromeos-base/cryptohome-dev-utils-0.0.1-r148 (in 0m7.7s). Your build has failed.                                                    
Pending 3/421, [Time 18:41:27 | Elapsed 21m6.9s | Load 4.42 6.48 9.01]
Packages failed:                                                                  
        chromeos-base/cryptohome-dev-utils-0.0.1-r148                                                                                   
ERROR   : Mon Aug 27 18:41:28 PDT 2018                     
ERROR   :   PGID   PPID    PID     ELAPSED     TIME %CPU COMMAND                                                                            
ERROR   :      8      4      8    06:33:42 00:00:00  0.0 -bash                                                           
ERROR   :  69890      8  69890       22:45 00:00:00  0.0  \_ -bash                                                                
ERROR   :  69890  69890  69891       22:45 00:00:00  0.0      \_ /bin/bash /home/mattmallett/trunk/src/scripts/build_packages --board=nami a
utotest-all                                                                                           
ERROR   :  69890  69891  73275       00:00 00:00:00  0.0          \_ /bin/bash /home/mattmallett/trunk/src/scripts/build_packages --board=na
mi autotest-all                                                                                                                     
ERROR   :  69890  73275  73276       00:00 00:00:00  0.0              \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR   : Arguments of 69891:  '--board=nami' 'autotest-all'                                                                                
ERROR   : Backtrace:  (most recent call is last)
ERROR   :  build_packages:365:main(), called: die_err_trap  
ERROR   : 
ERROR   : Command failed:
ERROR   :   Command '( if [[ "${FLAGS_run_goma}" -eq "${FLAGS_TRUE}" ]]; then
ERROR   :     info "Starting goma compiler_proxy."; goma_ctl="${GOMA_DIR:-${HOME}/goma}/goma_ctl.py"; "${goma_ctl}" restart; trap "'${goma_c
tl}' stop" EXIT;
ERROR   : fi; set -o pipefail; sudo -E "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" "${PACKAGES[@]}" | tee "${tmpfile}" )' exited with nonzero co
de: 1



I was able to unblock myself with:
emerge-nami -gu --jobs 32 libscrypt


cros-dev context:
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-dev/AfYg6Sw3llw
 
Cc: derat@chromium.org
Owner: apronin@chromium.org
This doesn't appear to have anything to do with my change. Reassigning to a cryptohome owner.

(I can probably add the missing dependency just like anyone else, but I'm on vacation and may not be able to get to it for a while.)
Labels: OS-Chrome
Owner: emaxx@chromium.org
Status: Assigned (was: Untriaged)
I'll take a look. Thanks for the report.
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/9e84498a0dd3c284e2c3e0214aacf84b430556ae

commit 9e84498a0dd3c284e2c3e0214aacf84b430556ae
Author: Maksim Ivanov <emaxx@google.com>
Date: Thu Aug 30 16:53:00 2018

cryptohome-dev-utils: Missing dependencies

Add missing RDEPEND and DEPEND for cryptohome-dev-utils.

All of them are present in the other ebuild - the cryptohome's
one from which the cryptohome-dev-utils package reuses some files.
Not all cryptohome's dependencies are needed here, but the
previously specified subset of them was too narrow.

BUG= chromium:878533 
TEST=verify cryptohome-dev-utils builds successfully in a fresh
     board with only the dependencies installed

Change-Id: If17b0f9b1c0ca2daef2afff05aae871105c654b7
Reviewed-on: https://chromium-review.googlesource.com/1194369
Commit-Ready: Maksim Ivanov <emaxx@chromium.org>
Tested-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>

[modify] https://crrev.com/9e84498a0dd3c284e2c3e0214aacf84b430556ae/chromeos-base/cryptohome-dev-utils/cryptohome-dev-utils-9999.ebuild

Status: Fixed (was: Assigned)

Sign in to add a comment