ximion / appstream-generator

A fast AppStream metadata generator
GNU Lesser General Public License v3.0
44 stars 29 forks source link

asgen_tests fail with SIGTRAP on Fedora 36+ #102

Closed Conan-Kudo closed 1 year ago

Conan-Kudo commented 2 years ago

When trying to build appstream-generator 0.8.8 on Fedora 36 and Rawhide, the test suite fails on the asgen_tests run with a SIGTRAP error.

Here's the output from the meson test log:

1/2 asgen-validate_metainfo OK              0.02s
15:45:08 MALLOC_PERTURB_=186 /usr/bin/appstreamcli validate --no-net --pedantic /builddir/build/BUILD/appstream-generator-0.8.8/redhat-linux-build/../data/org.freedesktop.appstream.generator.metainfo.xml
----------------------------------- output -----------------------------------
P: org.freedesktop.appstream.generator:~: releases-info-missing

✔ Validation was successful: pedantic: 1
------------------------------------------------------------------------------

2/2 asgen_tests             FAIL            2.28s   killed by signal 5 SIGTRAP
15:45:08 MALLOC_PERTURB_=40 /builddir/build/BUILD/appstream-generator-0.8.8/redhat-linux-build/src/asgen/asgen_test
----------------------------------- output -----------------------------------
stderr:

** (process:948): ERROR **: 11:45:10.734: Unable to find description of issue hint 'desktop-entry-hidden-set' - this is a bug!
------------------------------------------------------------------------------

Summary of Failures:

2/2 asgen_tests             FAIL            2.28s   killed by signal 5 SIGTRAP

Ok:                 1
Expected Fail:      0
Fail:               1
Unexpected Pass:    0
Skipped:            0
Timeout:            0
Conan-Kudo commented 2 years ago

This failure doesn't happen with appstream-generator 0.8.7.

ximion commented 2 years ago

Yes, for the tests to pass, you need asgen 0.8.8 and appstream 0.15.3 currently, due to a tag rename. I only spotted this after the release, annoyingly.