New issue
Advanced search Search tips
Starred by 1 user
Status: Fixed
Owner:
Closed: Nov 10
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment
incorrect dependencies of media-libs/arc-camera3-libcamera_jpeg
Project Member Reported by cywang@chromium.org, Nov 8 Back to list




Summary:

The media-libs/arc-camera3-libcamera_jpeg should depends arc-camera3-android-headers on at compile-time.

Ricky, please help to assign to the right owner.

====
https://logs.chromium.org/v/?s=chromeos%2Fbb%2Fchromeos%2Fscarlet-paladin%2F2403%2F%2B%2Frecipes%2Fsteps%2FBuildPackages%2F0%2Fstdout

WARNING: The following packages failed once or more,
but succeeded upon retry. This might indicate incorrect
dependencies.
  media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112
Merge complete

=========

Pending 478/712, Fetching 32/381, Building 32/67, [Time 23:49:27 | Elapsed 1m20.2s | Load 25.51 7.78 4.38]
Started media-libs/arc-camera3-android-headers-0.0.1-r115 (logged in /tmp/arc-camera3-android-headers-0.0.1-r115-wg9jBh)
.
.
Pending 421/712, Fetching 32/345, Building 32/63, [Time 23:49:37 | Elapsed 1m29.8s | Load 28.31 8.96 4.8]
Started media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112 (logged in /tmp/arc-camera3-libcamera_jpeg-0.0.1-r112-_1a5l9)
.
.

