#9375 Missing dependency fontawesome-fonts on F39
Closed: fixed by frenaud. Opened by pvoborni.

Issue

Building Vagrant box for master branch with rawhide (bumped to F39) fails with:

 Problem 1: conflicting requests
  - nothing provides fontawesome-fonts needed by freeipa-server-4.11.0.dev-0.fc39.x86_64
 Problem 2: package freeipa-server-trust-ad-4.11.0.dev-0.fc39.x86_64 requires freeipa-server = 4.11.0.dev-0.fc39, but none of the providers can be installed
  - conflicting requests
  - nothing provides fontawesome-fonts needed by freeipa-server-4.11.0.dev-0.fc39.x86_64
 Problem 3: package freeipa-server-dns-4.11.0.dev-0.fc39.noarch requires freeipa-server = 4.11.0.dev-0.fc39, but none of the providers can be installed
  - conflicting requests
  - nothing provides fontawesome-fonts needed by freeipa-server-4.11.0.dev-0.fc39.x86_64", "stderr_lines": ["Error: ", " Problem 1: conflicting requests", "  - nothing provides fontawesome-fonts needed by freeipa-server-4.11.0.dev-0.fc39.x86_64", " Problem 2: package freeipa-server-trust-ad-4.11.0.dev-0.fc39.x86_64 requires freeipa-server = 4.11.0.dev-0.fc39, but none of the providers can be installed", "  - conflicting requests", "  - nothing provides fontawesome-fonts needed by freeipa-server-4.11.0.dev-0.fc39.x86_64", " Problem 3: package freeipa-server-dns-4.11.0.dev-0.fc39.noarch requires freeipa-server = 4.11.0.dev-0.fc39, but none of the providers can be installed", "  - conflicting requests", "  - nothing provides fontawesome-fonts needed by freeipa-server-4.11.0.dev-0.fc39.x86_64"], "stdout": "Last metadata expiration check: 0:00:06 ago on Sat 06 May 2023 11:36:10 AM UTC.
(try to add '--skip-broken' to skip uninstallable packages)", "stdout_lines": ["Last metadata expiration check: 0:00:06 ago on Sat 06 May 2023 11:36:10 AM UTC.", "(try to add '--skip-broken' to skip uninstallable packages)"]}

This is caused by new versioning of fontawesome in Fedora 39 +

There are newly 3 types:
- fontawesome4-fonts https://koji.fedoraproject.org/koji/packageinfo?packageID=36902 (package name is fontawesome4-fonts - this is the same major version(4) as in previous fontawesome-fonts
- fontawesome5-fonts https://koji.fedoraproject.org/koji/packageinfo?packageID=34412
- fontawesome-font https://koji.fedoraproject.org/koji/packageinfo?packageID=17584 (which produces version 6 and the package names are bit different)

I.e. IMHO, the dependendency for F39+ needs to be changed to fontawesome4-fonts as the others might not be compatible with current Web UI

Steps to Reproduce

  1. build freeipa for F39
  2. try to install the build rpms

Actual behavior

dnf install fails

Expected behavior

it succeeds

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

master branch from today

Additional info:

Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.


The simplest way is https://src.fedoraproject.org/rpms/freeipa/pull-request/15#request_diff which already merged in Fedora.

E.g.

Requires: font(fontawesome)

This will work everywhere.

Please note that the problem in Fedora isn't urgent because https://bugzilla.redhat.com/show_bug.cgi?id=2185459 was fixed by providing the same CSS as it was in past. So we know it works fine.

I have some work in progress in updating to support both old and new fontawesome version but it requires to find a solution at build-time, to detect proper version according to the distro specs. There is no good way of querying whether a particular fontawesome package exists other than delving into distribution-specific detection and that one would not scale well.

master:

  • da65cc3 Change fontawesome-fonts requires to match fontawesome 4.x

ipa-4-10:

  • 58173c0 Change fontawesome-fonts requires to match fontawesome 4.x

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata