Skip to content

Build Failing on Fedora #66

Description

@PhilJahelka

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System

Linux

Architecture

x86_64

Package Type

exe

Version information

16d1a01

Expected Behavior

Run $sudo ./build/linux/build.sh without error.

Actual Behavior

Build fails with the following error:

`63.76 Working on v8...
63.76 Synching v8 dependencies
63.76 ❌ v8 failed with code 1
63.76 42.866479 second(s)
63.76 v8: 42.866486 second(s)
63.76
63.76 -- Python script error: Aborting V8: Applying patch: gclient_paths.patch failed: error: patch failed: gclient_paths.py:20
63.76 error: gclient_paths.py: patch does not apply
63.76
63.76 -- Configuring incomplete, errors occurred!
63.76 See also "/build-cache-desktop/CMakeFiles/CMakeOutput.log".

WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-tree
WARNING: local cache import at /tmp/ghcr.io/euro-office/desktop-common skipped due to err: could not lock /tmp/ghcr.io/euro-office/desktop-common/index.json.lock: open /tmp/ghcr.io/euro-office/desktop-common/index.json.lock: no such file or directory
WARNING: local cache import at /tmp/ghcr.io/euro-office/desktop-linux skipped due to err: could not read /tmp/ghcr.io/euro-office/desktop-linux/index.json: open /tmp/ghcr.io/euro-office/desktop-linux/index.json: no such file or directory
WARNING: local cache import at /tmp/ghcr.io/euro-office/packages skipped due to err: could not lock /tmp/ghcr.io/euro-office/packages/index.json.lock: open /tmp/ghcr.io/euro-office/packages/index.json.lock: no such file or directory
desktop-apps.bake.Dockerfile:87

86 |
87 | >>> RUN --mount=type=cache,target=/build-cache-desktop,id=build-cache-desktop-${CACHE_BUST}
88 | >>> --mount=type=cache,target=/nuget-cache,id=nuget-cache-${CACHE_BUST}
89 | >>> --mount=type=cache,target=/ccache,id=ccache
90 | >>> --mount=type=secret,id=nextcloud_user
91 | >>> --mount=type=secret,id=nextcloud_pass
92 | >>> export NEXTCLOUD_USER="$(cat /run/secrets/nextcloud_user)" &&
93 | >>> export NEXTCLOUD_PASS="$(cat /run/secrets/nextcloud_pass)" &&
94 | >>> export CCACHE_DIR=/ccache &&
95 | >>> cd /build-cache-desktop &&
96 | >>> cmake -GNinja
97 | >>> -DCMAKE_C_COMPILER_LAUNCHER=ccache
98 | >>> -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
99 | >>> -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake
100 | >>> -DVCPKG_MANIFEST_MODE=ON
101 | >>> -DVCPKG_MANIFEST_DIR="/core"
102 | >>> -DVCPKG_MANIFEST_FEATURES="desktop-editors"
103 | >>> -DABOUT_PAGE_APP_NAME="${ABOUT_PAGE_APP_NAME}"
104 | >>> /desktop-apps/win-linux/ &&
105 | >>> cmake --build . &&
106 | >>> cmake --install . &&
107 | >>> ccache --show-stats &&
108 | >>> cp -a desktopeditors /desktopeditors
109 |

ERROR: target packages: failed to solve: process "/bin/sh -c export NEXTCLOUD_USER="$(cat /run/secrets/nextcloud_user)" && export NEXTCLOUD_PASS="$(cat /run/secrets/nextcloud_pass)" && export CCACHE_DIR=/ccache && cd /build-cache-desktop && cmake -GNinja -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_MANIFEST_MODE=ON -DVCPKG_MANIFEST_DIR="/core" -DVCPKG_MANIFEST_FEATURES="desktop-editors" -DABOUT_PAGE_APP_NAME="${ABOUT_PAGE_APP_NAME}" /desktop-apps/win-linux/ && cmake --build . && cmake --install . && ccache --show-stats && cp -a desktopeditors /desktopeditors" did not complete successfully: exit code: 1
`

Reproduction Steps

I've tried three times to build and it happens every time.

Additional information

I'm running up to date Fedora. I'm very eager to get the build working because this software would allow me to daily-drive Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions