Skip to content

Test "cjs:JS / Package" fails after build #133

@cknori

Description

@cknori

As the title states, attempting to build and test cjs using dpkg-buildpackage, I get the following test failure:

not ok 16 Package module doesn't find a non-existent interface method
# Message: TypeError: GObject.type_default_interface_get is not a function in resource:///org/cinnamon/cjs/modules/script/package.js (line 288)
# Stack:
#   error properties: Object({ matches: Function })
#   checkSymbol@resource:///org/cinnamon/cjs/modules/script/package.js:288:29
#   @/home/cinnamon-dev/testSandbox/cjs/obj-x86_64-linux-gnu/../installed-tests/js/testPackage.js:68:20
#   <Jasmine>
#   setTimeout/source<@resource:///org/cinnamon/cjs/modules/esm/_timers.js:72:9
#   _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/cinnamon/cjs/modules/core/overrides/GLib.js:263:34

This is the only subtest that fails, let alone the only test that fails. I found a similar issue over on the Debian mailing list, but not only does this have an additional test failure that I do not have, but the Debian team has closed this issue stating that it has been solved. I asked about this over on the Linux Mint Development Matrix, but nobody seems to have any solutions, so, I'm assuming that this is an actual bug. I had also made sure to build and install other packages in the build order described over yonder (although oddly, I had to manually seek out and install libmozjs-128 because that dependency wasn't showing up on apt even with the additional package repos that the linked guide told me to add). I am running Linux Mint 22.2 on QEMU/KVM. I'm happy to provide more details if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions