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

can't build gnome-builder: Program 'sphinx-build-3 sphinx-build' not found or not executable #197

Open
RocketRide9 opened this issue Nov 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@RocketRide9
Copy link

System

Ubuntu 22.10 kinetic-proposed
vscode installed from deb from microsoft site

Details

I was able to build gnome-builder using gnome-builder by just cloning it and pressing "play" button.
In vscode I installed this extension, run: sudo apt install flatpak-builder and flatpak install org.freedesktop.Sdk.Extension.llvm14. Then pressed the "play" button.

meson-log.txt

@bilelmoussaoui
Copy link
Owner

I managed to build it just fine here. But it fails as the post-install stage.

@bilelmoussaoui bilelmoussaoui added the bug Something isn't working label Apr 6, 2023
@sonnyp
Copy link

sonnyp commented May 21, 2023

I managed to build it just fine here. But it fails as the post-install stage.

I've been trying to do a similar post-install trick for Workbench (to get the Vala extension in the runtime) but I've encountered the same issue under flatpak-vscode

GNOME Builder

cp: cannot stat '/usr/lib/sdk/llvm15/bin/*': No such file or directory

            "post-install" : [
                "cp -a /usr/lib/sdk/llvm15/bin/* /app/bin/",
                "cp -a /usr/lib/sdk/llvm15/lib/* /app/lib/",
                "cp -a /usr/lib/sdk/llvm15/libexec/* /app/libexec/",
                "cp -a /usr/lib/sdk/llvm15/include/* /app/include/",
                "cp -a /usr/lib/sdk/llvm15/share/* /app/share/",
                "install -d /app/extensions"
            ]

Workbench

cp: cannot stat '/usr/lib/sdk/vala/bin/*': No such file or directory

      "post-install": [
        "cp -a /usr/lib/sdk/vala/bin/* /app/bin/",
        "cp -a /usr/lib/sdk/vala/lib/* /app/lib/",
        "cp -a /usr/lib/sdk/vala/share/* /app/share/"
      ]

Fedora workstation 38
VSCode 1.78.2
flatpak-vscode 0.0.35

Adding ls /usr/lib/sdk/vala/bin/ as the first post-install command demonstrates that the files are there.

For some reason, it looks like shell expansion doesn't work in flatpak-vscode.

For now I have replaced * with . which accomplish the same in the case of cp.

sonnyp added a commit to workbenchdev/Workbench that referenced this issue May 21, 2023
lw64 pushed a commit to workbenchdev/Workbench that referenced this issue Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants