Bug#906213: gnome-sound-recorder: conditional catch clauses are incompatible with gjs 1.53.90+

Simon McVittie smcv at debian.org
Wed Aug 15 15:43:01 BST 2018


Package: gnome-sound-recorder
Version: 3.28.1-1
Severity: important
Tags: upstream buster sid
Control: block 906016 by -1

gjs 1.53.90+ switches its Javascript implementation from mozjs52 to
mozjs60, a newer Mozilla Spidermonkey release which drops some
Mozilla-proprietary extensions. A gjs maintainer has developed a tool,
<https://gitlab.gnome.org/ptomato/moz60tool>, which can be used to check
for most of the problem cases.

When I ran that tool against gnome-sound-recorder I got this warning:

gnome-sound-recorder/src/listview.js:114:42: Conditional catch clause used.
  WRONG:   catch (e if e.code === 23) {...}
  CORRECT: catch (e) { if (e.code === 23) {...} }

This has probably been fixed upstream for GNOME 3.30. The GNOME team is
in the process of uploading GNOME 3.30 libraries to experimental.

gjs will need to have a Breaks against unfixed gnome-sound-recorder versions.

-- System Information:
Debian Release: buster/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-sound-recorder depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.28.0-2
ii  gir1.2-gdkpixbuf-2.0                         2.36.12-1
ii  gir1.2-glib-2.0                              1.56.1-1
ii  gir1.2-gst-plugins-base-1.0                  1.14.2-1
ii  gir1.2-gstreamer-1.0                         1.14.2-2
ii  gir1.2-gtk-3.0                               3.22.30-2
ii  gir1.2-pango-1.0                             1.42.1-2
ii  gjs                                          1.52.3-2
ii  gstreamer1.0-plugins-base                    1.14.2-1
ii  gstreamer1.0-plugins-good                    1.14.2-1
ii  gstreamer1.0-pulseaudio                      1.14.2-1

gnome-sound-recorder recommends no packages.

gnome-sound-recorder suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list