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 Install Airshipper on Fedora 40 #199

Open
PulellaP opened this issue Aug 8, 2024 · 0 comments
Open

Can't Install Airshipper on Fedora 40 #199

PulellaP opened this issue Aug 8, 2024 · 0 comments

Comments

@PulellaP
Copy link

PulellaP commented Aug 8, 2024

Fedora 40 6.9.12-200.fc40.x86_64

cargo run --release
\ Compiling freetype-sys v0.13.1
Compiling expat-sys v2.1.6
Compiling wayland-protocols v0.32.3
Compiling gpu-alloc-types v0.2.0
Compiling subtle v2.6.1
Compiling unicode-xid v0.2.4
Compiling smithay-client-toolkit v0.19.2
Compiling weezl v0.1.8
Compiling cfg_aliases v0.1.1
Compiling fnv v1.0.7
Compiling cursor-icon v1.1.0
Compiling hexf-parse v0.2.1
Compiling untrusted v0.9.0
Compiling ab_glyph_rasterizer v0.1.8
Compiling rustc-hash v1.1.0
Compiling percent-encoding v2.1.0
Compiling ring v0.17.8
Compiling gpu-alloc v0.5.4
Compiling wayland-csd-frame v0.3.0
Compiling wgpu-core v0.14.2
Compiling naga v0.10.1
Compiling ab_glyph v0.2.28
Compiling http v0.2.12
Compiling phf_generator v0.10.0
Compiling gpu-descriptor v0.2.4
error: failed to run custom build command for expat-sys v2.1.6
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
process didn't exit successfully: /home/pasquale/airshipper/target/release/build/expat-sys-d9fa72155fa8b1ca/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=EXPAT_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=EXPAT_STATIC
cargo:rerun-if-env-changed=EXPAT_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/home/pasquale/airshipper/target/release/build/expat-sys-3061fe5e81f6786b/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/pasquale/.cargo/registry/src/index.crates.io-6f17d22bba15001f/expat-sys-2.1.6/expat" "-DBUILD_shared=OFF" "-DBUILD_tools=OFF" "-DBUILD_examples=OFF" "-DBUILD_tests=OFF" "-DCMAKE_INSTALL_PREFIX=/home/pasquale/airshipper/target/release/build/expat-sys-3061fe5e81f6786b/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/cc" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release"
-- The CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/cc
-- Check for working CXX compiler: /usr/bin/cc - broken
-- Configuring incomplete, errors occurred!

--- stderr
CMake Warning (dev) at CMakeLists.txt:4 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler

  "/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

  Change Dir: '/home/pasquale/airshipper/target/release/build/expat-sys-3061fe5e81f6786b/out/build/CMakeFiles/CMakeScratch/TryCompile-ki9FOa'
  
  Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_7471b/fast
  /usr/bin/gmake  -f CMakeFiles/cmTC_7471b.dir/build.make CMakeFiles/cmTC_7471b.dir/build
  gmake[1]: Entering directory '/home/pasquale/airshipper/target/release/build/expat-sys-3061fe5e81f6786b/out/build/CMakeFiles/CMakeScratch/TryCompile-ki9FOa'
  Building CXX object CMakeFiles/cmTC_7471b.dir/testCXXCompiler.cxx.o
  /usr/bin/cc   -ffunction-sections -fdata-sections -fPIC -m64  -o CMakeFiles/cmTC_7471b.dir/testCXXCompiler.cxx.o -c /home/pasquale/airshipper/target/release/build/expat-sys-3061fe5e81f6786b/out/build/CMakeFiles/CMakeScratch/TryCompile-ki9FOa/testCXXCompiler.cxx
  cc: fatal error: cannot execute ‘cc1plus’: posix_spawnp: No such file or directory
  compilation terminated.
  gmake[1]: *** [CMakeFiles/cmTC_7471b.dir/build.make:78: CMakeFiles/cmTC_7471b.dir/testCXXCompiler.cxx.o] Error 1
  gmake[1]: Leaving directory '/home/pasquale/airshipper/target/release/build/expat-sys-3061fe5e81f6786b/out/build/CMakeFiles/CMakeScratch/TryCompile-ki9FOa'
  gmake: *** [Makefile:127: cmTC_7471b/fast] Error 2
  
  



