Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4459

appstream-util error: tag-invalid : <url> type invalid [unknown] when validating appstream metadata

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.0.0
    • libappstream-glib
    • None
    • None
    • rhel-sst-display-hardware-multimedia
    • ssg_display
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      +++ This bug was initially created as a clone of Bug #1830923 +++

      Description of problem:

      appstream-util fails to validate appstream metadata, complaining about unknown <url> type.

      Version-Release number of selected component (if applicable):

      libappstream-glib-0.7.18-4.el9

      How reproducible:

      Always

      Steps to Reproduce:

      1. wget https://raw.githubusercontent.com/minetest/minetest/master/misc/net.minetest.minetest.appdata.xml
      2. appstream-util validate-relax --nonet net.minetest.minetest.appdata.xml

      Actual results:

      net.minetest.minetest.appdata.xml: FAILED:
      • tag-invalid : <url> type invalid [unknown]
      Validation of files failed

      Expected results:

      net.minetest.minetest.appdata.xml: OK

      Additional info:

      This works on Fedora 36 (libappstream-glib-0.8.0-4.fc36).

      Originally this issue has been reported for RHEL 7 (#1830923) and the answer was that for RHEL 7 it is to late to update the library. But RHEL 9 is rather new and has the lib version higher than that of Fedora 31. And the issue is still present.

      If the fix can not be backported to RHEL 9 could you please suggest a workaround for EPEL packages following Fedora Packaging Guidelines:

      https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage

      https://src.fedoraproject.org/rpms/minetest/blob/rawhide/f/minetest.spec#_179

              rhn-engineering-rhughes Richard Hughes
              afedorov@redhat.com Aleksandra Fedorova
              Richard Hughes Richard Hughes
              Desktop QE Desktop QE
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: