GNOME Bugzilla – Bug 769447
TypeError: o.emit_sig_with_foreign_struct is not a function
Last modified: 2016-08-10 17:36:53 UTC
Ubuntu's autopkgtest is failing with gjs 1.45.4-1 gobject-introspection 1.48.0-3ubuntu1 gtk 3.20.6-1ubuntu1 glib 2.49.2-2 Ubuntu 16.10 (development) I do see that glib2.0 is not the latest available (2.49.4) (/usr/lib/gjs/gjs/installed-tests/jsunit:3939): Gjs-WARNING **: JS ERROR: TypeError: o.emit_sig_with_foreign_struct is not a function testCairoSignal@/usr/lib/gjs/gjs/installed-tests/js/testCairo.js:176 gjstestRun@resource:///org/gnome/gjs/modules/jsUnit.js:438 @/usr/lib/gjs/gjs/installed-tests/js/testCairo.js:180 https://autopkgtest.ubuntu.com/packages/g/gjs/yakkety/amd64/ Also, the tests do pass on Debian. One difference is that Debian unstable still has glib 2.48.1-2; the 2.49 series is in Debian experimental. https://ci.debian.net/packages/g/gjs/unstable/amd64/
This failing autopkgtest is keeping gnome-shell 3.20 in yakkety-proposed instead of the main Ubuntu 16.10 archives so we really need this to be fixed.
gjs itself had to be rebuilt against gobject-introspection 1.48. Once that was done, the tests pass ok. Thanks hadess and Laney for the help troubleshooting.