Debian Bug report logs -
#906711
appstream glib error - not fixed in 0.12.2-2
Reported by: william l-k <william.james.kauffman@gmail.com>
Date: Mon, 20 Aug 2018 01:45:02 UTC
Severity: normal
Found in version appstream/0.12.2-2
Done: Matthias Klumpp <mak@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, william.james.kauffman@gmail.com, Matthias Klumpp <mak@debian.org>:
Bug#906711; Package appstream.
(Mon, 20 Aug 2018 01:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to william l-k <william.james.kauffman@gmail.com>:
New Bug report received and forwarded. Copy sent to william.james.kauffman@gmail.com, Matthias Klumpp <mak@debian.org>.
(Mon, 20 Aug 2018 01:45:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: appstream
Version: 0.12.2-2
Severity: normal
Dear Maintainer,
There were a number of bugs reported for appstream associated with glib
assertion failures. After upgrading from 0.12.2-1 to 0.12.2-2 there is still an
assertion failure:
(appstreamcli:18922): GLib-CRITICAL **: 20:19:06.758: g_variant_builder_end:
assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type
!= NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed
(appstreamcli:18922): GLib-CRITICAL **: 20:19:06.758: g_variant_new_variant:
assertion 'value != NULL' failed
(appstreamcli:18922): GLib-ERROR **: 20:19:06.758: g_variant_new_parsed:
11-13:invalid GVariant format string
Previously appstream tripped up on:
appstreamcli refresh-cache
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (600, 'experimental'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages appstream depends on:
ii libappstream4 0.12.2-1
ii libc6 2.27-5
ii libglib2.0-0 2.56.1-2
appstream recommends no packages.
Versions of packages appstream suggests:
ii apt-config-icons 0.12.2-1
ii curl 7.61.0-1
-- debconf-show failed
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klumpp <mak@debian.org>:
Bug#906711; Package appstream.
(Mon, 20 Aug 2018 02:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klumpp <matthias@tenstral.net>:
Extra info received and forwarded to list. Copy sent to Matthias Klumpp <mak@debian.org>.
(Mon, 20 Aug 2018 02:39:03 GMT) (full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
2018-08-20 3:41 GMT+02:00 william l-k <william.james.kauffman@gmail.com>:
> Package: appstream
> Version: 0.12.2-2
> Severity: normal
>
> Dear Maintainer,
>
> There were a number of bugs reported for appstream associated with glib
> assertion failures. After upgrading from 0.12.2-1 to 0.12.2-2 there is still an
> assertion failure:
>
> (appstreamcli:18922): GLib-CRITICAL **: 20:19:06.758: g_variant_builder_end:
> assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type
> != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed
>
> (appstreamcli:18922): GLib-CRITICAL **: 20:19:06.758: g_variant_new_variant:
> assertion 'value != NULL' failed
>
> (appstreamcli:18922): GLib-ERROR **: 20:19:06.758: g_variant_new_parsed:
> 11-13:invalid GVariant format string
This indeed looks like a different issue from the one that appeared before.
I can not reproduce it here though, neither on Debian Testing nor on
Debian unstable.
Do you have any 3rd-party repos enabled?
Can you attach the output of `appstreamcli status` as well as of this
command please?
find /var/lib/app-info/ /var/cache/app-info/ /usr/share/app-info/ -not
-path "*/icons/*"
Cheers,
Matthias
--
I welcome VSRE emails. See http://vsre.info/
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klumpp <mak@debian.org>:
Bug#906711; Package appstream.
(Mon, 20 Aug 2018 02:39:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klumpp <matthias@tenstral.net>:
Extra info received and forwarded to list. Copy sent to Matthias Klumpp <mak@debian.org>.
(Mon, 20 Aug 2018 02:39:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klumpp <mak@debian.org>:
Bug#906711; Package appstream.
(Mon, 20 Aug 2018 16:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Houmehr Aghabozorgi <haghabozorgi@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klumpp <mak@debian.org>.
Your message did not contain a Subject field. They are recommended and
useful because the title of a Bug is determined using this field.
Please remember to include a Subject field in your messages in future.
(Mon, 20 Aug 2018 16:27:03 GMT) (full text, mbox, link).
Message #20 received at 906711@bugs.debian.org (full text, mbox, reply):
Package: appstream
Version: 0.12.2-2
Followup-For: Bug #906711
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
I run debian testing, I was on 0.12.2-1 and went to do an apt-update per usual and got this message:
# apt-get update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Hit:3 http://ftp.us.debian.org/debian sid InRelease
(appstreamcli:2734): GLib-CRITICAL **: 09:00:49.515: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed
(appstreamcli:2734): GLib-CRITICAL **: 09:00:49.515: g_variant_new_variant: assertion 'value != NULL' failed
(appstreamcli:2734): GLib-ERROR **: 09:00:49.515: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap
I tried updating to 0.12.2-2 from sid repo and attempted to apt-update again but still getting same message.
I expect it to run through apt-get update without seeing this message or a better indication on how best to address the issue.
OUTPUTS that might help
# appstreamcli status
AppStream Status:
Version: 0.12.2
Distribution metadata:
/usr/share/app-info
- Empty.
/var/lib/app-info
- YAML: 6
- Iconsets:
debian-sid-non-free
debian-buster-contrib
debian-buster-non-free
debian-buster-main
debian-sid-main
debian-sid-contrib
/var/cache/app-info
- Empty.
Metainfo files:
- Found 91 components.
- Found 1 components in legacy paths.
Summary:
We have information on 2265 software components.
----------
# find /var/lib/app-info/ /var/cache/app-info/ /usr/share/app-info/ -not -path "*/icons/*"
/var/lib/app-info/
/var/lib/app-info/yaml
/var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_sid_non-free_dep11_Components-amd64.yml.gz
/var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_buster_contrib_dep11_Components-amd64.yml.gz
/var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_sid_main_dep11_Components-amd64.yml.gz
/var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_buster_non-free_dep11_Components-amd64.yml.gz
/var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_buster_main_dep11_Components-amd64.yml.gz
/var/lib/app-info/yaml/ftp.us.debian.org_debian_dists_sid_contrib_dep11_Components-amd64.yml.gz
/var/lib/app-info/icons
/var/cache/app-info/
/var/cache/app-info/gv
/var/cache/app-info/gv/en_US.gvz
/var/cache/app-info/gv/C.gvz
find: ‘/usr/share/app-info/’: No such file or directory
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages appstream depends on:
ii libappstream4 0.12.2-1
ii libc6 2.27-5
ii libglib2.0-0 2.56.1-2
appstream recommends no packages.
Versions of packages appstream suggests:
ii apt-config-icons 0.12.2-1
ii curl 7.61.0-1
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#906711; Package appstream.
(Tue, 21 Aug 2018 13:30:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klumpp <mak@debian.org>:
Extra info received and forwarded to list.
(Tue, 21 Aug 2018 13:30:03 GMT) (full text, mbox, link).
Message #25 received at 906711@bugs.debian.org (full text, mbox, reply):
2018-08-20 17:48 GMT+02:00 william l-k <william.james.kauffman@gmail.com>:
> [...]
Hmm, I still can't reproduce the issue - but:
2018-08-20 3:41 GMT+02:00 william l-k <william.james.kauffman@gmail.com>:
> [...]
> Versions of packages appstream depends on:
> ii libappstream4 0.12.2-1
> ii libc6 2.27-5
> ii libglib2.0-0 2.56.1-2
> [...]
Can you please ensure libappstream4 is up to date as well? The fix for
the previous issue actually is in the library, and if the library
isn't updated, you will obviously still have the older issue.
(I am quite tempted now to pass the -V flag to dh_shlibdeps...)
Cheers,
Matthias
--
I welcome VSRE emails. See http://vsre.info/
Reply sent
to Matthias Klumpp <mak@debian.org>:
You have taken responsibility.
(Tue, 21 Aug 2018 18:15:09 GMT) (full text, mbox, link).
Notification sent
to william l-k <william.james.kauffman@gmail.com>:
Bug acknowledged by developer.
(Tue, 21 Aug 2018 18:15:09 GMT) (full text, mbox, link).
Message #30 received at 906711-close@bugs.debian.org (full text, mbox, reply):
2018-08-21 19:46 GMT+02:00 william l-k <william.james.kauffman@gmail.com>:
> I just confirmed that the issue still existed, then updated
> libappstream4=0.12.2-2.
>
> That was it. This fixed it for me.
>
> Nice work.
> [..]
Excellent! Closing this bug report.
For future bug report, please remember to keep the bug email address
in the loop (use "Reply All"), so other people can follow the
discussion easier.
Cheers,
Matthias
--
I welcome VSRE emails. See http://vsre.info/
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 19 Sep 2018 07:25:50 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Mar 25 10:11:58 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.