New issue
Advanced search Search tips

Issue 891527 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

fizz-release: failed to emerge sys-apps/nvme-cli-1.6: 'uuid/uuid.h' file not found

Project Member Reported by apronin@google.com, Oct 2

Issue description

build_packages on fizz-release failed for R71-11121.0.0 (http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=8933755003430664864):

  nvme-cli-1.6: >>> Compiling source in /build/fizz/tmp/portage/sys-apps/nvme-cli-1.6/work/nvme-cli-1.6 ...
  nvme-cli-1.6: make -j32 LIBUDEV=1 
  nvme-cli-1.6: NVME_VERSION = 1.6
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c argconfig.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c suffix.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c parser.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c nvme-print.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c nvme-ioctl.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c nvme-lightnvm.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c fabrics.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c json.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c plugin.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c intel-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c lnvm-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c memblaze-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c wdc-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c wdc-utils.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c nvme-models.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c huawei-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c netapp-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c toshiba-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c micron-nvme.c
  nvme-cli-1.6: x86_64-cros-linux-gnu-clang -D_GNU_SOURCE -D__CHECK_ENDIAN__  -O2 -pipe  -march=corei7 -g -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -std=gnu99 -DLIBUUID -DNVME_VERSION='"1.6"' -c seagate-nvme.c
  nvme-cli-1.6: In file included from nvme-print.c:6:
  nvme-cli-1.6: In file included from ./nvme-print.h:4:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: In file included from lnvm-nvme.c:4:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: lnvm-nvme.o] Error 1
  nvme-cli-1.6: make: *** Waiting for unfinished jobs....
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: nvme-print.o] Error 1
  nvme-cli-1.6: In file included from fabrics.c:39:
  nvme-cli-1.6: In file included from ./nvme-ioctl.h:7:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: In file included from nvme-ioctl.c:22:
  nvme-cli-1.6: In file included from ./nvme-ioctl.h:7:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: 11 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: fabrics.o] Error 1
  nvme-cli-1.6:  error generated.
  nvme-cli-1.6: make: *** [Makefile:46: nvme-ioctl.o] Error 1
  nvme-cli-1.6: In file included from In file included from memblaze-nvme.c:10:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: nvme-lightnvm.c:34:
  nvme-cli-1.6: In file included from ./nvme-print.h:4:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: 1In file included from wdc-nvme.c:34:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6:  error generated.
  nvme-cli-1.6: In file included from huawei-nvme.c:31:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: make: *** [Makefile:46: memblaze-nvme.o] Error 1
  nvme-cli-1.6: In file included from In file included from 1 error generated.
  nvme-cli-1.6: intel-nvme.c:12:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: nvme-lightnvm.o] Error 1
  nvme-cli-1.6: In file included from In file included from netapp-nvme.c:25:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: toshiba-nvme.c:12:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: make: *** [Makefile:46: huawei-nvme.o] Error 1
  nvme-cli-1.6: seagate-nvme.c:33:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: netapp-nvme.o] Error 1
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: toshiba-nvme.o] Error 1
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: intel-nvme.o] Error 1
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: seagate-nvme.o] Error 1
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: wdc-nvme.o] Error 1
  nvme-cli-1.6: In file included from micron-nvme.c:9:
  nvme-cli-1.6: ./nvme.h:27:10: fatal error: 'uuid/uuid.h' file not found
  nvme-cli-1.6: #include <uuid/uuid.h>
  nvme-cli-1.6:          ^~~~~~~~~~~~~
  nvme-cli-1.6: 1 error generated.
  nvme-cli-1.6: make: *** [Makefile:46: micron-nvme.o] Error 1
  nvme-cli-1.6:  * ERROR: sys-apps/nvme-cli-1.6::portage-stable failed (compile phase):
  nvme-cli-1.6:  *   emake failed
  nvme-cli-1.6:  * 
  nvme-cli-1.6:  * If you need support, post the output of `emerge --info '=sys-apps/nvme-cli-1.6::portage-stable'`,
  nvme-cli-1.6:  * the complete build log and the output of `emerge -pqv '=sys-apps/nvme-cli-1.6::portage-stable'`.
  nvme-cli-1.6:  * The complete build log is located at '/build/fizz/tmp/portage/logs/sys-apps:nvme-cli-1.6:20181002-191626.log'.
  nvme-cli-1.6:  * For convenience, a symlink to the build log is located at '/build/fizz/tmp/portage/sys-apps/nvme-cli-1.6/temp/build.log'.
  nvme-cli-1.6:  * The ebuild environment file is located at '/build/fizz/tmp/portage/sys-apps/nvme-cli-1.6/temp/environment'.
  nvme-cli-1.6:  * Working directory: '/build/fizz/tmp/portage/sys-apps/nvme-cli-1.6/work/nvme-cli-1.6'
  nvme-cli-1.6:  * S: '/build/fizz/tmp/portage/sys-apps/nvme-cli-1.6/work/nvme-cli-1.6'
  nvme-cli-1.6: >>> Failed to emerge sys-apps/nvme-cli-1.6 for /build/fizz/, Log file:
  nvme-cli-1.6: >>>  '/build/fizz/tmp/portage/logs/sys-apps:nvme-cli-1.6:20181002-191626.log'




 

