build_packages --board=eve fails: equery-${FLAGS_board} list -p -o --format='$category/$name' ${NEW_DEPS[*]} exited with nonzero code: 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
,
Aug 3
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."
,
Aug 3
,
Aug 3
please post the full build output and not just the last few lines do you have local changes here ?
,
Aug 6
Yes, i'm trying to build_packages after updating a lot of packages. Here's the full log.
,
Aug 6
that doesn't appear to be a full log ... there's no actual error message in it
,
Aug 6
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.
,
Aug 7
use >& to capture stderr and stdout together
,
Aug 7
got it, thanks
,
Aug 15
,
Sep 5
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 |
|||||
Comment 1 by vmreyes@google.com
, Aug 3Labels: Chrome