You are not logged in.

#1 2025-10-28 13:57:05

TySpicer
Member
Registered: 2025-08-31
Posts: 147

[SOLVED] Can't system update - mesa-git dependency

Here's the output of `sudo pacman -Syu`:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib-testing is up to date
:: Starting full system upgrade...
:: Replace libappindicator-gtk3 with extra/libappindicator? [Y/n] y
:: Replace pcmanfm-gtk3 with extra/pcmanfm? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing llvm-libs (21.1.4-1) breaks dependency 'libLLVM.so=20.1-64' required by mesa-git

I tried saying "No" as well, but it still doesn't work:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib-testing is up to date
:: Starting full system upgrade...
:: Replace libappindicator-gtk3 with extra/libappindicator? [Y/n] n
:: Replace pcmanfm-gtk3 with extra/pcmanfm? [Y/n] n
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing llvm-libs (21.1.4-1) breaks dependency 'libLLVM.so=20.1-64' required by mesa-git

I wouldn't necessarily want to uninstall `mesa-git` because it fixed an issue with Ardour - https://discourse.ardour.org/t/solved-a … dow/112213

How should I proceed from here?

Last edited by TySpicer (2025-11-08 17:35:56)

Offline

#2 2025-10-28 14:00:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,247

Re: [SOLVED] Can't system update - mesa-git dependency

You will need to rebuild mesa-git against the new llvm. The clean way to do this is to build it in a clean chroot and add it to a local repo so it gets updated along with the new llvm. Alternatively, you switch to mesa, then rebuild and reinstall mesa-git.

Offline

#3 2025-10-28 14:39:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,924

Re: [SOLVED] Can't system update - mesa-git dependency

There have been a bunch of fix releases of 25.2 in the meantime, if you don't know the exact commit that fixes this for you, it might have been backported into a release already?

Online

#4 2025-10-28 16:31:28

cryptearth
Member
Registered: 2024-02-03
Posts: 1,828

Re: [SOLVED] Can't system update - mesa-git dependency

i could be wrong but you have standard core and extra but testing multilib? that asks for things to break - either use standard or testing for all repos but don't mix them

Offline

#5 2025-10-28 16:51:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,924

Re: [SOLVED] Can't system update - mesa-git dependency

That's definitely also not good, but just from what can't be fulfilled by the visible error message shouldn't factor in right now, but you should address this as well.

Online

#6 2025-10-28 18:06:05

TySpicer
Member
Registered: 2025-08-31
Posts: 147

Re: [SOLVED] Can't system update - mesa-git dependency

Scimmia wrote:

rebuild mesa-git

I tried `paru -S mesa-git` to update it, and I got this:

:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Repo (1) llvm-libs-21.1.4-1
Aur (1) mesa-git-26.0.0_devel.214014.fd55e874ed0.d41d8cd-1

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
[sudo] password for tyspicer: 
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing llvm-libs (21.1.4-1) breaks dependency 'libLLVM.so=20.1-64' required by mesa-git

Is this how I should rebuild it?

cryptearth wrote:

you have standard core and extra but testing multilib

I enabled that this morning trying to install Steam. I used the instructions here: https://wiki.archlinux.org/title/Offici … s#multilib

Should I disable something else there as well?

Offline

#7 2025-10-28 18:43:07

cryptearth
Member
Registered: 2024-02-03
Posts: 1,828

Re: [SOLVED] Can't system update - mesa-git dependency

you uncommented the wrong multilib
what you meant to: multilib
what you actually did: multilib-testing
that are two different repos - you should fix your pacman.conf

Offline

#8 2025-10-28 21:54:58

TySpicer
Member
Registered: 2025-08-31
Posts: 147

Re: [SOLVED] Can't system update - mesa-git dependency

cryptearth wrote:

you uncommented the wrong multilib

Ah, I see. Thanks!

As for fixing the dependency issue, Scimmia's original post feels right, I'm just not sure how to interpret it. How should I proceed from here?

Offline

#9 2025-10-28 23:34:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,247

Re: [SOLVED] Can't system update - mesa-git dependency

TySpicer wrote:

Is this how I should rebuild it?

No, it's not. I gave you the options on how to do that in post #2.

Offline

#10 2025-10-29 10:57:42

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,482

Re: [SOLVED] Can't system update - mesa-git dependency

