Bug 32938 - LLVM17-suite monolithic package
Summary: LLVM17-suite monolithic package
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-03-06 20:08 CET by christian barranco
Modified: 2024-03-08 23:37 CET (History)
3 users (show)

See Also:
Source RPM: llvm17-suite-17.0.6-2.mga9.src.rpm
CVE:
Status comment:


Attachments

Description christian barranco 2024-03-06 20:08:22 CET
Our Clang version is 15.0.6
Some packages, like Chromium, cannot build anymore with this version.
It has been endorsed by the DEV community to build a monnolithic LLVM17 package to bring the complete LLVM stack (llvm, clang, lld, compiler-rt, polly) thanks to one package called llvm17-suite.
Comment 1 christian barranco 2024-03-06 20:18:36 CET Comment hidden (obsolete)

Assignee: chb0 => qa-bugs

katnatek 2024-03-07 02:45:33 CET

Keywords: (none) => advisory

Comment 2 katnatek 2024-03-07 04:58:37 CET
You have some issues in your packages 

LC_ALL=C urpmi /home/katnatek/qa-testing/x86_64/*.rpm
Some requested packages cannot be installed:
lib64llvm17-suite-devel-17.0.6-2.mga9.x86_64 (due to unsatisfied llvm17[== 17.0.6-2.mga9])
llvm17-suite-analyzer-17.0.6-2.mga9.noarch (due to unsatisfied llvm17[== 17.0.6-2.mga9])
llvm17-suite-polly-devel-17.0.6-2.mga9.x86_64 (due to unsatisfied llvm17-polly[== 17.0.6-2.mga9])

LC_ALL=C urpmi lib64llvm17-suite-devel
A requested package cannot be installed:
lib64llvm17-suite-devel-17.0.6-2.mga9.x86_64 (due to unsatisfied llvm17[== 17.0.6-2.mga9])

LC_ALL=C urpmi llvm17-suite-analyzer
A requested package cannot be installed:
llvm17-suite-analyzer-17.0.6-2.mga9.noarch (due to unsatisfied llvm17[== 17.0.6-2.mga9])
Continue installation anyway? (Y/n)

LC_ALL=C urpmi llvm17-suite-polly-devel
A requested package cannot be installed:
llvm17-suite-polly-devel-17.0.6-2.mga9.x86_64 (due to unsatisfied llvm17-polly[== 17.0.6-2.mga9])
Continue installation anyway? (Y/n)

Perhaps need some additional provides ?

Line 44

Provides:       %{nickname}(major) = %llvm_major
+Provides:       %{nickname}(major) = %version-%release

and

Line 115

Provides:       %{nickname}-polly-provider = %{version}
+Provides:       %{nickname}-polly = %{version}-%{release}
katnatek 2024-03-07 19:15:27 CET

Assignee: qa-bugs => chb0

Comment 3 katnatek 2024-03-07 19:16:13 CET
Returning to christian barranco
Comment 4 christian barranco 2024-03-07 20:40:34 CET
When I had to change the package name from llvm17 to llvm17-suite, I have overlooked a few things, obviously. I will fix it. Sorry for the inconvenience.
Comment 5 christian barranco 2024-03-07 21:59:30 CET Comment hidden (obsolete)
Comment 6 katnatek 2024-03-07 23:03:34 CET
Advisory Updated
When I can download the new packages, I'll test again
Comment 7 christian barranco 2024-03-08 08:18:45 CET
Ready for QA!

Assignee: chb0 => qa-bugs

Comment 8 katnatek 2024-03-08 18:57:39 CET
ADVISORY NOTICE PROPOSAL (update)
========================
Monolithic llvm17-suite package


Description
Monolithic LLVM17 package to bring the complete LLVM stack (llvm, clang, lld, compiler-rt, polly) at once.

This package lives into /usr/lib64/llvm17. You need to set env variables
and path accordingly.
For instance and to be adjusted to your needs:
PATH="/usr/lib64/llvm17/bin:\$PATH"
LLVM_DIR=/usr/lib64/llvm17/lib/cmake/llvm
                

References
https://bugs.mageia.org/show_bug.cgi?id=32938
https://github.com/llvm/llvm-project/releases/tag/llvmorg-17.0.6


SRPMS
9/core
  llvm17-suite-17.0.6-2.1.mga9.src.rpm


    
PACKAGES FOR QA TESTING
=======================
x86_64:
lib64llvm17-suite-17.0.6-2.1.mga9.x86_64.rpm
lib64llvm17-suite-devel-17.0.6-2.1.mga9.x86_64.rpm
llvm17-suite-17.0.6-2.1.mga9.x86_64.rpm
llvm17-suite-analyzer-17.0.6-2.1.mga9.noarch.rpm
llvm17-suite-polly-17.0.6-2.1.mga9.x86_64.rpm
llvm17-suite-polly-devel-17.0.6-2.1.mga9.x86_64.rpm
llvm17-suite-static-17.0.6-2.1.mga9.x86_64.rpm
llvm17-suite-tools-extra-17.0.6-2.1.mga9.x86_64.rpm


i586:
libllvm17-suite-17.0.6-2.1.mga9.i586.rpm
libllvm17-suite-devel-17.0.6-2.1.mga9.i586.rpm
llvm17-suite-17.0.6-2.1.mga9.i586.rpm
llvm17-suite-analyzer-17.0.6-2.1.mga9.noarch.rpm
llvm17-suite-polly-17.0.6-2.1.mga9.i586.rpm
llvm17-suite-polly-devel-17.0.6-2.1.mga9.i586.rpm
llvm17-suite-static-17.0.6-2.1.mga9.i586.rpm
llvm17-suite-tools-extra-17.0.6-2.1.mga9.i586.rpm
Comment 9 katnatek 2024-03-08 18:58:16 CET
I fix a typo in the list form comment#5
Comment 10 katnatek 2024-03-08 19:08:56 CET
Real Hardware Mageia 9 x86_64

All the packages install without issues and the new packages replace the packages that I could install in previous round

LC_ALL=C urpmi /home/katnatek/qa-testing/x86_64/*.rpm


installing llvm17-suite-tools-extra-17.0.6-2.1.mga9.x86_64.rpm llvm17-suite-polly-devel-17.0.6-2.1.mga9.x86_64.rpm llvm17-suite-static-17.0.6-2.1.mga9.x86_64.rpm llvm17-suite-analyzer-17.0.6-2.1.mga9.noarch.rpm lib64llvm17-suite-17.0.6-2.1.mga9.x86_64.rpm llvm17-suite-17.0.6-2.1.mga9.x86_64.rpm lib64llvm17-suite-devel-17.0.6-2.1.mga9.x86_64.rpm llvm17-suite-polly-17.0.6-2.1.mga9.x86_64.rpm from /home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/8: lib64llvm17-suite     ##################################################################################################
      2/8: llvm17-suite          ##################################################################################################
      3/8: llvm17-suite-polly    ##################################################################################################
      4/8: llvm17-suite-static   ##################################################################################################
      5/8: lib64llvm17-suite-devel
                                 ##################################################################################################
      6/8: llvm17-suite-polly-devel
                                 ##################################################################################################
      7/8: llvm17-suite-analyzer ##################################################################################################
      8/8: llvm17-suite-tools-extra
                                 ##################################################################################################
      1/5: removing llvm17-suite-tools-extra-17.0.6-2.mga9.x86_64
                                 ##################################################################################################
      2/5: removing llvm17-suite-static-17.0.6-2.mga9.x86_64
                                 ##################################################################################################
      3/5: removing llvm17-suite-17.0.6-2.mga9.x86_64
                                 ##################################################################################################
      4/5: removing lib64llvm17-suite-17.0.6-2.mga9.x86_64
                                 ##################################################################################################
      5/5: removing llvm17-suite-polly-17.0.6-2.mga9.x86_64
                                 ##################################################################################################
----------------------------------------------------------------------
More information on package llvm17-suite-17.0.6-2.1.mga9.x86_64

NOTE: this package lives into /usr/lib64/llvm17. You need to set env variables
and path accordingly.

For instance and to be adjusted to your needs:

PATH="/usr/lib64/llvm17/bin:$PATH"
LLVM_DIR=/usr/lib64/llvm17/lib/cmake/llvm


----------------------------------------------------------------------
katnatek 2024-03-08 19:10:25 CET

CC: (none) => andrewsfarm

Comment 11 katnatek 2024-03-08 19:14:00 CET
I not test beyond the packages install/uninstall without issues

urpme $(rpm -qa|grep llvm17)
quitando lib64llvm17-suite-17.0.6-2.1.mga9.x86_64 lib64llvm17-suite-devel-17.0.6-2.1.mga9.x86_64 llvm17-suite-17.0.6-2.1.mga9.x86_64 llvm17-suite-analyzer-17.0.6-2.1.mga9.noarch llvm17-suite-polly-17.0.6-2.1.mga9.x86_64 llvm17-suite-polly-devel-17.0.6-2.1.mga9.x86_64 llvm17-suite-static-17.0.6-2.1.mga9.x86_64 llvm17-suite-tools-extra-17.0.6-2.1.mga9.x86_64
quitando paquete llvm17-suite-polly-devel-17.0.6-2.1.mga9.x86_64
      1/8: quitando llvm17-suite-polly-devel-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
quitando paquete llvm17-suite-analyzer-17.0.6-2.1.mga9.noarch
      2/8: quitando llvm17-suite-analyzer-17.0.6-2.1.mga9.noarch
                                 ##################################################################################################
quitando paquete llvm17-suite-tools-extra-17.0.6-2.1.mga9.x86_64
      3/8: quitando llvm17-suite-tools-extra-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
quitando paquete lib64llvm17-suite-devel-17.0.6-2.1.mga9.x86_64
      4/8: quitando lib64llvm17-suite-devel-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
quitando paquete llvm17-suite-static-17.0.6-2.1.mga9.x86_64
      5/8: quitando llvm17-suite-static-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
quitando paquete llvm17-suite-17.0.6-2.1.mga9.x86_64
      6/8: quitando llvm17-suite-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
quitando paquete lib64llvm17-suite-17.0.6-2.1.mga9.x86_64
      7/8: quitando lib64llvm17-suite-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
quitando paquete llvm17-suite-polly-17.0.6-2.1.mga9.x86_64
      8/8: quitando llvm17-suite-polly-17.0.6-2.1.mga9.x86_64
                                 ##################################################################################################
Comment 12 Thomas Andrews 2024-03-08 19:40:19 CET
From https://releases.llvm.org/17.0.1/docs/GettingStarted.html

"The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and converts it into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer. It also contains basic regression tests."

Developer territory, usually considered beyond QA. A clean install should be good enough. 

Validating.

Whiteboard: (none) => MGA9-64-OK
CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 13 Dan Fandrich 2024-03-08 20:29:33 CET
Installed llvm17-suite on x86_64 and successfully used it to compile Hello World.

CC: (none) => dan

Comment 14 Mageia Robot 2024-03-08 20:47:08 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0102.html

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

Comment 15 Thomas Andrews 2024-03-08 23:37:30 CET
(In reply to Dan Fandrich from comment #13)
> Installed llvm17-suite on x86_64 and successfully used it to compile Hello
> World.

Thanks, Dan.

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