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

Bug 926698

Summary: app-backup/bareos-23.0.2 fails to emerge due to AVX being present but it is disabled
Product: Gentoo Linux Reporter: Plüss Roland <roland>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: UNCONFIRMED ---    
Severity: major CC: roland
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
build log

Description Plüss Roland 2024-03-10 16:46:49 UTC
Emerging bareos fails with this error:

work/bareos-Release-23.0.2/third-party/xxHash/xxh_x86dispatch.c
/var/tmp/portage/app-backup/bareos-23.0.2/work/bareos-Release-23.0.2/third-party/xxHash/xxh_x86dispatch.c:85:4: Fehler: #error "Do not compile xxh_x86dispatch.c with AVX enabled! See the comment above."
   85 | #  error "Do not compile xxh_x86dispatch.c with AVX enabled! See the comment above."
      |    ^~~~~
[2/375] /usr/bin/x86_64-pc-linux-gnu-g++ -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-23.0.2/work/bareos-Release-23.0.2/core/src

Problem is it is disabled:

[ebuild     U ~] app-backup/bareos-23.0.2::gentoo [22.1.2-r1::gentoo] USE="acl director ipv6 readline (split-usr) storage-daemon xattr -X -ceph -clientonly -glusterfs -lmdb -logwatch -ndmp -scsi-crypto -static -systemd -tcpd -test -vim-syntax -vmware" CPU_FLAGS_X86="-avx%" 0 KiB

Most probably the ebuild fails to honor "-avx" although it is enforced
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-10 16:55:58 UTC
Please include the full build.log and emerge --info.
Comment 2 Plüss Roland 2024-03-10 17:51:08 UTC
Created attachment 887268 [details]
emerge info
Comment 3 Plüss Roland 2024-03-10 17:51:18 UTC
Created attachment 887269 [details]
build log
Comment 4 Plüss Roland 2024-03-10 17:51:30 UTC
I've attached the files