m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

mingw-w64-[i686|x86_64]-llvm-openmp gets removed and re-installed #2631

Closed LigH-de closed 2 months ago

LigH-de commented 2 months ago

Uninstall-reinstall loop: update.stripped.log

Biswa96 commented 2 months ago

openmp package was renamed to llvm-openmp in this commit https://github.com/msys2/MINGW-packages/commit/df5dc2264055b202ba3572f9caf73218a00b4afb

I am not sure how you ended up in that kind of error. The update went fine in my system.

LigH-de commented 2 months ago

I remember there was some manual pacman command to force the installation of a package...

Or I may have to change a list of dependencies somewhere?

1480c1 commented 2 months ago

Probably fixed with https://github.com/m-ab-s/media-autobuild_suite/commit/a93604b85a7ee1cd844efef24e87ad85df5babc9

LigH-de commented 2 months ago

It now repeats this:

You're missing some packages!
Proceeding with installation...
warning: mingw-w64-i686-llvm-openmp-18.1.3-1 is up to date -- skipping
warning: mingw-w64-x86_64-llvm-openmp-18.1.3-1 is up to date -- skipping
 there is nothing to do
warning: mingw-w64-i686-llvm-openmp-18.1.3-1 is up to date -- skipping
warning: mingw-w64-x86_64-llvm-openmp-18.1.3-1 is up to date -- skipping
 there is nothing to do
error: could not set install reason for package mingw-w64-i686-openmp (could not find or read package)
error: could not set install reason for package mingw-w64-x86_64-openmp (could not find or read package)
1480c1 commented 2 months ago

I would just recommend removing /etc/pac-*-extra.pk and rerunning, it shouldn't cause any issues

LigH-de commented 2 months ago

It wants to remove a frightening list of packages ... let's see what happens. If it messes up, I can at least always reinstall from scratch, so no panic.