Bug 1948187

Summary: cblas.h in atlas-devel conflicts with blas-devel
Product: [Fedora] Fedora Reporter: Iñaki Ucar <i.ucar86>
Component: atlasAssignee: Jakub Martisko <jamartis>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 35CC: atu, dakingun, frantisek.kluknavsky, jamartis, jkucera, orion, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-29 12:47:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Iñaki Ucar 2021-04-10 15:53:41 UTC
LAPACK 3.9.1 (which recently landed in rawhide, see [1]; cc @spot) installs cblas.h under /usr/includes, following upstream. ATLAS is doing the same, generating a conflict, e.g. (see [2]):

Error: Transaction test error:
  file /usr/include/cblas.h conflicts between attempted installs of atlas-devel-3.10.3-13.fc34.x86_64 and blas-devel-3.9.1-1.fc35.x86_64

[1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/7FEVOPAH662I7JMTQCZNISLPTZFYEHHC/
[2] https://kojipkgs.fedoraproject.org//work/tasks/8723/65658723/root.log

Comment 1 Iñaki Ucar 2021-04-15 07:30:38 UTC
Changed priority to high because FlexiBLAS cannot be rebuilt without this and now everything in Fedora builds against FlexiBLAS.

Another option would be to drop support for ATLAS in FlexiBLAS until this is fixed.

Comment 2 Jakub Martisko 2021-04-15 12:33:52 UTC
Hi, thanks for report,

I can move the cblas.h and clapack.h from include to include/atlas, but first I will have to check how many dependencies will this break.

Comment 3 Orion Poplawski 2021-04-17 13:59:16 UTC
Please resolve this quickly - for one it's impacting my effort to update hdf5/netcdf.  Thanks.

Comment 4 Jakub Martisko 2021-04-20 16:32:44 UTC
Ok, this should be resolved by this build https://koji.fedoraproject.org/koji/taskinfo?taskID=66340231



diff of the rpm -ql of the devel pakages for f34 and f35:
--- f34	2021-04-20 14:37:58.651268390 +0000
+++ f35	2021-04-20 14:38:12.401384887 +0000
@@ -153,6 +153,8 @@
 /usr/include/atlas-x86_64-base/atlas_ztGetNB_gerqf.h
 /usr/include/atlas-x86_64-base/atlas_ztrsmXover.h
 /usr/include/atlas-x86_64-base/cXover.h
+/usr/include/atlas-x86_64-base/cblas.h
+/usr/include/atlas-x86_64-base/clapack.h
 /usr/include/atlas-x86_64-base/cmm.h
 /usr/include/atlas-x86_64-base/dXover.h
 /usr/include/atlas-x86_64-base/dmm.h
@@ -160,8 +162,6 @@
 /usr/include/atlas-x86_64-base/smm.h
 /usr/include/atlas-x86_64-base/zXover.h
 /usr/include/atlas-x86_64-base/zmm.h
-/usr/include/cblas.h
-/usr/include/clapack.h
 /usr/lib64/atlas/libsatlas.so
 /usr/lib64/atlas/libtatlas.so
 /usr/lib64/pkgconfig/atlas.pc

Comment 5 Iñaki Ucar 2021-04-21 07:53:33 UTC
Thanks, rebuilding FlexiBLAS in https://koji.fedoraproject.org/koji/taskinfo?taskID=66393770

Comment 6 Iñaki Ucar 2021-04-21 08:08:40 UTC
Fails for another reason. My problem now. :)

Comment 7 Ben Cotton 2021-08-10 13:45:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 8 Iñaki Ucar 2021-10-29 12:47:05 UTC
Closing, this was fixed in v3.10.3-15.