Bug 33054 - on a 64bit system, installing 32bit llvm libraries fails because of conflicting llvm-plugins-17.0.6 packages.
Summary: on a 64bit system, installing 32bit llvm libraries fails because of conflicti...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 21:28 CEST by Aurelian R
Modified: 2024-04-10 22:32 CEST (History)
0 users

See Also:
Source RPM: llvm-17.0.6--6.mga10.src.rpm
CVE:
Status comment:


Attachments
patch for llvm spec file (613 bytes, patch)
2024-04-03 21:28 CEST, Aurelian R
Details | Diff

Description Aurelian R 2024-04-03 21:28:10 CEST
Created attachment 14493 [details]
patch for llvm spec file

Description of problem:
Trying to install some mesa/graphics 32 bit, I run into conflicting llvm-plugins-17.0 packages, i.e. 32bit/64bit packages with the same name.
It looks like a typo in the spec file. I think that this %{_isa} tag shouldn't be present here:
Requires:	llvm-plugins%{?_isa} >= %{version}-%{release}

Steps to Reproduce:
1. 64bit system with lib64llvm17.0-17.0.6 installed 

$rpm -qa --last | grep lib64llvm | cut -d' ' -f1
lib64llvm17.0-17.0.6-6.mga10.x86_64

2. try to install libllvm17.0

$sudo urpmi libllvm17.0 --test
A requested package cannot be installed:
libllvm17.0-17.0.6-6.mga10.i586 (due to unsatisfied llvm-plugins-17.0.6-6.mga10.i586)
Continue installation anyway? (Y/n) n

How reproducible: always
Attached is a patch of the spec file for easier reading.

Regards.
Comment 1 Lewis Smith 2024-04-03 21:40:33 CEST
Thank you for the report and your correction.
Assigning to wally who is the main committer for LLVM.

Assignee: bugsquad => jani.valimaa

Comment 2 Aurelian R 2024-04-04 13:24:10 CEST
(In reply to Aurelian R from comment #0)
> It looks like a typo in the spec file. I think that this %{_isa} tag
> shouldn't be present here:
> Requires:	llvm-plugins%{?_isa} >= %{version}-%{release}

One other option is to keep the %{?_isa} tag but use "Recommends:" instead of a hard "Requires:" which also allows "libllvm17.0" to be installed along a 64-bit "llvm-plugins" package.
Anyhow, I finally managed to locally rebuild llvm for each option and both options seem to work fine for me, but I'm not sure which one is the sensible choice.
Comment 3 Aurelian R 2024-04-10 22:32:06 CEST
Great, fixed by version llvm-17.0.6-7.mga10

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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