pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xfce4-power-manager fails to build on NetBSD
On Wed, 07 May 2025 at 08:42:58 -0400, Greg Troxel wrote:
> It seems the issue is that in xfpm-pm-helper.c, it expects one of
> BACKEND_TYPE_${OPSYS} to be defined, and upstream has support for
> Linux,
> FreeBSD, OpenBSD. There is patches/patch-src_xfpm-pm-helper.c which
> adds BACKEND_TYPE_NETBSD, but I don't see how configure.ac is patched
> to
> add NetBSD, or the OS type is probed.
>
> Is there an uncommitted patch someplace? Does this build for anyone
> else?
The issue is in part caused by the recent update to upower, which
started pulling in polkit as a buildlink dependency. But really this
simply exposed a pre-existing issue with this package itself, which has
kind of been bit-rotting over time. The update made to it to 4.20
incorrectly dropped a build fix patch, which was meant for non-NetBSD
but more recently was also papering over the fact, yes, NetBSD isn't
even defined as a target upstream and there's no patch being carried
for that, either. (So, the package built but was useless in at least
some regards for NetBSD.)
There is more to this than just that, I'm sorry, I simply don't have
time to type out a detailed explanation today. I've reviewed what's
going on and believe I understand how to fix the builds (NetBSD and
SunOS, anyway, which worked before). Having said that, I can't actually
test that this package works as I don't have viable hardware to throw at
it. (I think that's been a challenge for multiple contributors here over
time.)
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index