Bug 1223862 - Packages with explicit x86_v3 target fail to build
Summary: Packages with explicit x86_v3 target fail to build
Status: NEW
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 14:16 UTC by Christian Goll
Modified: 2024-05-03 14:16 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Goll 2024-05-03 14:16:03 UTC
Packages with optimized code for AVX2 (x86_v3) or AVX (x86_v4) need this code streams explicitly enabled during the build process (faiss or gpt4all) so its not possible to use the %{?suse_build_hwcaps_libs} macro.
When doing this, the packages are built, but some final scripts fail cleaning up the build root fail with the error:
```
[   51s] find: cannot delete '//.build.packages/RPMS/x86_64_v3': Directory not empty
[   51s] 
```
A failed example can found under:
https://build.opensuse.org/package/show/home:mslacken:ml/faiss_bug
where the two codestream build for AVX2 and AVX512 fail to build.