CMake will not be able to correctly generate this project.

Call Stack (most recent call first):
CMakeLists.txt:4 (project)

thread 'main' panicked at /home/pasquale/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:

command did not execute successfully, got: exit status: 1

build script failed, must exit now
stack backtrace:
0: 0x559841bb8805 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha5f73a3d230a39c6
1: 0x559841bdbd3b - core::fmt::write::h4b3acd203d720128
2: 0x559841bb57af - std::io::Write::write_fmt::h550a983b6239520b
3: 0x559841bb85de - std::sys_common::backtrace::print::ha3151f7c0b5334c4
4: 0x559841bb9b99 - std::panicking::default_hook::{{closure}}::h56fe1fc1746b8d20
5: 0x559841bb993a - std::panicking::default_hook::h5801eb3805eb0440
6: 0x559841bba033 - std::panicking::rust_panic_with_hook::habcafd5489fd961d
7: 0x559841bb9f14 - std::panicking::begin_panic_handler::{{closure}}::h896467bcc25cb860
8: 0x559841bb8cc9 - std::sys_common::backtrace::__rust_end_short_backtrace::hc3680fdb80917d22
9: 0x559841bb9c47 - rust_begin_unwind
10: 0x559841b0a293 - core::panicking::panic_fmt::h355450daba528b85
11: 0x559841b47ef2 - cmake::fail::ha83b913355c8c1ea
12: 0x559841b476f9 - cmake::run::h46d224da2cd8cc4c
13: 0x559841b43923 - cmake::Config::build::h4037ba79269d06c0
14: 0x559841b0c6fb - build_script_build::main::haeb7bfcfe34c7818
15: 0x559841b0aca3 - core::ops::function::FnOnce::call_once::h7d438cc5aaf99de4
16: 0x559841b0aad6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hcfa70beb6e5ebe96
17: 0x559841b0abe9 - std::rt::lang_start::{{closure}}::h5af85f3b6f231cac
18: 0x559841bb175d - std::rt::lang_start_internal::haefe40539dd82dc1
19: 0x559841b0abc7 - std::rt::lang_start::h64716afeea5ee8a0
20: 0x559841b0ca85 - main
21: 0x7f304dd6a088 - __libc_start_call_main
22: 0x7f304dd6a14b - __libc_start_main_alias_1
23: 0x559841b0a9e5 - _start
24: 0x0 -
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for freetype-sys v0.13.1
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
process didn't exit successfully: /home/pasquale/airshipper/target/release/build/freetype-sys-bada68103043a542/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=FREETYPE2_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=FREETYPE2_STATIC
cargo:rerun-if-env-changed=FREETYPE2_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/home/pasquale/airshipper/target/release/build/freetype-sys-f5f3df956f417fa3/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/pasquale/.cargo/registry/src/index.crates.io-6f17d22bba15001f/freetype-sys-0.13.1/freetype2" "-DWITH_BZip2=OFF" "-DWITH_HarfBuzz=OFF" "-DWITH_PNG=OFF" "-DWITH_ZLIB=OFF" "-DCMAKE_INSTALL_PREFIX=/home/pasquale/airshipper/target/release/build/freetype-sys-f5f3df956f417fa3/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/cc" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Release"
-- The CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/cc
-- Check for working CXX compiler: /usr/bin/cc - broken
-- Configuring incomplete, errors occurred!

