Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Projects: [Ubuntu] Build fails due to unshare command failing on the "/opt/steam-runtime" folder #8356

Open
gm-bug-reporter bot opened this issue Nov 9, 2024 · 2 comments
Assignees
Labels
build-bug Bugs when compiling projects inside GameMaker project This issue has a sample project attached

Comments

@gm-bug-reporter
Copy link

Description

System.Exception: command 'unshare -mUprf sh -c 'mount -o bind "$1" "$2/tmp/" && PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin" chroot "$2" /bin/sh -c "export PATH=/usr/bin:/bin && cd /tmp/ && make -C /tmp/ -j nproc --all"' -- /home/myuser/GameMakerStudio2/yyc/BattleTanks_Test /opt/steam-runtime' failed with exit status 1
at Igor.LinuxBuilder.plink_async(String command, Boolean fail_on_error)
at Igor.LinuxBuilder.LinuxSendAndBuildMakefile(String _dir)
at Igor.LinuxBuilder.Run()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Igor complete.
elapsed time 00:00:03.8395311s for command "/home/myuser/.local/share/GameMakerStudio2-Beta/Cache/runtimes/runtime-2024.1100.0.700/bin/igor/linux/x64/Igor" -j=8 -options="/tmp/GameMakerStudio2-Beta/GMS2TEMP/build.bff" -v -- Linux Run started at 11/09/2024 17:40:00
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.

Steps To Reproduce

Run (F5) to inicial test project

Which version of GameMaker are you reporting this issue for?

IDE v2024.1100.0.674 Runtime v2024.1100.0.700

Which operating system(s) are you seeing the problem on?

Linux Ubuntu 24.04.1 LTS kernel 6.8.0.48

Which platform(s) are you seeing the problem on?

Ubuntu

2616da1f-20a4-45f6-bd09-c6a07682508a

@gm-bug-reporter gm-bug-reporter bot added project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Nov 9, 2024
@iampremo iampremo added build-bug Bugs when compiling projects inside GameMaker and removed runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Nov 11, 2024
@stuckie stuckie self-assigned this Nov 11, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Nov 11, 2024
@YYDan YYDan changed the title Run (f5) fail in Linux Ubuntu Building Projects: [Ubuntu] Build fails due to unshare command failing on the "/opt/steam-runtime" folder Nov 11, 2024
@stuckie
Copy link

stuckie commented Nov 11, 2024

Hello,

Can you confirm that you have followed the guide for setting up for Ubuntu - https://help.gamemaker.io/hc/en-us/articles/235186168-Setting-Up-For-Ubuntu - in particular the note for Ubuntu 24 with it's increased security.
If you have done that and you are still having issues, you will need to run that command from a terminal to get some further information.

@Predatorie
Copy link

I can confirm this with Beta 2024.1100.0.726 on Ubuntu 24.04.1 LTS

After installing GameMaker recently and following all the instructions I was able to successfully create a new GML project, build and run with no issues. I had been working with the beta code editor when suddenly GameMaker no longer recognized keyboard input. I assumed this might be related to the new code editor so I switched back to the original and after restarting GameMaker I got the build failure mentioned above. As of today I am unable to build.

output.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-bug Bugs when compiling projects inside GameMaker project This issue has a sample project attached
Projects
Status: Backlog
Development

No branches or pull requests

3 participants