Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.02k stars 447 forks source link

Build fails on Debian bookworm #5517

Open nisklar opened 1 month ago

nisklar commented 1 month ago

Checklist

Describe your issue

I seem not be able to update my chatterino to the latest nightly 0495fbca4 on my bookworm install. Latest commit that I currently am using and succesfully compiled is 6b73bb53

Steps I'm doing to compile, according to BUILDING_ON_LINUX:

sudo apt install qt6-base-dev qt6-5compat-dev qt6-svg-dev qt6-image-formats-plugins libboost1.81-dev libssl-dev cmake g++ git git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git cd chatterino2 mkdir build cd build cmake -DBUILD_WITH_QT6=ON -DBUILD_WITH_QTKEYCHAIN=OFF .. cmake --build .

Log

Screenshots

No response

OS and Chatterino Version

Debian GNU/Linux 12 (bookworm) commit 0495fbca4

Nerixyz commented 1 month ago

You're hitting QTBUG-83160. You need a newer version of Qt (6.5.3+). The next debian release should have 6.6. Until then, you can compile Qt yourself. It's currently done in CI for Ubuntu here. Though note that this compiles the static version of Qt, you'd need to pass the same CMake variables (CMAKE_PREFIX_PATH and CHATTERINO_STATIC_QT_BUILD).

nisklar commented 1 month ago

You're hitting QTBUG-83160. You need a newer version of Qt (6.5.3+). The next debian release should have 6.6. Until then, you can compile Qt yourself. It's currently done in CI for Ubuntu here. Though note that this compiles the static version of Qt, you'd need to pass the same CMake variables (CMAKE_PREFIX_PATH and CHATTERINO_STATIC_QT_BUILD).

Honestly, I still am quite a noob when it comes to compiling my own software and this system is quite critical for me so I don't think I'll start messing with hand compiling toolkits or backporting, heh. If there is a significant feature addition or major breakage that requires an update, I'll just use the AppImage. Just thought I'd report (my first ever issue report too) because there were only a few days between compiling attempts and found it odd. Knowing what caused the issue is enough for me :)

Thank you for your quick reply and the awesome piece of software!

Nerixyz commented 1 month ago

I'll just use the AppImage.

There's also a Flatpak (not a Linux user, but some say they're better).