After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795658 - [2.10.0] FTBFS test-appdata.sh: • tag-invalid : <release> timestamps are not in order [1448582400 before 1494460800]
[2.10.0] FTBFS test-appdata.sh: • tag-invalid : <release> timestamps are not ...
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: General
2.10.0
Other Linux
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2018-04-29 11:19 UTC by Jean-Christophe Manciot
Modified: 2018-04-29 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-Christophe Manciot 2018-04-29 11:19:23 UTC
Ubuntu 17.10
Sources: https://packages.debian.org/source/sid/gimp
Release: 2.10.0-2
debuild: 2.18.2

Build made with: debuild -i -I --no-sign --build=binary -j1

...
FAIL: test-appdata.sh
=========================================
   GIMP 2.10.0: desktop/test-suite.log
=========================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-appdata.sh
=====================

/media/actionmystique/SAMSUNG5-Shared/home/actionmystique/src/Gimp/gimp-build/gimp-2.10.0-2/desktop/org.gimp.GIMP.appdata.xml: FAILED:
• tag-invalid           : <release> timestamps are not in order [1448582400 before 1494460800]
Validation of files failed
FAIL test-appdata.sh (exit status: 1)

============================================================================
Testsuite summary for GIMP 2.10.0
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See desktop/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
============================================================================

This issue seems to be linked to: desktop: make org.gimp.GIMP.appdata.xml validate again: https://github.com/GNOME/gimp/commit/447d9bbc56634bea6ba210dccee139eac85287cb

Cf. attachment: full build log
Comment 1 Jean-Christophe Manciot 2018-04-29 11:45:38 UTC
The build log size exceeds the constraint, but is available at:
https://drive.google.com/open?id=1S4zk7WH1xsFpWk-pRGpIMBP17X6nVaL4
Comment 2 Jehan 2018-04-29 12:07:32 UTC
Which version of `appstream-util` are you using?
Cf. `appstream-util --version`?

There was a bug in appstream-util, which has been fixed in February 21:
https://github.com/hughsie/appstream-glib/issues/222

This means you need at least appstream-util version 0.7.7 or higher. If you use an older version of this tool, then make check will indeed fail but the bug is not in GIMP, but in the test tool.
Comment 3 Jean-Christophe Manciot 2018-04-29 13:20:32 UTC
spot on: 0.7.1
Building with appstream-util version 0.7.7 solves this issue (but others appear).
It means that a debian dependency with constraint is lacking in the build dependencies: appstream-util (>= 0.7.7), 
Reporting to submit@bugs.debian.org.
Comment 4 Jehan 2018-04-29 13:23:25 UTC
Thanks for checking!
Comment 5 Jeremy Bicha 2018-04-29 14:23:59 UTC
I guess you could check for appstream-util >= 0.7.7 in configure.ac
Comment 6 Jehan 2018-04-29 14:35:05 UTC
(In reply to Jeremy Bicha from comment #5)
> I guess you could check for appstream-util >= 0.7.7 in configure.ac

I would gladfully accept and push a patch for checking appstream-util version in configure.ac. :-)