--- stderr
CMake Deprecation Warning at CMakeLists.txt:78 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler

  "/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

  Change Dir: '/home/pasquale/airshipper/target/release/build/freetype-sys-f5f3df956f417fa3/out/build/CMakeFiles/CMakeScratch/TryCompile-pAiHwo'
  
  Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_986f7/fast
  /usr/bin/gmake  -f CMakeFiles/cmTC_986f7.dir/build.make CMakeFiles/cmTC_986f7.dir/build
  gmake[1]: Entering directory '/home/pasquale/airshipper/target/release/build/freetype-sys-f5f3df956f417fa3/out/build/CMakeFiles/CMakeScratch/TryCompile-pAiHwo'
  Building CXX object CMakeFiles/cmTC_986f7.dir/testCXXCompiler.cxx.o
  /usr/bin/cc   -ffunction-sections -fdata-sections -fPIC -m64  -o CMakeFiles/cmTC_986f7.dir/testCXXCompiler.cxx.o -c /home/pasquale/airshipper/target/release/build/freetype-sys-f5f3df956f417fa3/out/build/CMakeFiles/CMakeScratch/TryCompile-pAiHwo/testCXXCompiler.cxx
  cc: fatal error: cannot execute ‘cc1plus’: posix_spawnp: No such file or directory
  compilation terminated.
  gmake[1]: *** [CMakeFiles/cmTC_986f7.dir/build.make:78: CMakeFiles/cmTC_986f7.dir/testCXXCompiler.cxx.o] Error 1
  gmake[1]: Leaving directory '/home/pasquale/airshipper/target/release/build/freetype-sys-f5f3df956f417fa3/out/build/CMakeFiles/CMakeScratch/TryCompile-pAiHwo'
  gmake: *** [Makefile:127: cmTC_986f7/fast] Error 2
  
  



CMake will not be able to correctly generate this project.

Call Stack (most recent call first):
CMakeLists.txt:119 (project)

thread 'main' panicked at /home/pasquale/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:

command did not execute successfully, got: exit status: 1

build script failed, must exit now
stack backtrace:
0: 0x56337e261a15 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::ha5f73a3d230a39c6
1: 0x56337e284f4b - core::fmt::write::h4b3acd203d720128
2: 0x56337e25ea7f - std::io::Write::write_fmt::h550a983b6239520b
3: 0x56337e2617ee - std::sys_common::backtrace::print::ha3151f7c0b5334c4
4: 0x56337e262da9 - std::panicking::default_hook::{{closure}}::h56fe1fc1746b8d20
5: 0x56337e262b4a - std::panicking::default_hook::h5801eb3805eb0440
6: 0x56337e263243 - std::panicking::rust_panic_with_hook::habcafd5489fd961d
7: 0x56337e263124 - std::panicking::begin_panic_handler::{{closure}}::h896467bcc25cb860
8: 0x56337e261ed9 - std::sys_common::backtrace::__rust_end_short_backtrace::hc3680fdb80917d22
9: 0x56337e262e57 - rust_begin_unwind
10: 0x56337e1b3293 - core::panicking::panic_fmt::h355450daba528b85
11: 0x56337e1f1232 - cmake::fail::ha83b913355c8c1ea
12: 0x56337e1f0a39 - cmake::run::h46d224da2cd8cc4c
13: 0x56337e1ecc63 - cmake::Config::build::h4037ba79269d06c0
14: 0x56337e1b59a4 - build_script_build::main::h0ee7205857b90681
15: 0x56337e1b3d53 - core::ops::function::FnOnce::call_once::h952564556ee312c1
16: 0x56337e1b3ad6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h1702840e0982df64
17: 0x56337e1b3be9 - std::rt::lang_start::{{closure}}::h40ab0b5f2f6cb618
18: 0x56337e25aa2d - std::rt::lang_start_internal::haefe40539dd82dc1
19: 0x56337e1b3bc7 - std::rt::lang_start::hfe58a9aa2c3c7051
20: 0x56337e1b5d15 - main
21: 0x7fec7c0bd088 - __libc_start_call_main
22: 0x7fec7c0bd14b - __libc_start_main_alias_1
23: 0x56337e1b39e5 - _start
24: 0x0 -

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