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

Issue 870906 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

build_packages --board=eve fails: equery-${FLAGS_board} list -p -o --format='$category/$name' ${NEW_DEPS[*]} exited with nonzero code: 3

Project Member Reported by vmreyes@google.com, Aug 3

Issue description

Chrome Version: <69.0.3464.0>
Chrome OS Version: <10799.0.2018_06_19_1616>
Chrome OS Platform: <GOOGLE-EVE>

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).
Cr-OS-Installer

Steps To Reproduce:
(1) Ran ./build_packages --board=eve

Expected result:
All packages build successfully.

Actual Result:
build_packages fails when it tries to convert deps to package names.

...
 chromeos-base/chromeos-common-script-0.0.1-r21
 sys-apps/memtester-4.2.2
'. Converting deps to package names.
ERROR   : Fri Aug  3 15:23:35 PDT 2018
ERROR   :   PGID   PPID    PID     ELAPSED     TIME %CPU COMMAND
ERROR   :      7      4      7  4-04:37:19 00:00:14  0.0 -bash
ERROR   : 188059      7 188059       01:42 00:00:00  0.0  \_ /bin/bash ./build_packages --board=eve --nowithautotest --noworkon
ERROR   : 188059 188059 190683       00:00 00:00:00  0.0      \_ /bin/bash ./build_packages --board=eve --nowithautotest --noworkon
ERROR   : 188059 190683 190684       00:00 00:00:00  0.0          \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR   : Arguments of 188059: ./build_packages '--board=eve' '--nowithautotest' '--noworkon'
ERROR   : Backtrace:  (most recent call is last)
ERROR   :  build_packages:324:main(), called: die_err_trap  
ERROR   : 
ERROR   : Command failed:
ERROR   :   Command 'MOD_PKGS+=($(      equery-${FLAGS_board} list -p -o --format='$category/$name'           ${NEW_DEPS[*]}))' exited with nonzero code: 3

 
Components: Internals>Installer
Labels: Chrome
From the equery manpage:

"Note: Additionally, when using --quiet, if no matches are found, instead of printing an error, the equery list module will return with an exit value of 3."
Cc: vapier@chromium.org
Cc: gmeinke@chromium.org
Components: Infra>Client>ChromeOS>Build
please post the full build output and not just the last few lines

do you have local changes here ?
Yes, i'm trying to build_packages after updating a lot of packages.

Here's the full log.
log.txt
188 KB View Download
that doesn't appear to be a full log ... there's no actual error message in it
I tried piping the ouput of ./build_packages to log.txt, but it didn't send some print outs, the error above should be at the end of the log.
use >& to capture stderr and stdout together
got it, thanks
build_packages.log
218 KB View Download
Status: Available (was: Unconfirmed)
Labels: -Chrome allpublic
Owner: gmeinke@chromium.org
Status: Fixed (was: Available)
Summary: build_packages --board=eve fails: equery-${FLAGS_board} list -p -o --format='$category/$name' ${NEW_DEPS[*]} exited with nonzero code: 3 (was: build_packages --board=eve fails)
the code in question has been rewritten now, and every invocation of equery is through a pipeline, so it should be impossible for any bad exit status from equery to break things

Sign in to add a comment