Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701900 - >=sys-apps/fwupd-1.3 : get-devices finds no supported devices when sci-chemistry/chemical-mime-data is installed
Summary: >=sys-apps/fwupd-1.3 : get-devices finds no supported devices when sci-chemis...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-03 17:42 UTC by Jan-Matthias Braun
Modified: 2020-04-14 14:25 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Matthias Braun 2019-12-03 17:42:55 UTC
For all fwupd-1.3-versions, I am missing devices. On one device, I am seeing "No detected devices" for get-devices, on another one, I am only seeing the bios.

A logitech unifying receiver, which I updated with earlier versions, is not recognised anymore, on both machines.


Reproducible: Always

Steps to Reproduce:
1. Updating fwupd to version 1.3.5 (or one of the other 1.3 versions)
2. Call fwupdmgr get-devices ore refresh
Actual Results:  
Refresh / get-devices reports: "No detected devices"

Expected Results:  
A list f devices, at least the unifying receiver, but also a bunch of other devices like NVME, ssd, or system firmware, should have been reported.

When starting fwupd with --verbose, a series of error messages is printed which was not printed with the 1.2 version.

XbSilo compiling /usr/share/fwupd/quirks.d/ata.quirk:ctime=1575393821.492587…
FuQuirks failed to build silo: failed to compile /usr/share/fwupd/quirks.d/ata.quirk:ctime=1575393821.492587: cannot process content type chemical/x-turbomole-vibrational

I have found no combination of USE flags which change this behaviour. But as other people seem to have better luck with version 1.3, I assume this to be a specific option of my systems.

Portage 2.3.80 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.30-r3, 5.4.1 x86_64)
=================================================================
System uname: Linux-5.4.1-x86_64-AMD_Ryzen_Threadripper_2970WX_24-Core_Processor-with-gentoo-2.6
KiB Mem:   132246636 total,  84540496 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 03 Dec 2019 11:30:01 +0000
Head commit of repository gentoo: aa1eddb3ae2fdf90c76127558110c6df93157e97
Head commit of repository kde: ca30da81a08f2bea27240a95402d27692776deca

Head commit of repository qt: 5b7c41d563393a928db126ac7136af72210f7550

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.16.0::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: -O --quiet
    sync-rsync-verify-jobs: 1

kde
    location: /var/lib/layman/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: git
    sync-uri: https://github.com/gentoo/kde.git
    masters: gentoo
    priority: 50

private
    location: /var/lib/overlays/jb
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs=1 --quiet-build --quiet-fail"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox network-sandbox-proxy news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ https://mirror.netcologne.de/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de@1901 en en_GB en_US da"
MAKEOPTS="-j40"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O --quiet"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli color-management colord corefonts crypt cryptsetup cups cxx dbus declarative device-mapper dri dts dv dvd dvdr elogind emboss encode eselect-ldso exif faac faad fam fftw flac fortran gdbm gif git gold gpm gtk hdri heif highlight iconv icu ipv6 jbig jpeg jpeg2k jumbo-build kde kipi kms kwallet latex lcms ldap libnotify libtirpc lto lvm lz4 lzma lzo mad matroska mjpeg mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg openal opencl opengl openh264 openmp opus pam pango pcre pdf pgo phonon plasma png pnm policykit postproc postscript ppds pulseaudio qml qt5 quicktime rar readline sdl seccomp semantic-desktop speex spell split-usr ssl startup-notification svg tcpd theora threads tiff truetype twolame udev udisks unicode upower usb vdpau vim-syntax visio vorbis vpx vulkan wayland webp widgets wpg x264 x265 xattr xcb xcomposite xft xml xpm xrandr xrender xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboards libinput mouse evdev wacom" KERNEL="linux" L10N="de de-1901 en en-GB en-US da" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Jan-Matthias Braun 2020-01-01 17:52:09 UTC
Short update: still the same behaviour with 1.3.6.
Comment 2 Jan-Matthias Braun 2020-01-06 13:04:54 UTC
Alright. I got the following two puzzle pieces.

1. Extensive debugging info revealed the following message:
12:57:51:0859 FuQuirks             failed to build silo: failed to compile /usr/share/fwupd/quirks.d/ata.quirk:ctime=1577992034.660411: cannot process content type chemical/x-turbomole-vibrational

Deleting ata.quirk just repeated the same message with another quirk file. I.e., it looks like the mime type broke silo building.

