Bug 2245047 - volk-devel installs vendored cpu_features, shouldn't
Summary: volk-devel installs vendored cpu_features, shouldn't
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: volk
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-19 11:44 UTC by Marcus Müller
Modified: 2023-11-09 01:25 UTC (History)
1 user (show)

Fixed In Version: volk-3.0.0-4.fc40 volk-3.0.0-4.fc39 volk-3.0.0-4.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-31 11:13:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marcus Müller 2023-10-19 11:44:49 UTC
Reproduced on F38, F39, today's rawhide

Can't install google-cpu_features-devel when volk-devel is installed.

This stems from the fact that VOLK can **optionally** build against a bundled cpu_features. It defaults to system-supplied, though. So, the volk package should BuildRequire google-cpu_features-devel

Currently, it doesn't, so VOLK seems to build against the bundled cpu_features.

It then goes on to install that, and especially its CMake config, which leads to conflicts with google-cpu_features-devel.

Reproducible: Always

Steps to Reproduce:
1. dnf install -y volk-devel
2. dnf install google-cpu_features-devel

Actual Results:  
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/include/cpu_features/cpu_features_macros.h from install of google-cpu_features-devel-0.7.0-4.fc39.x86_64 conflicts with file from package volk-devel-3.0.0-3.fc39.x86_64
  file /usr/include/cpu_features/cpuinfo_x86.h from install of google-cpu_features-devel-0.7.0-4.fc39.x86_64 conflicts with file from package volk-devel-3.0.0-3.fc39.x86_64
  file /usr/lib64/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake from install of google-cpu_features-devel-0.7.0-4.fc39.x86_64 conflicts with file from package volk-devel-3.0.0-3.fc39.x86_64
  file /usr/lib64/cmake/CpuFeatures/CpuFeaturesTargets-release.cmake from install of google-cpu_features-devel-0.7.0-4.fc39.x86_64 conflicts with file from package volk-devel-3.0.0-3.fc39.x86_64
  file /usr/lib64/cmake/CpuFeatures/CpuFeaturesTargets.cmake from install of google-cpu_features-devel-0.7.0-4.fc39.x86_64 conflicts with file from package volk-devel-3.0.0-3.fc39.x86_64

Expected Results:  
google-cpu_features-devel should be perfectly installable, because volk's build should depend on it.

Comment 1 Marcus Müller 2023-10-19 12:23:49 UTC
Fix in https://src.fedoraproject.org/rpms/volk/pull-request/2

Comment 2 Fedora Update System 2023-10-31 11:10:11 UTC
FEDORA-2023-60584d073e has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-60584d073e

Comment 3 Fedora Update System 2023-10-31 11:13:11 UTC
FEDORA-2023-60584d073e has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2023-10-31 12:01:53 UTC
FEDORA-2023-a824617576 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a824617576

Comment 5 Fedora Update System 2023-10-31 12:02:57 UTC
FEDORA-2023-15a4d0e051 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-15a4d0e051

Comment 6 Fedora Update System 2023-11-01 01:25:02 UTC
FEDORA-2023-15a4d0e051 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-15a4d0e051`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-15a4d0e051

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-11-01 01:28:35 UTC
FEDORA-2023-a824617576 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a824617576`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a824617576

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-11-09 01:21:45 UTC
FEDORA-2023-a824617576 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-11-09 01:25:01 UTC
FEDORA-2023-15a4d0e051 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.