Baelish Posted November 9 Report Share Posted November 9 (edited) Firstly, this is my setup: Spoiler If I try a standard build from source, I obtain ModuleNotFoundError: No module named 'six.moves' ERROR: SpiderMonkey build failed as well as in https://wildfiregames.com/forum/topic/118483-configure-fails-with-spidermonkey-error/ I tried to use --with-system-mozjs, but version 91 is not avaiable for debian (and I think they never will add it https://tracker.debian.org/news/1368939/removed-91130-1-from-unstable/ ) and during this try, I obtain another error in make in gcc directory (build sources and update workspaces worked both) fatal error: jspubtd.h: No such file or directory So I tried to install libmozjs-91 from ubuntu repos (not a perfect idea https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian ), and I installed libmozjs-91-dev 91.6.0-2: https://blueprints.launchpad.net/ubuntu/jammy/amd64/libmozjs-91-dev/91.6.0-2 and its dependencies: libmozjs-91-0 91.6.0-2: https://blueprints.launchpad.net/ubuntu/jammy/amd64/libmozjs-91-0/91.6.0-2 libicu70 70.1-2: https://blueprints.launchpad.net/ubuntu/jammy/amd64/libicu70/70.1-2 Spoiler A new (and luckly last) error arise: Quote #error Your compiler is trying to use an untested minor version of the \ SpiderMonkey library. If you are a package maintainer, please make sure \ to check very carefully that this version does not change the behaviour \ of the code executed by SpiderMonkey. Different parts of the game (e.g. \ the multiplayer mode) rely on deterministic behaviour of the JavaScript \ engine. A simple way for testing this would be playing a network game \ with one player using the old version and one player using the new \ version. Another way for testing is running replays and comparing the \ final hash (check trac.wildfiregames.com/wiki/Debugging#Replaymode). \ For more information check this link: trac.wildfiregames.com/wiki/Debugging#Outofsync I followed the solution proposed here: https://trac.wildfiregames.com/ticket/3039, but it does not work. So I thinked to force the buildiing deleting a part of source/scriptinterface/ScriptTypes.h Spoiler IT WORKS! proof: Spoiler Edited November 9 by Baelish grammar Quote Link to comment Share on other sites More sharing options...
zyli Posted November 9 Report Share Posted November 9 (edited) Sorry, but... Debian Trixie with kernel 6.5.0-5 was in December 2023. https://snapshot.debian.org/package/linux-signed-amd64/6.5.13%2B1/#linux-image-6.5.0-5-amd64_6.5.13-1 Are other packages that old too? Best regards Edited November 9 by zyli Quote Link to comment Share on other sites More sharing options...
Baelish Posted November 9 Author Report Share Posted November 9 30 minutes ago, zyli said: Sorry, but... Debian Trixie with kernel 6.5.0-5 was in December 2023. https://snapshot.debian.org/package/linux-signed-amd64/6.5.13%2B1/#linux-image-6.5.0-5-amd64_6.5.13-1 Are other packages that old too? Best regards I assure that I full-upgrade twice a month and this is my source_list: Spoiler and avaiable upgrades: Spoiler Quote Link to comment Share on other sites More sharing options...
zyli Posted November 9 Report Share Posted November 9 So where did 'neofetch' get this data: "Kernel: 6.5.0-5-amd64"? The current kernel in Trixie is: 6.11.5 https://packages.debian.org/trixie/linux-image-amd64 In my opinion, in the file '/etc/apt/sources.list': 1. The last two lines ('proposed-updates' and 'bookworm-backports') are unnecessary. 2. Instead of 'ftp.it.debian.org/debian' I would use: 'http://deb.debian.org/debian/'. 3. Instead of 'ftp.it.debian.org/debian/ trixie-security' I would use: 'deb http://security.debian.org/debian-security/ trixie-security' Best regards. 1 Quote Link to comment Share on other sites More sharing options...
Baelish Posted November 10 Author Report Share Posted November 10 (edited) I change sources list as you said and the I notice that latest version is installed, but not used (very sus); thank you for the advices. EDIT: it's grub2 fault, I can't install it https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=grub2-common;dist=unstable, i tried to install anyway and debian breaks, so i used timeshift Spoiler (in synaptic I highlined current kernel, but obv I have not deleted running kernel) Anyway, my packages are all upgraded and the first post scope wasn't to check my packages, but to propose a solution to broken mozjs building with python3.12 Edited November 10 by Baelish Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.