Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No-multilib media-libs/opencv-4.5.0 fails to install
Date: Fri, 07 May 2021 14:31:50
Message-Id: 9890623.nUPlyArG6x@lenovo.localdomain
In Reply to: Re: [gentoo-user] No-multilib media-libs/opencv-4.5.0 fails to install by Dr Rainer Woitok
1 Thanks Rainer,
2
3 On Friday, 7 May 2021 15:19:45 BST Dr Rainer Woitok wrote:
4 > Michael,
5 >
6 > On Thursday, 2021-05-06 19:25:11 +0100, you wrote:
7 > > ...
8 > > Half way it complains about CPU optimisations:
9 > > ==============================================
10 > > RuntimeError: NumPy was built with baseline optimizations:
11 > > (SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42) but your machine doesn't support:
12 > > (POPCNT).
13 > > =========
14 >
15 > To avoid this in the future you could once run
16 >
17 > # cd /etc/portage
18 > # cpuid2cpuflags | sed -Ee 's/_[^_]+: /="/' -e 's/$/"/' >> make.conf
19 >
20 > Sincerely,
21 > Rainer
22
23 The CPU_FLAGS_X86 on this system were already set to the output of the
24 cpuid2cpuflags command. I'm not sure the baseline optimisations emerge warns
25 about are causing the error at the end of the install stage.

Attachments

File name MIME type
signature.asc application/pgp-signature