Linux distribution build failures due to missing releases
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
### System Information
Generic rolling release Linux. Known affected: NixOS (unstable), Arch, gentoo
### LMMS Version(s)
1.2.2
### Most Recent Working Version
master
### Bug Summary
CMake 4.0 removed support for CMake versions below 3.5, which is not an issue in master due to LMMS requiring at least 3.13.
However, because no official release has been made several rolling release distros are still based on LMMS 1.2.2. Notably,
Arch Linux: https://archlinux.org/packages/extra/x86_64/lmms/
Gentoo: https://packages.gentoo.org/packages/media-sound/lmms
NixOS: https://search.nixos.org/packages?channel=unstable&show=lmms&query=lmms
Arch Linux has vendored a [patch](https://gitlab.archlinux.org/archlinux/packaging/packages/lmms/-/blob/main/cmake-4.patch?ref_type=heads) to fix compilation with CMake 4.1.1.
Gentoo is planning on [removing](https://packages.gentoo.org/packages/media-sound/lmms) LMMS on the 4th of November due to repeated compilation failure despite patches.
Nixpkgs only recently updated CMake to 4.1.1 so no action has yet been taken on LMMS but the compilation is still failing.
Updating to `1.3.0-alpha` would also not solve the issue as it still depends on CMake 3.3 which is still removed.
### Expected Behaviour
A release which includes the updated CMake requirements should have been made.
### Steps To Reproduce
Attempt to compile LMMS 1.2.2 with CMake 4.0+ (like many distributions still do)
### Logs
Click to expand
### Screenshots / Minimum Reproducible Project
_No response_
### Please search the issue tracker for existing bug reports before submitting your own.
- [x] I have searched all existing issues and confirmed that this is not a duplicate.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the CMake requirements in LMMS 1.2.2 and master, then verify a build with CMake 4.0 or newer on an affected rolling-release distribution. Done means an official LMMS release includes the updated CMake requirement so distributions no longer need a vendored patch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100