Estou tentando construir um pacote Flatpak com flatpak-builder em um ambiente onde não tenho acesso ao FUSE. Isso leva ao seguinte problema:
Initializing build dir
Committing stage init to cache
Starting build of com.example.TestApp
fuse: device not found, try 'modprobe fuse' first
========================================================================
Building module poetry-deps in /opt/atlassian/pipelines/agent/build/.flatpak-builder/build/poetry-deps-1
========================================================================
Running: pip3 install --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} altgraph attrdict3 bidict certifi charset-normalizer contourpy cycler fonttools idna importlib-resources kiwisolver macholib matplotlib mypy mypy-extensions numpy packaging pefile pillow pyinstaller pyinstaller-hooks-contrib pyparsing pyserial python-dateutil python-vxi11 pyvisa pyvisa-py pywin32-ctypes readerwriterlock requests scipy setuptools six tomli types-pyserial types-wxpython typing-extensions urllib3 watchdog wxpython wxPython wxPython wxPython wxPython zipp
error: Build directory /opt/atlassian/pipelines/agent/build/.flatpak-builder/rofiles/rofiles-WlL1EH not initialized, use flatpak build-init
Error: module poetry-deps: Child process exited with code 1
Existe alguma maneira de contornar isso? Obter acesso ao FUSE não é uma opção, pois é um ambiente limitado em hardware que não controlo.
Você pode contornar isso fornecendo o
--disable-rofiles-fuse
argumento ao flatpak-builder. Por exemplo: