Skip to content

Fix "library 'uuid' is required" error for Fedora

Hugo Ortiz requested to merge 1359-fix-uuid-is-required-error-for-fedora into main

What does this Merge Request do and why?

This fixes the following error, which I stumbled upon when doing gdk update on 2021-11-18 on Fedora 35:

error: library 'uuid' is required for E2FS UUID

Apparently, this library is now needed when upgrading PostgreSQL to 12.9.

Background

I found this had already been fixed for Debian and Ubuntu on #1359 (closed) / !2268 (merged).

To-do / Questions

I'm not sure yet how to properly test the fix 😅 . So, advice is welcome.

Locally, I ended up fixing the issue by manually installing the libuuid-devel package on my machine:

sudo dnf install libuuid-devel

And from what I saw in !2268 (merged), the GDK fix would be to include that package in packages_fedora.txt. Which is what this MR does. However, when trying to test that locally I didn't know how to prevent gdk update from overwriting that file when pulling latest changes from main. Advice on best way to achieve this is welcome 👍🏼 .

Also, I'm associating the MR to already closed #1359 (closed). Guess this is fine?

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Closes #1359 (closed)

Merge request reports

Loading