pop-os/launcher

Failed to build on Fedora 37

khushal-soni opened this issue · 8 comments

(1) Issue/Bug Description: I installed pop shell in Fedora 37 today and the launcher Super + / does not show any results.

(4) Distribution (run cat /etc/os-release):

NAME="Fedora Linux"
VERSION="37 (Workstation Edition)"
ID=fedora
VERSION_ID=37
VERSION_CODENAME=""
PLATFORM_ID="platform:f37"
PRETTY_NAME="Fedora Linux 37 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:37"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org
[Screencast from 2023-02-12 20-08-37.webm](https://user-images.githubusercontent.com/67891016/218317561-782df73a-b845-4d11-ad10-9fcf6aab13a0.webm)
[Screencast from 2023-02-12 20-08-37.webm](https://user-images.githubusercontent.com/67891016/218317586-53574042-63b9-4e20-9df7-dc1014d3d75b.webm)
/en-US/fedora/f37/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=37
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=37
SUPPORT_END=2023-11-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation

(5) Gnome Shell version: Version 43.2

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

(7) Where was Pop Shell installed from: Installed using the installtion manual in shell repo

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): Primary Monitor 1080p, Secondary Monitor resolution 1366*768

(9) Other Installed/Enabled Extensions: No other extensions enabled.

bug.mp4

Perhaps the Launcher is not installed? pop-os/shell#1555

Perhaps the Launcher is not installed? #1555

You are correct my friend... But now I am unable to install the launcher

error: failed to run custom build command for `smithay-client-toolkit v0.16.0 (https://github.com/Smithay/client-toolkit?rev=3776d4a#3776d4ae)`

Caused by:
  process didn't exit successfully: `/home/khushal/Downloads/launcher/target/release/build/smithay-client-toolkit-e14bbbc6212b3d3c/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=XKBCOMMON_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=XKBCOMMON_STATIC
  cargo:rerun-if-env-changed=XKBCOMMON_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

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"xkbcommon\"` did not exit successfully: exit status: 1\nerror: could not find system library 'xkbcommon' required by the 'smithay-client-toolkit' crate\n\n--- stderr\nPackage xkbcommon was not found in the pkg-config search path.\nPerhaps you should add the directory containing `xkbcommon.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'xkbcommon', required by 'virtual:world', not found\n"', /root/.cargo/git/checkouts/client-toolkit-e56a3844de110279/3776d4a/build.rs:5:49
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: Recipe `build-debug` failed on line 40 with exit code 101

this is the result of command just build-release

could not find system library 'xkbcommon' required by the 'smithay-client-toolkit' crate

Do you have xkbcommon installed?

@jacobgkau I don't know... I am new to Linux, maybe you can guide me?

@mmstick now it gives -

error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/rustccPoETb/symbols.o" "/home/khushal/Downloads/launcher/target/release/deps/pop_launcher_bin-099bebbe6dd8421c.pop_launcher_bin.047109b4-cgu.10.rcgu.o" "-Wl,--as-needed" "-L" "/home/khushal/Downloads/launcher/target/release/deps" "-L" "/home/khushal/Downloads/launcher/target/release/build/libmimalloc-sys-6a539ee44065d375/out" "-L" "/usr/lib64" "-L" "/home/khushal/Downloads/launcher/target/release/build/ring-9fe1f48565f9b070/out" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustccPoETb/liblibmimalloc_sys-b4ed48b1990e4bcf.rlib" "/tmp/rustccPoETb/libring-64b082b307b3ef82.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5eb36508abfd48b.rlib" "-Wl,-Bdynamic" "-lEGL" "-ldl" "-lxkbcommon" "-lxkbcommon" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/khushal/Downloads/launcher/target/release/deps/pop_launcher_bin-099bebbe6dd8421c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: cannot find -lEGL: No such file or directory
          collect2: error: ld returned 1 exit status
          

error: could not compile `pop-launcher-bin` due to previous error
error: Recipe `build-debug` failed on line 40 with exit code 101

according to dnf provides /usr/lib64/libEGL.so
try installing the libglvnd-devel package