tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/upower fails to build when polkit is disabled



Hi folks,

I have polkit disabled globally and this causes build failure
in sysutils/upower, because since the last update it installs
the polkit policy despite polkit support being disabled:

=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for upower-1.91.2nb2
ERROR: ************************************************************
ERROR: The following files are in /usr/pkgobj/sysutils/upower/work/.destdir/usr/pkg but not in the PLIST:
ERROR:         /usr/pkgobj/sysutils/upower/work/.destdir/usr/pkg/share/polkit-1/rules.d/org.freedesktop.upower.rules


PLIST.polkit is empty, and PLIST properly marks the polkit related files:

${PLIST.polkit}share/polkit-1/actions/org.freedesktop.upower.policy
${PLIST.polkit}share/polkit-1/rules.d/org.freedesktop.upower.rules


I get:  > make -v MESON_ARGS
-Dos_backend=dummy --sysconfdir=/usr/pkg/etc  --localedir=share/locale  -Dstatedir=/var  -Dhistorydir=/var/db/upower  -Degdir=/usr/pkg/share/examples/upower  -Dzshcompletiondir=/usr/pkg/share/zsh/site-functions  -Dman=true  -Didevice=disabled -Dudevrulesdir=disabled  -Dudevhwdbdir=disabled  -Dsystemdsystemunitdir=no -Dgtk-doc=false -Dintrospection=enabled -Didevice=disabled -Dpolkit=disabled --localedir=share/locale


I guess something in the build system changed and now accidently installs
this file (whie IMHO is harmless), or it requires a different option to
disable it.

What is the correct fix here?

Martin


Home | Main Index | Thread Index | Old Index