When uninstalling sci-chemistry/chemical-mime-data, this message disappears.

2. Now I can
/usr/libexec/fwupd/fwupdtool get-devices
and I will see all devices.

I can also use
/usr/libexec/fwupd/fwupdtool update


Using fwupdmgr get-devices, I only see a subset of the devices. But since a fwupdtool update I also see the unifying receiver.

fwupdmgr refresh seems to work as intended. Also update seems to work, but probably only on the subset of devices which is also shown with get-devices.
Comment 3 Jan-Matthias Braun 2020-01-06 13:08:18 UTC
It becomes even more interesting. After the unifying receiver update, I restarted fwupdmgr and now I am seeing the full list of devices? I thought I had restarted fwupdmgr after uninstalling chemical-mime-data, but I guess that uninstalling chemical-mime-data was all it needed.
Comment 4 Markus Kaindl 2020-01-29 16:13:21 UTC
Problem is already known upstream and they blame it on chemical-mime-data:

https://github.com/fwupd/fwupd/issues/1631
Comment 5 Markus Kaindl 2020-01-29 19:05:32 UTC
I created a Bugreport for sci-chemistry/chemical-mime-data for gentoo (https://bugs.gentoo.org/707284) and upstream (https://github.com/dleidert/chemical-mime/issues/1). I also attached a Patch to the gentoo-bug fixing this problem.
Comment 6 Jan-Matthias Braun 2020-01-30 09:42:27 UTC
(In reply to Markus Kaindl from comment #5)
> I created a Bugreport for sci-chemistry/chemical-mime-data for gentoo
> (https://bugs.gentoo.org/707284) and upstream
> (https://github.com/dleidert/chemical-mime/issues/1). I also attached a
> Patch to the gentoo-bug fixing this problem.

Thanks a lot!
Comment 7 Larry the Git Cow gentoo-dev 2020-02-03 21:13:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8db1d655486666b52447589047cd33d8106a44

commit ba8db1d655486666b52447589047cd33d8106a44
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-02-03 21:09:33 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-02-03 21:13:31 +0000

    sys-apps/fwupd: Bump to version 1.3.7
    
    Block sci-chemistry/chemical-mime-data until we have a better fix
    
    Bug: https://bugs.gentoo.org/701900
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/fwupd/Manifest           |   1 +
 sys-apps/fwupd/fwupd-1.3.7.ebuild | 161 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 162 insertions(+)
Comment 8 Andreas Sturmlechner gentoo-dev 2020-02-04 16:36:10 UTC
Sigh...

> [blocks B     ] sci-chemistry/chemical-mime-data ("sci-chemistry/chemical-mime-data" is blocking sys-apps/fwupd-1.3.7)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (sci-chemistry/chemical-mime-data-0.1.94-r3:0/0::gentoo, installed) pulled in by
>     sci-chemistry/chemical-mime-data required by (kde-apps/kalzium-19.12.2:5/5::kde, ebuild scheduled for merge) USE="handbook -debug -editor -solver" ABI_X86="(64)"
> 
>   (sys-apps/fwupd-1.3.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
>     sys-apps/fwupd required by (kde-plasma/discover-5.18.49.9999:5/5::kde, installed) USE="feedback firmware -debug -test" ABI_X86="(64)"
Comment 9 Larry the Git Cow gentoo-dev 2020-02-07 18:41:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d09c0b82bf36f36b2ee9e917b35636ce5bc737c

commit 6d09c0b82bf36f36b2ee9e917b35636ce5bc737c
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2020-02-07 18:38:04 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2020-02-07 18:41:07 +0000

    sys-apps/fwupd: Update blocker
    
    Bug: https://bugs.gentoo.org/701900
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 sys-apps/fwupd/fwupd-1.3.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db812912bedf3a9abd4e24a9db087d3212638159

commit db812912bedf3a9abd4e24a9db087d3212638159
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2020-02-07 18:35:45 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2020-02-07 18:41:07 +0000

    sci-chemistry/chemical-mime-data: Drop problematic mime type
    
    Bug: https://bugs.gentoo.org/701900
    Closes: https://bugs.gentoo.org/707284
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../chemical-mime-data-0.1.94-r4.ebuild            | 53 ++++++++++++++++++++++
 ...me-data-0.1.94-drop-turbomole-vibrational.patch | 20 ++++++++
 2 files changed, 73 insertions(+)