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

CI fails building Flatpak for aarch64 #40

Open
adzialocha opened this issue Jan 29, 2025 · 0 comments
Open

CI fails building Flatpak for aarch64 #40

adzialocha opened this issue Jan 29, 2025 · 0 comments

Comments

@adzialocha
Copy link
Member

   Compiling smallvec v1.13.2
   Compiling once_cell v1.20.2
error: linking with `cc` failed: exit status: 4
  |
  = note: LC_ALL="C" PATH="/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/bin:/run/ccache/bin:/app/bin:/usr/bin:/usr/lib/sdk/rust-stable/bin" VSLANG="1033" "cc" "/tmp/rustcEKq8rq/symbols.o" "/run/build/aardvark/_flatpak_build/aardvark-app/src/debug/build/target-lexicon-d83ee7cf45588839/build_script_build-d83ee7cf45588839.build_script_build.d6d92197f808a34c-cgu.0.rcgu.o" "/run/build/aardvark/_flatpak_build/aardvark-app/src/debug/build/target-lexicon-d83ee7cf45588839/build_script_build-d83ee7cf45588839.build_script_build.d6d92197f808a34c-cgu.1.rcgu.o" "/run/build/aardvark/_flatpak_build/aardvark-app/src/debug/build/target-lexicon-d83ee7cf45588839/build_script_build-d83ee7cf45588839.build_script_build.d6d92197f808a34c-cgu.2.rcgu.o" "/run/build/aardvark/_flatpak_build/aardvark-app/src/debug/build/target-lexicon-d83ee7cf45588839/build_script_build-d83ee7cf45588839.bb8ymcoa0kqn9mimlxwi8y5c8.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd-6031cf49ae85e068.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libpanic_unwind-1eae8079287bfd9e.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libobject-ed093fb97db090e3.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libmemchr-db4ea5ef12fae7ea.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libaddr2line-2580189219589eeb.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libgimli-886d3eab8330732f.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_demangle-6c85e81b65ecde70.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libstd_detect-78900e4ba241b2a6.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libhashbrown-ddecc1d3d2463010.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-24b06192d7ffac4c.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libminiz_oxide-bff165d1bc903c8b.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libadler-0e4bd6ddbacfe0fc.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libunwind-420fc5fc57ff7d9e.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcfg_if-cdcef051b6015e38.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/liblibc-7152dd0215e4c421.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/liballoc-9d15fe2f5c03d33e.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/librustc_std_workspace_core-3ecf1b05b3a94862.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcore-f75b3043b9a7467a.rlib" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib/libcompiler_builtins-d3c20515d689c7cc.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/sdk/rust-stable/lib/rustlib/aarch64-unknown-linux-gnu/lib" "-o" "/run/build/aardvark/_flatpak_build/aardvark-app/src/debug/build/target-lexicon-d83ee7cf45588839/build_script_build-d83ee7cf45588839" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: cc: internal compiler error: Segmentation fault signal terminated program collect2
          Please submit a full bug report, with preprocessed source (by using -freport-bug).
          See <https://gcc.gnu.org/bugs/> for instructions.
          

error: could not compile `target-lexicon` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
[3/4] Merging translations for aardvark-app/data/org.p2panda.aardvark.desktop
FAILED: aardvark-app/src/aardvark 
/usr/bin/env CARGO_HOME=/run/build/aardvark/_flatpak_build/cargo-home /usr/lib/sdk/rust-stable/bin/cargo build --manifest-path /run/build/aardvark/Cargo.toml --target-dir /run/build/aardvark/_flatpak_build/aardvark-app/src && cp aardvark-app/src/debug/aardvark aardvark-app/src/aardvark
ninja: build stopped: subcommand failed.
Error: module aardvark: Child process exited with code 1
Error: Build failed: Error: The process '/usr/bin/xvfb-run' failed with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant