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

Build fails on Debian bookworm #5517

Open
4 tasks done
nisklar opened this issue Jul 20, 2024 · 3 comments
Open
4 tasks done

Build fails on Debian bookworm #5517

nisklar opened this issue Jul 20, 2024 · 3 comments
Labels
not our bug Behaviour that feels like a bug, but isn't really something we can work around. OS/Qt "bugs" OS: Linux

Comments

@nisklar
Copy link

nisklar commented Jul 20, 2024

Checklist

  • I'm reporting a problem with Chatterino
  • I've verified that I'm running the most recent nightly build or stable release
  • I've looked for my problem on the wiki
  • I've searched the issues and pull requests for similar looking reports

Describe your issue

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

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 0495fbc

@nisklar nisklar added the issue-report An issue reported by a user. label Jul 20, 2024
@Nerixyz
Copy link
Contributor

Nerixyz commented Jul 20, 2024

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).

@Felanbird Felanbird added OS: Linux not our bug Behaviour that feels like a bug, but isn't really something we can work around. OS/Qt "bugs" and removed issue-report An issue reported by a user. labels Jul 20, 2024
@nisklar
Copy link
Author

nisklar commented Jul 20, 2024

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
Copy link
Contributor

Nerixyz commented Jul 20, 2024

I'll just use the AppImage.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not our bug Behaviour that feels like a bug, but isn't really something we can work around. OS/Qt "bugs" OS: Linux
Projects
None yet
Development

No branches or pull requests

3 participants