Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 816750

Summary: sys-libs/libomp-13.0.0 [28/206] ninja: build stopped: subcommand failed (ninja -v -j5 -l0 failed)
Product: Gentoo Linux Reporter: xdev52
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: UNCONFIRMED ---    
Severity: normal CC: llvm, mgorny
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-libs/libomp-13.0.0 build.log

Description xdev52 2021-10-07 07:26:45 UTC
[ebuild     U ~] sys-libs/libomp-13.0.0::gentoo [12.0.1::gentoo] USE="hwloc offload ompt -cuda -debug% -test" LLVM_TARGETS="AMDGPU%* -NVPTX%"

Reproducible: Always

Steps to Reproduce:
emerge sys-libs/libomp
Actual Results:  
[28/206] /usr/bin/x86_64-pc-linux-gnu-g++ -Domp_EXPORTS -Iruntime/src -I/var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp/runtime/src -I/var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp/runtime/src/i18n -I/var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp/runtime/src/include -I/var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp/runtime/src/thirdparty/ittnotify -I/usr/local/include  -DNDEBUG -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=c++14 -fPIC   -D _GNU_SOURCE -D _REENTRANT  -DNDEBUG -fno-exceptions -fno-rtti -Wno-class-memaccess -Wno-covered-switch-default -Wno-frame-address -Wno-strict-aliasing -Wstringop-overflow=0 -Wno-stringop-truncation -Wno-switch -Wno-uninitialized -Wno-unused-but-set-variable -Wno-return-type-c-linkage -Wno-cast-qual -Wno-int-to-void-pointer-cast -MD -MT runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o -MF runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o.d -o runtime/src/CMakeFiles/omp.dir/kmp_dispatch.cpp.o -c /var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp/runtime/src/kmp_dispatch.cpp
ninja: build stopped: subcommand failed.
 * ERROR: sys-libs/libomp-13.0.0::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 4375:  Called cmake-multilib_src_compile
 *   environment, line 1432:  Called multilib-minimal_src_compile
 *   environment, line 3211:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3481:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3146:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3144:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  641:  Called multilib-minimal_abi_src_compile
 *   environment, line 3205:  Called multilib_src_compile
 *   environment, line 3693:  Called cmake_src_compile
 *   environment, line 1543:  Called cmake_build
 *   environment, line 1512:  Called eninja
 *   environment, line 2019:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/libomp-13.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/libomp-13.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/libomp-13.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libomp-13.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/libomp-13.0.0/work/libomp-13.0.0_build-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-libs/libomp-13.0.0/work/openmp'



Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.3.0, glibc-2.33-r1, 5.14.8-gentoo x86_64)

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.6_p2::gentoo
dev-lang/rust:            1.55.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Comment 1 Tee KOBAYASHI 2021-10-07 12:11:09 UTC
Please attach the full build.log.
Comment 2 xdev52 2021-10-07 15:01:27 UTC
Created attachment 743769 [details]
sys-libs/libomp-13.0.0 build.log
Comment 3 Tee KOBAYASHI 2021-10-07 18:20:23 UTC
Ah, maybe you need to unmask sys-apps/hwloc-2* which are not yet stabilized.
Comment 4 xdev52 2021-10-07 18:59:00 UTC
(In reply to Tee KOBAYASHI from comment #3)
> Ah, maybe you need to unmask sys-apps/hwloc-2* which are not yet stabilized.

Indeed. Adding -hwloc to USE flag did a job. Thank you.