shell icon indicating copy to clipboard operation
shell copied to clipboard

[BUG] Cant build 1.3.0 on Fedora Linux 42

Open 3XPLwastaken opened this issue 1 year ago • 13 comments

Step 1. Before you submit

  • [x] I have read the above instructions and am sure that this is supposed to be posted here.
  • [x] I've successfully updated to the latest versions following the updating guide.
  • [x] I've successfully updated the system packages to the latest.
  • [ ] I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info
<!-- Run `caelestia -v` and paste the result here! -->
╰─ ❯❯ caelestia -v
Packages:
    caelestia-shell-git not installed
    caelestia-cli-git not installed
    caelestia-meta not installed


Caelestia:
    Last commit: ed839182960fa4adf8cd63a8441601fc4af3ceb9
    Commit message: hyprland: fix script shebang (#48)  

Quickshell:
    quickshell 0.2.0, revision %{commit}, distributed by: Fedora COPR (errornointernet/quickshell)

Local copy of shell found:
    Unable to determine last merged upstream commit.

    Last commit: 60e67e85058ddc166ffea8e652752e0c1a0a8539
    Commit message: ci: no cpack 

Step 3. Describe the issue

Im on Fedora 42, and prior to the 1.3.0 update, i could build and install caelestia from the releases and/or source github files.

Now, however; when i try to run cmake, im presented with this error:

-- Checking for module 'cava'
--   Package 'cava' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - cava

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  plugin/src/Caelestia/CMakeLists.txt:6 (pkg_check_modules)

at first i thought that perhaps the cava package was just not installed, but upon checking, it most definitely is, as running the command runs the package successfully (and it works as intended), and it is recognized by fedora dnf. sudo dnf install cava Package "cava-0.10.2-4.fc42.x86_64" is already installed. Nothing to do.```

next i thought that maybe i was missing a devel version of cava, but im unable to download any development cava versions, as apparently libcava, cava-devel, and cavadevel do not exist.

No match for argument: cava-devel
No match for argument: cavadevel
No match for argument: cavalib

i have also attempted to build, and install cava directly, which seemed not to work. i would love to provide screenshots, but unfortunately i cant until this is fixed.

please help fix the issue! i love this quickshell desktop setup, and simply switching to arch linux wont do it for me :(

  • [x] I agree that it's usually impossible for others to help me without my logs.

3XPLwastaken avatar Sep 22 '25 23:09 3XPLwastaken

Caelestia was meant for Arch Linux

ghost avatar Sep 23 '25 01:09 ghost

definitely not true, there are assets and icons for other linux distros, and tons of other people have installed this with fedora, nix, and other linux distros. aswell as gotten support for those distros aswell

3XPLwastaken avatar Sep 23 '25 02:09 3XPLwastaken

I only personally support Arch Linux (and Nix kinda, although I do not run Nix anymore). The shell should technically run on any linux distro, although you will probably have to install all dependencies manually (and some may not be available in your distro's repos).

For libcava, you can try installing it manually from here.

soramanew avatar Sep 23 '25 04:09 soramanew

I'll try this out once I'm home, thank you! I wasn't able to find this repo somehow.

3XPLwastaken avatar Sep 23 '25 14:09 3XPLwastaken

i was able to build and install cava! BUT, now im getting this error when trying to launch caelestia:

╰─ ❯❯ caelestia shell -d
No running instances for "/home/expl/.config/quickshell/caelestia/shell.qml"
Dead instances:
 - dg2e6i23t
 - 3m2o6i23t
 - 7f3m8i23t
  INFO: Launching config: "/home/expl/.config/quickshell/caelestia/shell.qml"
  INFO: Shell ID: "67dfe957e3604b15375cdc45b1312344" Path ID "67dfe957e3604b15375cdc45b1312344"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/wo3y9i23t/log.qslog"
 ERROR: Failed to load configuration
 ERROR:   caused by @shell.qml[13:5]: Type Background unavailable
 ERROR:   caused by @modules/background/Background.qml[34:13]: Type Wallpaper unavailable
 ERROR:   caused by @modules/background/Wallpaper.qml[41:17]: Type MaterialIcon unavailable
 ERROR:   caused by @components/MaterialIcon.qml[4:1]: Type StyledText unavailable
 ERROR:   caused by @components/StyledText.qml[-1:-1]: Type Audio unavailable
 ERROR:   caused by @services/Audio.qml[-1:-1]: Type Brightness unavailable
 ERROR:   caused by @services/Brightness.qml[-1:-1]: Type Colours unavailable
 ERROR:   caused by @services/Colours.qml[-1:-1]: Type GameMode unavailable
 ERROR:   caused by @services/GameMode.qml[-1:-1]: Type Hypr unavailable
 ERROR:   caused by @services/Hypr.qml[-1:-1]: Type IdleInhibitor unavailable
 ERROR:   caused by @services/IdleInhibitor.qml[27:5]: IdleInhibitor is instantiated recursively

i also cant access the logs that it "saved" because im not able to cd to the directory, or find it in any way

3XPLwastaken avatar Sep 24 '25 00:09 3XPLwastaken

Ah for that error you just need to update Quickshell

soramanew avatar Sep 24 '25 01:09 soramanew

we are SO back

Image

thank you so much!!! it seems to be fixed, do you know what could be causing this issue with the incorrect temperatures, and missing weather data?

Image

3XPLwastaken avatar Sep 24 '25 01:09 3XPLwastaken

You can set the temperature units in the config (it tries to auto detect from your locale but isn't always correct)

The weather should be gotten from a remote API and should work if you have a network connection. If the weather data is inaccurate or incorrect, you can manually set your location in the config

soramanew avatar Sep 24 '25 03:09 soramanew

Hello, I'm facing the same issue. I'm running Fedora Linux 42 on a MacBook with Asahi Linux. I tried installing libcava building from the source provided in the comments and in the README, but the problem persists.

This is the error message I receive:

--   Package 'cava' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

    - cava

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  plugin/src/Caelestia/CMakeLists.txt:6 (pkg_check_modules)

Does anyone have an idea on how to solve this? Thanks in advance for your help!

C4V4H avatar Oct 03 '25 11:10 C4V4H

i had to use some sort of workaround, run these three commands before each attempt to build cava, as they don't save

export PKG_CONFIG_PATH=/usr/local/lib/ pkgconfig:$PKG_CONFIG_PATH
  1. go into your libcava build folder, and run these below:
sudo cp libcavacore.a /usr/local/lib/ sudo Idconfig
sudo In -sf /usr/local/lib/libcavacore.a /usr/
local/lib/libcava.a

and then try to build, it should work properly this time (atleast, it did on my setup) let me know if it works!

3XPLwastaken avatar Oct 03 '25 17:10 3XPLwastaken

thank you so much, man <3. You saved me, I was going crazy

C4V4H avatar Oct 03 '25 19:10 C4V4H

you're welcome!

3XPLwastaken avatar Oct 03 '25 20:10 3XPLwastaken

For anyone else scratching their heads on this, why only the cava binary is produced and not libcava, make sure to scroll down to the correct instructions, e.g. https://github.com/LukashonakV/cava?tab=readme-ov-file#using-cava-in-other-applications

invertedEcho avatar Oct 26 '25 22:10 invertedEcho