Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777552 - sys-apps/portage-3.0.13: features2d default USE flag is not set on media-libs/opencv but it must be set
Summary: sys-apps/portage-3.0.13: features2d default USE flag is not set on media-libs...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 17:38 UTC by nE0sIghT
Modified: 2021-03-22 04:52 UTC (History)
1 user (show)

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


Attachments
emerge --info sys-apps/portage (emerge-info-portage.txt,9.51 KB, text/plain)
2021-03-21 17:38 UTC, nE0sIghT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2021-03-21 17:38:53 UTC
Created attachment 692802 [details]
emerge --info sys-apps/portage

> emerge -1av media-libs/opencv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/opencv-4.5.0:0/4.5.0::gentoo  USE="ffmpeg gphoto2 gstreamer gtk3 jpeg jpeg2k lto openmp png threads tiff vaapi webp -contrib (-contribcvv) -contribdnn -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) -debug -dnnsamples -download -eigen -examples -features2d* -gdal (-gflags) (-glog) -ieee1394 -java -lapack -opencl -opencvapps -openexr -opengl -python -qt5 (-tesseract) -testprograms -v4l (-vtk) -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f -f16c -fma3" PYTHON_TARGETS="python3_7 -python3_8 -python3_9" 0 KiB


Please look at features2d USE flag - it is default and must be set, but it doesn't.
features2d USE flag is not disabled via /etc/portage:


> grep -R features2d /etc/portage/
>

sys-apps/portage-3.0.13::gentoo was built with the following:
USE="gentoo-dev (ipc) native-extensions xattr -apidoc -build -doc -rsync-verify (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8 (-pypy3) -python3_9"
FEATURES="userfetch pid-sandbox parallel-install multilib-strict fixlafiles sandbox ipc-sandbox unknown-features-warn strict merge-sync usersync protect-owned ebuild-locks unmerge-logs sfperms usersandbox binpkg-docompress fail-clean unmerge-orphans qa-unresolved-soname-deps assume-digests parallel-fetch network-sandbox distlocks xattr binpkg-dostrip binpkg-logs strict-keepdir userpriv preserve-libs config-protect-if-modified news"
Comment 1 Ionen Wolkens gentoo-dev 2021-03-22 00:13:59 UTC
Are you sure you don't have something else which may be disabling it?

Like usage of -*, or perhaps even a custom profile.

eigen is also a default flag
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-22 00:36:46 UTC
Please run: grep -r . /etc/portage/
Comment 3 nE0sIghT 2021-03-22 04:40:51 UTC
> Like usage of -*

Thanks! That was the cause of my issue. I asked at IRC first, but no one point me to this.

Sorry for noise!
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-22 04:52:29 UTC
(In reply to nE0sIghT from comment #3)
> > Like usage of -*
> 
> Thanks! That was the cause of my issue. I asked at IRC first, but no one
> point me to this.
> 
> Sorry for noise!

FWIW, we don’t support that because of it negating defaults and so on.