[packman] cmake-4 vs. lots of packages
Manfred Hollstein
manfred.h at gmx.net
Mon Jul 28 18:38:58 CEST 2025
On Mon, 28 Jul 2025, 15:39:55 +0200, Manfred Hollstein wrote:
> On Sat, 26 Jul 2025, 14:37:45 +0200, Manfred Hollstein wrote:
> > On Sat, 26 Jul 2025, 14:20:01 +0200, Manfred Hollstein wrote:
> > > On Sat, 26 Jul 2025, 14:10:28 +0200, Manfred Hollstein wrote:
> > > > Moin,
> > > >
> > > > On Fri, 25 Jul 2025, 14:58:00 +0200, Manfred Hollstein wrote:
> > > > > Hi there,
> > > > >
> > > > > now that we got cmake-4 in Tumbleweed, lots of packages in Packman fail
> > > > > to build. This includes Kodi, Handbrake and others.
> > > > >
> > > > > What do others think? Should we try to fix the packages? I looked at
> > > > > Kodi, but gave up in the end as the package uses other components which
> > > > > haven't been ported/adapted to cmake-4. I assume a new release of Kodi
> > > > > might eventually include fixes for this, but as long as there is no such
> > > > > new release, it won't build anymore. For Handbrake the situation is very
> > > > > similar.
> > > > >
> > > > > Shall we create an A_tw-cmake which remains at version 3.x level?
> > > >
> > > > I have created my own home:manfred-h/A_tw-cmake package using the last
> > > > cmake-3 version contained in Slowroll. With this Kodi and Handbrake
> > > > build properly as expected. Looking at the various failing packages in
> > > > Multimedia, it turns out that appr. 9 packages fail due to Tumbleweed's
> > > > cmake-4.
> > > >
> > > > I'll submit my package to Essentials for both Tumbleweed and Slowroll as
> > > > the latter one will probably also upgrade to cmake-4.
> > > >
> > > > Please someone accept the request so we can work again. Thx!
> > >
> > > <https://pmbs.links2linux.org/request/show/6303>
> >
> > Forgot to mention, we should *not* publish these packages, but only use
> > them for build!
>
> did not see any response, so I treat this as "no opinion is also an
> opinion" ;-)
>
> I'll do the described changes now so that kodi, kodi.binary-addons,
> handbrake and other packages can be built again.
Actions need to take place at the package level... Once I saw that this
bloody CMAKE_POLICY_VERSION_MINIMUM can be specified as an environment
variable, I now changed the following packages to add
export CMAKE_POLICY_VERSION_MINIMUM=3.5
to their .spec file:
handbrake
kodi
kodi.binary-addons
The A_sr-cmake and A_tw-cmake packages have been build disabled, their
binaries have been wiped, and I'm going to nuke the packages, too.
This however means, that remaining packages failing due to cmake-4 need
to be fixed separately!
Cheers.
l8er
manfred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20250728/4362b548/attachment.sig>
More information about the Packman
mailing list