Test "cjs:JS / Package" fails after build
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp, debian, javascript
- Domain
- build-system, operating-systems, testing-qa
Research direction
Reproduce the failure with dpkg-buildpackage, then inspect modules/script/package.js around line 288 and installed-tests/js/testPackage.js around line 68. Check the libmozjs-128 and related build dependencies in the Linux Mint environment; done means the cjs package test completes without the reported TypeError.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C++
- Stars
- 85
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/cjs
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
mlcommons/mobile_app_open#1182 ·
-
Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/winget-cli#6547 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·