TySpicer[/quote wrote:

Scimmia's original post feels is right,

fixed that for you

TySpicer wrote:

How should I proceed from here?


See my pinned comment on mesa-git aur page


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2025-11-03 20:01:11

TySpicer
Member
Registered: 2025-08-31
Posts: 147

Re: [SOLVED] Can't system update - mesa-git dependency

I downloaded `mesa-git`, navigated into the folder, and ran `pkgctl build`. This took a while, but it looks like it worked. Then, I ran `makepkg -i` to install it, but it looks like I'm missing the dependency `libLLVM.so=21.1-64`. I tried `sudo pacman -S libLLVM.so=21.1-64`, and it gave me this:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing llvm-libs (21.1.4-1) breaks dependency 'libLLVM.so=20.1-64' required by mesa-git

What should I do next?

Offline

#12 2025-11-03 20:07:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,247

Re: [SOLVED] Can't system update - mesa-git dependency

Maybe switch to a distro that doesn't expect you to be able to read an follow instructions.

Offline

#13 2025-11-03 20:39:00

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: [SOLVED] Can't system update - mesa-git dependency

Sanity check: have you even tried whether mesa 25.2.6 fixes your ardour problem?
Notably since

Lone_Wolf wrote:
TySpicer wrote:

Scimmia's original post feels is right

and

Scimmia wrote:

Alternatively, you switch to mesa, then rebuild and reinstall mesa-git.

ie you might want to intermediately install mesa 2.25.6 anyway.

Offline

#14 2025-11-04 01:32:53

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,111
Website

Re: [SOLVED] Can't system update - mesa-git dependency

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#15 2025-11-04 14:26:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,482

Re: [SOLVED] Can't system update - mesa-git dependency

https://aur.archlinux.org/packages/mesa-git#comment-741159 wrote:

install the newly built mesa-git

I may have to rephrase that line to make it more clear what I mean with install .


run pacman -U /path/to/mesa-git-binary-that-was- build-with-pkgctl as root or with root rights .

If that fails post the output you get and add the output of pacman -Qs llvm

pacman -Qs llvm

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#16 2025-11-05 19:25:29

TySpicer
Member
Registered: 2025-08-31
Posts: 147

Re: [SOLVED] Can't system update - mesa-git dependency

seth wrote:

you might want to intermediately install mesa 2.25.6 anyway.

Should I uninstall mesa-git first, or does it matter?

Lone_Wolf wrote:

run pacman -U /path/to/mesa-git-binary-that-was- build-with-pkgctl as root or with root rights

Which file would this be? I tried `sudo pacman -U PKGBUILD`, but it said "Unrecognized archive format." This sounds like it would be one of the `.tar.gz` files.

Here's the output of `pacman -Qs llvm`:

local/clang 20.1.8-2
    C language family frontend for LLVM
local/lld 20.1.8-1
    Linker from the LLVM project
local/llvm 20.1.8-1
    Compiler infrastructure
local/llvm-libs 20.1.8-1
    LLVM runtime libraries
local/spirv-llvm-translator 20.1.5-1
    Tool and a library for bi-directional translation between SPIR-V and LLVM
    IR

Offline

#17 2025-11-05 20:07:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: [SOLVED] Can't system update - mesa-git dependency

Installing mesa will replace mesa-git … how did you get into this situation if you don't know these things?

I tried `sudo pacman -U PKGBUILD`

Do yourself a favor and read through https://wiki.archlinux.org/title/Pacman - you want to know basic pacman.

Offline

#18 2025-11-05 20:17:04

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,482

Re: [SOLVED] Can't system update - mesa-git dependency

It would be an archive which name starts with mesa-git and ends with .pkg.tar.zst .

However your system is still on llvm 20 which will block installing mesa-git built against llvm 21.

The simplest way to get out of the catch 22 is to revert to stock mesa.

Note that I advise to logout from gui and do this from a text console logged in as root

run

# pacman -Syu mesa

pacman will tell you mesa-git and mesa conflict, instruct it to remove mesa-git .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#19 2025-11-07 20:07:00

TySpicer
Member
Registered: 2025-08-31
Posts: 147

Re: [SOLVED] Can't system update - mesa-git dependency

I went back to the tty, logged in as root, and ran `pacman -Syu mesa`, so I have mesa instead of mesa-git now. It looks like that fully updated my system, so after logging back into Hyprland and running `sudo pacman -Syu`, there was nothing to do. Great!

Now, I have the issue I had with Ardour before. If I open a few plugin windows, it crashes. Could I try switching back to mesa-git at this point? Would be a different topic now?

Offline

#20 2025-11-07 20:22:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,981

Re: [SOLVED] Can't system update - mesa-git dependency

Could I try switching back to mesa-git at this point? Would be a different topic now?

Yes and probably no.
You'll however inevitably run into the same situation again w/ some later update and have to repeat the process.

Offline

#21 2025-11-08 10:44:28

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,482

Re: [SOLVED] Can't system update - mesa-git dependency

The best option for a smooth upgrade next time repo llvm so-names change is to setup a custom local repository that is added at the bottom of pacman.conf .

After building the clean chroot new mesa-git version, you add it to your custom repo and run pacman -Syu .

Keep in mind that mesa typically gets hundreds of new commits every week and I recommend users of mesa-git update/build mesa-git atleast once a month.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB