After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769447 - TypeError: o.emit_sig_with_foreign_struct is not a function
TypeError: o.emit_sig_with_foreign_struct is not a function
Status: RESOLVED NOTGNOME
Product: gjs
Classification: Bindings
Component: general
1.45.x
Other Linux
: Normal major
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2016-08-02 17:46 UTC by Jeremy Bicha
Modified: 2016-08-10 17:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2016-08-02 17:46:59 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/
Comment 1 Jeremy Bicha 2016-08-09 13:43:27 UTC
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.
Comment 2 Jeremy Bicha 2016-08-10 17:36:53 UTC
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.