Fwupd: meson build fails with older polkit versions without ITS support

Created on 13 Apr 2017  路  7Comments  路  Source: fwupd/fwupd

Making all in policy
make[2]: Entering directory '/home/jwendell/checkout/gnome/fwupd/policy'
  GEN      org.freedesktop.fwupd.policy
/home/jwendell/jhbuild/install/bin/msgfmt: cannot locate ITS rules for org.freedesktop.fwupd.policy.in
Makefile:628: recipe for target 'org.freedesktop.fwupd.policy' failed
make[2]: *** [org.freedesktop.fwupd.policy] Error 1
make[2]: Leaving directory '/home/jwendell/checkout/gnome/fwupd/policy'
bug

Most helpful comment

@pdecat I've waivered on this, but decided that it makes more sense to make fwupd run in more places that don't yet have the newer deps. It's not really reasonable to require folks to backport a patch from an unreleased version of software just to compile.
I've adopted some variation of that into master and now it should be easier to run 0.9.x under jhbuild or on _"older"_ distros (such as Ubuntu 17.04).

At some point we should revert that when most the common stable distros have picked up those missing dependencies (and polkit actually does a 0.114 release).

All 7 comments

I think you need a newer polkit. Polkit has been installing a .its file since about July last year.

hmm, last polkit release, 0.113 is dated back 2015... which is the version I'm using (polkit-0.113-5.fc24.x86_64)

Ideally we should have a new version of polkit released and then have fwupd depending on that. I'm going to close this one, thanks.

I've nagged the upstream maintainer a few times for a new tarball. In the meantime, I've backported the itstool functionality into rawhide, f26 and just doing f25 now. There's also a 0_8_X branch of fwupd which might be more suitable for jhbuild at this point.

Backporting for the purpose of testing around makes fine sense but I think this should be kept open until the upstream maintainer for polkit makes a release with this ITS support, and an appropriate version dependency should be set in meson.build for that version of polkit.

@pdecat I've waivered on this, but decided that it makes more sense to make fwupd run in more places that don't yet have the newer deps. It's not really reasonable to require folks to backport a patch from an unreleased version of software just to compile.
I've adopted some variation of that into master and now it should be easier to run 0.9.x under jhbuild or on _"older"_ distros (such as Ubuntu 17.04).

At some point we should revert that when most the common stable distros have picked up those missing dependencies (and polkit actually does a 0.114 release).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ncraike picture ncraike  路  3Comments

kaihendry picture kaihendry  路  4Comments

dupondje picture dupondje  路  4Comments

onavsaber picture onavsaber  路  8Comments

fornellas picture fornellas  路  4Comments