Completed media-libs/arc-camera3-android-headers-0.0.1-r115 (in 0m16.7s)
Pending 391/712, Fetching 32/308, Building 32/59, [Time 23:49:44 | Elapsed 1m36.8s | Load 31.0 9.84 5.11]
Started media-libs/arc-camera3-libcamera_metadata-0.0.1-r153 (logged in /tmp/arc-camera3-libcamera_metadata-0.0.1-r153-0P3rsm)
Fetched sys-devel/autoconf-archive-2015.09.25 in 23.06s
=== Start output for job arc-camera3-libcamera_jpeg-0.0.1-r112 (0m7.5s) ===
arc-camera3-libcamera_jpeg-0.0.1-r112: >>> Emerging (1 of 1) media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos for /build/scarlet/
arc-camera3-libcamera_jpeg-0.0.1-r112:  * Running stacked hooks for pre_pkg_setup
arc-camera3-libcamera_jpeg-0.0.1-r112:  *    sysroot_build_bin_dir ...
arc-camera3-libcamera_jpeg-0.0.1-r112:  [ ok ]
.
.
.
arc-camera3-libcamera_jpeg-0.0.1-r112: No package 'arc-camera3-android-headers' found
arc-camera3-libcamera_jpeg-0.0.1-r112: CXX		common/jpeg_compressor.cc ->  common/jpeg_compressor.pic.o
arc-camera3-libcamera_jpeg-0.0.1-r112: CXX		common/jpeg_compressor.cc ->  common/jpeg_compressor.pie.o
arc-camera3-libcamera_jpeg-0.0.1-r112: /build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1/common/jpeg_compressor.cc:12:10: fatal error: 
arc-camera3-libcamera_jpeg-0.0.1-r112:       'libyuv.h' file not found
arc-camera3-libcamera_jpeg-0.0.1-r112: #include <libyuv.h>
arc-camera3-libcamera_jpeg-0.0.1-r112:          ^~~~~~~~~~
arc-camera3-libcamera_jpeg-0.0.1-r112: /build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1/common/jpeg_compressor.cc:12:10: fatal error: 
arc-camera3-libcamera_jpeg-0.0.1-r112:       'libyuv.h' file not found
arc-camera3-libcamera_jpeg-0.0.1-r112: #include <libyuv.h>
arc-camera3-libcamera_jpeg-0.0.1-r112:          ^~~~~~~~~~
arc-camera3-libcamera_jpeg-0.0.1-r112: 1 error generated.
arc-camera3-libcamera_jpeg-0.0.1-r112: make[1]: *** [common.mk:934: common/jpeg_compressor.pic.o] Error 1
arc-camera3-libcamera_jpeg-0.0.1-r112: make[1]: *** Waiting for unfinished jobs....
arc-camera3-libcamera_jpeg-0.0.1-r112: 1 error generated.
arc-camera3-libcamera_jpeg-0.0.1-r112: make[1]: *** [common.mk:934: common/jpeg_compressor.pie.o] Error 1
arc-camera3-libcamera_jpeg-0.0.1-r112: make[1]: Leaving directory '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1'
arc-camera3-libcamera_jpeg-0.0.1-r112: make: *** [common.mk:171: common/libcamera_jpeg] Error 2
arc-camera3-libcamera_jpeg-0.0.1-r112:  * __helpers_die: WARNING: emake failed
arc-camera3-libcamera_jpeg-0.0.1-r112:  * ERROR: media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos failed (compile phase):
arc-camera3-libcamera_jpeg-0.0.1-r112:  *   command: emake BASE_VER=395517 libcamera_jpeg
arc-camera3-libcamera_jpeg-0.0.1-r112:  * 
arc-camera3-libcamera_jpeg-0.0.1-r112:  * Call stack:
arc-camera3-libcamera_jpeg-0.0.1-r112:  *     ebuild.sh, line   93:  Called src_compile
arc-camera3-libcamera_jpeg-0.0.1-r112:  *   environment, line 3314:  Called cw_emake 'BASE_VER=395517' 'libcamera_jpeg'
arc-camera3-libcamera_jpeg-0.0.1-r112:  *   environment, line 1077:  Called die
arc-camera3-libcamera_jpeg-0.0.1-r112:  * The specific snippet of code:
arc-camera3-libcamera_jpeg-0.0.1-r112:  *           die "command: emake $*";
arc-camera3-libcamera_jpeg-0.0.1-r112:  * 
arc-camera3-libcamera_jpeg-0.0.1-r112:  * If you need support, post the output of `emerge --info '=media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos'`,
arc-camera3-libcamera_jpeg-0.0.1-r112:  * the complete build log and the output of `emerge -pqv '=media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos'`.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * The complete build log is located at '/build/scarlet/tmp/portage/logs/media-libs:arc-camera3-libcamera_jpeg-0.0.1-r112:20171108-074937.log'.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * For convenience, a symlink to the build log is located at '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/temp/build.log'.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * The ebuild environment file is located at '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/temp/environment'.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * Working directory: '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1'
arc-camera3-libcamera_jpeg-0.0.1-r112:  * S: '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1'
arc-camera3-libcamera_jpeg-0.0.1-r112: >>> Failed to emerge media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112 for /build/scarlet/, Log file:
arc-camera3-libcamera_jpeg-0.0.1-r112: >>>  '/build/scarlet/tmp/portage/logs/media-libs:arc-camera3-libcamera_jpeg-0.0.1-r112:20171108-074937.log'
arc-camera3-libcamera_jpeg-0.0.1-r112: 
arc-camera3-libcamera_jpeg-0.0.1-r112:  * Messages for package media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112 merged to /build/scarlet/:
arc-camera3-libcamera_jpeg-0.0.1-r112: 
arc-camera3-libcamera_jpeg-0.0.1-r112:  * ERROR: media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos failed (compile phase):
arc-camera3-libcamera_jpeg-0.0.1-r112:  *   command: emake BASE_VER=395517 libcamera_jpeg
arc-camera3-libcamera_jpeg-0.0.1-r112:  * 
arc-camera3-libcamera_jpeg-0.0.1-r112:  * Call stack:
arc-camera3-libcamera_jpeg-0.0.1-r112:  *     ebuild.sh, line   93:  Called src_compile
arc-camera3-libcamera_jpeg-0.0.1-r112:  *   environment, line 3314:  Called cw_emake 'BASE_VER=395517' 'libcamera_jpeg'
arc-camera3-libcamera_jpeg-0.0.1-r112:  *   environment, line 1077:  Called die
arc-camera3-libcamera_jpeg-0.0.1-r112:  * The specific snippet of code:
arc-camera3-libcamera_jpeg-0.0.1-r112:  *           die "command: emake $*";
arc-camera3-libcamera_jpeg-0.0.1-r112:  * 
arc-camera3-libcamera_jpeg-0.0.1-r112:  * If you need support, post the output of `emerge --info '=media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos'`,
arc-camera3-libcamera_jpeg-0.0.1-r112:  * the complete build log and the output of `emerge -pqv '=media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112::chromiumos'`.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * The complete build log is located at '/build/scarlet/tmp/portage/logs/media-libs:arc-camera3-libcamera_jpeg-0.0.1-r112:20171108-074937.log'.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * For convenience, a symlink to the build log is located at '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/temp/build.log'.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * The ebuild environment file is located at '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/temp/environment'.
arc-camera3-libcamera_jpeg-0.0.1-r112:  * Working directory: '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1'
arc-camera3-libcamera_jpeg-0.0.1-r112:  * S: '/build/scarlet/tmp/portage/media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112/work/arc-camera3-libcamera_jpeg-0.0.1'
=== Complete: job arc-camera3-libcamera_jpeg-0.0.1-r112 (0m7.5s) ===
Failed media-libs/arc-camera3-libcamera_jpeg-0.0.1-r112 (in 0m7.5s), retrying later.
 
Cc: jcliang@chromium.org
Owner: henryhsu@chromium.org
Status: Assigned
The ebuild is missing DEPEND on media-libs/libyuv.

Henry - Can you fix this?
Project Member Comment 3 by bugdroid1@chromium.org, Nov 9
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/2006b4c1b054afee33e4b574797a3771dd71bc7e

commit 2006b4c1b054afee33e4b574797a3771dd71bc7e
Author: Heng-Ruey Hsu <henryhsu@chromium.org>
Date: Thu Nov 09 08:38:12 2017

arc-camera3-libcamera_jpeg: Fix library dependency

The library needs libyuv to do static link.

BUG= chromium:782577 
TEST=emerge-${BOARD} arc-camera3-libcamera_jpeg

Change-Id: I0a92df7926c860a42d10a8fc9bca91794a4531ce
Reviewed-on: https://chromium-review.googlesource.com/759558
Commit-Ready: Heng-ruey Hsu <henryhsu@chromium.org>
Tested-by: Heng-ruey Hsu <henryhsu@chromium.org>
Reviewed-by: Ricky Liang <jcliang@chromium.org>

[modify] https://crrev.com/2006b4c1b054afee33e4b574797a3771dd71bc7e/media-libs/arc-camera3-libcamera_jpeg/arc-camera3-libcamera_jpeg-9999.ebuild

Status: Fixed
Sign in to add a comment