Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947652 - sci-libs/caffe2-2.5.1-r7 with qnnpack useflag fails cmake step unless dev-libs/clog is installed
Summary: sci-libs/caffe2-2.5.1-r7 with qnnpack useflag fails cmake step unless dev-lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-07 00:49 UTC by Sasha Medvedev
Modified: 2025-02-01 22:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha Medvedev 2025-01-07 00:49:19 UTC
On my system cmake of caffe2 fails unless I install dev-libs/clog 

Reproducible: Always

Steps to Reproduce:
emerge =sci-libs/caffe2-2.5.1-r7
Actual Results:  
CMake Error at aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt:327 (find_library):
  Could not find CLOG_LIBRARY using the following names: clog


-- Configuring incomplete, errors occurred!
 * ERROR: sci-libs/caffe2-2.5.1-r7::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3326:  Called cmake_src_configure
 *   environment, line 1510:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/caffe2-2.5.1-r7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/caffe2-2.5.1-r7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/caffe2-2.5.1-r7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/caffe2-2.5.1-r7/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/caffe2-2.5.1-r7/work/pytorch-2.5.1_build'
 * S: '/var/tmp/portage/sci-libs/caffe2-2.5.1-r7/work/pytorch-2.5.1'
Comment 1 Greg Kubaryk 2025-01-07 01:34:52 UTC
build.log, emerge --info?
Comment 2 Tupone Alfredo gentoo-dev 2025-02-01 22:40:52 UTC
Fixed