Public bug reported:

$ lsb_release -rd
Description:    Ubuntu Focal Fossa (development branch)
Release:        20.04

$ apt-cache policy libappstream-glib8
libappstream-glib8:
  Installed: 0.7.16-1ubuntu1
  Candidate: 0.7.16-1ubuntu1
  Version table:
 *** 0.7.16-1ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

I'm UK based with time set to BST.  If I set the <release> date to the
current date, then between 12:00 midnight and 1:00am, flatpak-builder
fails with and error:

org.pjbroad.EternallandsClient:    AppData problem: attribute-invalid : 
<release> timestamp is in the future
Error loading AppData file: AppData file 
/app/share/appdata/org.pjbroad.EternallandsClient.appdata.xml was not valid
Error: ERROR: appstream-compose failed: Child process exited with code 1

I would expect using my local date to be valid.

This bug is fixed upstream in version 0.7.17
https://github.com/hughsie/appstream-glib/commit/72789b6ff59f5d1741d1cbc29e90bfa57079c514

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libappstream-glib8 0.7.16-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: GNOME
Date: Wed Apr 15 00:31:43 2020
InstallationDate: Installed on 2019-11-02 (164 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: appstream-glib
UpgradeStatus: Upgraded to focal on 2020-03-28 (17 days ago)

** Affects: appstream-glib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream-glib in Ubuntu.
https://bugs.launchpad.net/bugs/1872857

Title:
  attribute-invalid : <release> timestamp is in the future

Status in appstream-glib package in Ubuntu:
  New

Bug description:
  $ lsb_release -rd
  Description:  Ubuntu Focal Fossa (development branch)
  Release:      20.04

  $ apt-cache policy libappstream-glib8
  libappstream-glib8:
    Installed: 0.7.16-1ubuntu1
    Candidate: 0.7.16-1ubuntu1
    Version table:
   *** 0.7.16-1ubuntu1 500
          500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
          100 /var/lib/dpkg/status

  I'm UK based with time set to BST.  If I set the <release> date to the
  current date, then between 12:00 midnight and 1:00am, flatpak-builder
  fails with and error:

  org.pjbroad.EternallandsClient:    AppData problem: attribute-invalid : 
<release> timestamp is in the future
  Error loading AppData file: AppData file 
/app/share/appdata/org.pjbroad.EternallandsClient.appdata.xml was not valid
  Error: ERROR: appstream-compose failed: Child process exited with code 1

  I would expect using my local date to be valid.

  This bug is fixed upstream in version 0.7.17
  
https://github.com/hughsie/appstream-glib/commit/72789b6ff59f5d1741d1cbc29e90bfa57079c514

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: libappstream-glib8 0.7.16-1ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu26
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: GNOME
  Date: Wed Apr 15 00:31:43 2020
  InstallationDate: Installed on 2019-11-02 (164 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  SourcePackage: appstream-glib
  UpgradeStatus: Upgraded to focal on 2020-03-28 (17 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1872857/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to