Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 1 user
Status: Verified
Owner:
Closed: May 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment
ec-utils broken for bob
Project Member Reported by aaboagye@chromium.org, May 22 Back to list
The bob-release build is broken due to usb_updater2.c. Culprit CL: https://chromium-review.googlesource.com/c/458468/

Build failure:
ec-utils-0.0.1-r3823: make: Leaving directory '/build/bob/tmp/portage/chromeos-base/ec-utils-0.0.1-r3823/work/ec-utils-0.0.1/extra/usb_updater'
ec-utils-0.0.1-r3823: make -j32 -C extra/usb_updater 
ec-utils-0.0.1-r3823: make: Entering directory '/build/bob/tmp/portage/chromeos-base/ec-utils-0.0.1-r3823/work/ec-utils-0.0.1/extra/usb_updater'
ec-utils-0.0.1-r3823: armv7a-cros-linux-gnueabi-gcc -std=gnu99 -g -Wall -Werror -Wpointer-arith -Wcast-align -Wcast-qual -Wundef -Wsign-compare -Wredundant-decls -Wmissing-declarations -O0 -I/build/bob/usr/include/libusb-1.0  -I../../include -I../../util  -I../../board/cr50 -I ../../chip/g usb_updater.c   -L/build/bob/usr/lib -lusb-1.0  -L/build/bob/usr/lib -lcrypto  -o usb_updater
ec-utils-0.0.1-r3823: armv7a-cros-linux-gnueabi-gcc -std=gnu99 -g -Wall -Werror -Wpointer-arith -Wcast-align -Wcast-qual -Wundef -Wsign-compare -Wredundant-decls -Wmissing-declarations -O0 -I/build/bob/usr/include/libusb-1.0  -I../../include -I../../util usb_updater2.c   -L/build/bob/usr/lib -lusb-1.0  -lfmap -o usb_updater2
ec-utils-0.0.1-r3823: usb_updater2.c:19:18: fatal error: fmap.h: No such file or directory
ec-utils-0.0.1-r3823:  #include <fmap.h>
ec-utils-0.0.1-r3823:                   ^
ec-utils-0.0.1-r3823: compilation terminated.
ec-utils-0.0.1-r3823: make: *** [Makefile:50: usb_updater2] Error 1
ec-utils-0.0.1-r3823: make: *** Waiting for unfinished jobs....
ec-utils-0.0.1-r3823: make: Leaving directory '/build/bob/tmp/portage/chromeos-base/ec-utils-0.0.1-r3823/work/ec-utils-0.0.1/extra/usb_updater'
ec-utils-0.0.1-r3823:  * ERROR: chromeos-base/ec-utils-0.0.1-r3823::chromiumos failed (compile phase):
ec-utils-0.0.1-r3823:  *   emake failed


 
Cc: nsanders@chromium.org
Project Member Comment 2 by bugdroid1@chromium.org, May 23
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/b492dfbb0485cab5ff33df64e66011bf96fb43fe

commit b492dfbb0485cab5ff33df64e66011bf96fb43fe
Author: Nicolas Boichat <drinkcat@google.com>
Date: Tue May 23 10:03:14 2017

chromeos-base/ec-utils: Only build usb_updater

There is now a second usb_updater2 in the same folder, which we do
not want to build (at least for now).

BUG= chromium:725152 
TEST=emerge-soraka -aC flashmap
     cros_workon-soraka start ec-utils
     emerge-soraka -av --nodeps ec-utils

Change-Id: I64aae765891ae8502dd48280a21ec8d0d1ba0173
Reviewed-on: https://chromium-review.googlesource.com/511522
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>

[modify] https://crrev.com/b492dfbb0485cab5ff33df64e66011bf96fb43fe/chromeos-base/ec-utils/ec-utils-9999.ebuild

Status: Fixed
Thanks for noticing and sorry about that!
Status: Verified
No problem!
Sign in to add a comment