27 Jul 2025 |
aidalgol | Is container-init part of the fhsenv machinery, or is that part of umu? | 04:44:54 |
K900 | fhsenv | 04:45:14 |
K900 | Is the repro just "run any game with UMU"? | 04:48:11 |
aidalgol | Seems to be, but it doesn't seem to happen when run via gogdl. | 04:52:05 |
K900 | OK so specifically Epic games? | 04:52:23 |
aidalgol | No, only when run by legendary. If I run the exact same umu-run command that legendary is executing, it runs just fine. | 04:54:20 |
K900 | OK so get Legendary to run any Epic game via UMU | 04:55:00 |
aidalgol | That's what it's doing. | 04:55:38 |
K900 | I'm just trying to figure out what I need to do to get it to fail | 04:56:10 |
K900 | So I can start poking it | 04:56:17 |
aidalgol | Oh, sorry. Yes, "get Legendary to run any Epic game via UMU" is the repro. | 04:56:39 |
aidalgol | I thought you were suggesting that as a fix. 🙃 | 04:56:50 |
K900 | OK why is it downloading a 500MB thing | 04:57:55 |
K900 | And why do I only see that on stderr | 04:58:08 |
K900 | OK wait for me it's running some sort of vendored umu it's downloaded | 05:07:32 |
K900 | /home/k900/.config/heroic/tools/runtimes/umu/umu-run | 05:07:42 |
K900 | Oh wait that's the unwrap PR's problem I think | 05:09:39 |
K900 | OK I have a repro | 05:22:42 |
K900 | OK WHAT | 05:35:59 |
K900 | I have QUESTIONS | 05:36:06 |
K900 | diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix
index e69e990d3f29..fa43fe9fcf96 100644
--- a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix
+++ b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix
@@ -167,7 +167,7 @@ let
run:
writeShellScript "${name}-init" ''
source /etc/profile
- exec ${run} "$@"
+ ${run} "$@"
'';
indentLines = str: concatLines (map (s: " " + s) (filter (s: s != "") (splitString "\n" str)));
| 05:40:15 |
K900 | This fixes it | 05:40:17 |
K900 | H O W | 05:40:19 |
Charles | fascinating | 05:44:06 |
aidalgol | Heroic does that if umu-run isn't on the 4PATH . | 05:47:55 |
aidalgol | * Heroic does that if umu-run isn't on the $PATH . | 05:47:57 |
K900 | Yeah I figured that one out | 05:48:03 |
K900 | OK so | 05:53:07 |
K900 | I added logging to every fucking wrapper in the chain | 05:53:14 |
K900 | exec -a umu-run /home/k900/test/umu-run-wrapped <blah blah game>
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
# installing zipimport hook
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
import 'zipimport' # <class '_frozen_importlib.FrozenImporter'>
# installed zipimport hook
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__init__.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc'
import '_codecs' # <class '_frozen_importlib.BuiltinImporter'>
import 'codecs' # <class '_frozen_importlib.FrozenImporter'>
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/aliases.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc'
import 'encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3ba210>
import 'encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3352b0>
# /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc matches /nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/utf_8.py
# code object from '/nix/store/djck7mx6jad1w0yy6zings96dyxanls6-python3-3.13.5/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc'
import 'encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x7fd1fb3ba350>
import '_signal' # <class '_frozen_importlib.BuiltinImporter'>
import '_abc' # <class '_frozen_importlib.BuiltinImporter'>
import 'abc' # <class '_frozen_importlib.FrozenImporter'>
import 'io' # <class '_frozen_importlib.FrozenImporter'>
| 05:53:35 |