failed to build silo: failed to compile /usr/share/fwupd/quirks.d/tpm.quirk

Bug #1899036 reported by chris pollock
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fwupd (Ubuntu)
Invalid
Undecided
Unassigned
gwyddion (Ubuntu)
Fix Released
Undecided
Unassigned
libxmlb (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04

apt-cache policy fwupd
fwupd:
  Installed: 1.3.11-1~focal1
  Candidate: 1.3.11-1~focal1
  Version table:

When fwupd attempts to run this is written to my syslog:

fwupd[920251]: 11:13:34:0743 FuQuirks failed to build silo: failed to compile /usr/share/fwupd/quirks.d/tpm.quirk:ctime=1601481168.750206: cannot process content type application/x-stmprg-spm

I've run
sudo systemctl status fwupd.service -l
[sudo] password for chris:
● fwupd.service - Firmware update daemon
     Loaded: loaded (/lib/systemd/system/fwupd.service; static; vendor preset: enabled)
     Active: active (running) since Thu 2020-10-08 06:13:34 CDT; 2h 22min ago
       Docs: https://fwupd.org/
   Main PID: 920251 (fwupd)
      Tasks: 5 (limit: 17889)
     Memory: 8.4M
     CGroup: /system.slice/fwupd.service
             └─920251 /usr/libexec/fwupd/fwupd

The complete output of this is attached to the bug report.

Tags: focal
Revision history for this message
chris pollock (cpollock) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

Have you installed anything that added new mine types?

Revision history for this message
Mario Limonciello (superm1) wrote :

Sorry mime

Revision history for this message
chris pollock (cpollock) wrote :

Nothing new, just updates as they're needed.

Revision history for this message
Mario Limonciello (superm1) wrote :

Can you please provide a list of installed packages? Something seems to be providing a mime type that might be breaking fwupd. We need to figure out what it is.

Revision history for this message
chris pollock (cpollock) wrote :

See attached

Revision history for this message
Mario Limonciello (superm1) wrote :

If you remove gwyddion and gwyddion-common can you see if that helps?

Revision history for this message
chris pollock (cpollock) wrote :

Removed, I'll check logs to see if it's fixed and let you know.

Revision history for this message
chris pollock (cpollock) wrote :

So far so good, no fwupd errors so far today.

Revision history for this message
chris pollock (cpollock) wrote :

This issue appears to be fixed. No problems since last Thursday. I believe it can be closed.

Revision history for this message
Mario Limonciello (superm1) wrote :

This to me is either a bug in libxmlb or in gwyddion.

- If it's in libxmlb it's that it's not accepting formats with wrong mimetypes. This actually might be improved in a newer libxmlb, the 0.2.1 release has this specifically: https://github.com/hughsie/libxmlb/commit/3101baad938d63f26cda7e3296875adcde282f60

- If it's in gwyddion it's too liberal of a mime type match.

The newer libxmlb is not yet packaged however.

Changed in fwupd (Ubuntu):
status: New → Invalid
Changed in gwyddion (Ubuntu):
status: New → Triaged
Changed in libxmlb (Ubuntu):
status: New → Triaged
Revision history for this message
OliFre (freyermuth) wrote :

This can still be reproduced with more recent libxmlb (testted with 0.3.6 on Gentoo).

I have reported the issue to Gwyddion upstream with a proposed patch to remove the broad matching:
https://sourceforge.net/p/gwyddion/mailman/gwyddion-devel/thread/9e1f6694-c39b-6131-796b-667f6e25f7e9%40googlemail.com/#msg37595049
and the patch was merged in:
https://sourceforge.net/p/gwyddion/code/24576/

In addition, I've opened a Debian Bug reporting the issue and the patch:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004263

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwyddion - 2.60-2

---------------
gwyddion (2.60-2) unstable; urgency=medium

  [ Oliver Freyermuth ]
  * Fix application/x-stmprg-spm mime type pattern
    Closes: #1004263 (LP: #1899036)

 -- Andreas Tille <email address hidden> Mon, 24 Jan 2022 11:26:10 +0100

Changed in gwyddion (Ubuntu):
status: Triaged → Fix Released
Changed in libxmlb (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.