Comment 1 Deleted

See also issue 891528 for the other error in the same build_packages.
Judging by recent changes in issue 889349, could be the result of https://crrev.com/c/1245962 ?
Cc: asavery@chromium.org
Owner: gwendal@chromium.org
Gwendal, would you please look?
Components: OS>Packages
Labels: -Restrict-View-Google
Status: Started (was: Untriaged)
uuid/uuid.h is brought by util-linux, but nvme-cli does not depend explicitly on it. I did not see the error elsewhere because util-linux is compiled for other packages before the second attempt of nvme-cli is attempted. 

sys-apps/util-linux-2.32-r3 (/usr/include/uuid/uuid.h)

Modifying nvme-cli ebuild and Makefile to support uuid properly.
Proposed a fix at https://bugs.gentoo.org/667634
Labels: -Pri-2 Pri-1
More release builders are failing
Project Member

Comment 11 by bugdroid1@chromium.org, Oct 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/06da3cf7b72aca6bd61668d5ff882d2230ad8f46

commit 06da3cf7b72aca6bd61668d5ff882d2230ad8f46
Author: Brian Norris <briannorris@chromium.org>
Date: Fri Oct 05 22:43:42 2018

nvme-cli: upgraded package to upstream

Upgraded sys-apps/nvme-cli to version 1.6-r1 on amd64

Pulls in fixes originating from Gwendal:

https://bugs.gentoo.org/667634

Remove udev variable, nvme-cli does not use LIBUDEV anymore.
(see
http://lists.infradead.org/pipermail/linux-nvme/2016-December/007493.html)
Add option to choose uuid based on USE variable.

BUG= chromium:891527 
TEST=build_package --board fizz nvme-cli compiles, without uuid code.

Change-Id: I508d2776f58b7a1c96ed968dfa109acbb90e7b6d
Reviewed-on: https://chromium-review.googlesource.com/1258614
Commit-Ready: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>

[rename] https://crrev.com/06da3cf7b72aca6bd61668d5ff882d2230ad8f46/metadata/md5-cache/sys-apps/nvme-cli-1.6-r1
[rename] https://crrev.com/06da3cf7b72aca6bd61668d5ff882d2230ad8f46/sys-apps/nvme-cli/nvme-cli-1.6-r1.ebuild
[modify] https://crrev.com/06da3cf7b72aca6bd61668d5ff882d2230ad8f46/sys-apps/nvme-cli/metadata.xml

Status: Fixed (was: Started)
Should be fixed

Sign in to add a comment