ogra1 / zoom-snap

75 stars 13 forks source link

fontconfig error when installing zoom-client via snap #64

Closed FranekW closed 3 years ago

FranekW commented 3 years ago

I am having problem to install zoom-client using snap. This is the following error when i run sudo snap install zoom-client:

error: cannot perform the following tasks:
- Run configure hook of "zoom-client" snap if present (run hook "configure": 
-----
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
free(): double free detected in tcache 2
-----)

Below are some details regarding a version of snapd and the a system:

snap    2.48.1
snapd   2.48.1
series  16
ubuntu  20.04
kernel  5.4.0-58-generic

Thanks

ogra1 commented 3 years ago

can you also paste the output of

snap info zoom-client 

also, what desktop are you running ? (this was supposed to be fixed with a commit from november, somewhere around revision 120 and i can not reproduce it on a standard 20.04 GNOME install here)

FranekW commented 3 years ago

This is the output from snap info zoom-client:

name:      zoom-client
summary:   ZOOM Cloud Meetings
publisher: Oliver Grawert (ogra)
store-url: https://snapcraft.io/zoom-client
contact:   ogra@ubuntu.com?subject=zoom-client
license:   Proprietary
description: |
  Video conferencing with real-time messaging and content sharing

  https://zoom.us provides simplified video conferencing, whiteboard sharing
  and messaging across any device. This is an unofficial re-pack of the debian
  package provided by zoom.us

  The source code for the snap package can be found at https://github.com/ogra1/zoom-snap

  Please file issues under https://github.com/ogra1/zoom-snap/issues
snap-id: 76rrD7USwCJrZgepbRk7UdFEWON3tVKX
channels:
  latest/stable:    5.4.57450.1220 2020-12-23 (125) 245MB -
  latest/candidate: 5.4.53350.1027 2020-10-31 (108) 157MB -
  latest/beta:      5.4.53350.1027 2020-10-31 (108) 157MB -
  latest/edge:      5.4.57450.1220 2020-12-22 (125) 245MB -

I am using GNOME as a default desktop. If this can help, cat /etc/X11/default-display-manager shows: /usr/sbin/gdm3.

this was supposed to be fixed with a commit from november, somewhere around revision 120 and i can not reproduce it on a standard 20.04 GNOME install here

The system has just been installed, precisely on the 20th of Dec 2020. I have not been messing with any system related files, neither have I done anything with fonts. I know system has been updated at least once since then, automatically. I did not force it.

What may cause this problem, then?

Thanks

FranekW commented 3 years ago

I found the issue. My problem was related to TexLive 2020, the LaTeX package. It turns out a font installed with the application: 09-texlive.conf which is a link to /path/to/.../texlive/2020/texmf-var/fonts/conf/texlive-fontconfig.conf is incompatible with the new version of fontconfig that is 2.13.1. I removed the file, rebuilt the cache:

rm -f ~/.config/fontconfig/*
sudo -f /var/cache/fontconfig/*
sudo fc-cache -rv

and everything seems to be working.