linuxmint / warpinator

Share files across the LAN
GNU General Public License v3.0
1.2k stars 81 forks source link

Build failing on openSUSE Tumbleweed #51

Closed TheRealDannyBoy closed 3 years ago

TheRealDannyBoy commented 4 years ago

I've been attempting to build an openSUSE package for Warpinator. However, both rpmbuild and manual builds fail during the compile stage. The exact output of ninja -vC builddir is shown below:

ninja: Entering directory `builddir'
[1/1] /usr/bin/meson --internal msgfmthelper ../data/org.x.warpinator.policy.in.in data/org.x.warpinator.policy xml /home/daniel/documents/src/warpinator/po
FAILED: data/org.x.warpinator.policy 
/usr/bin/meson --internal msgfmthelper ../data/org.x.warpinator.policy.in.in data/org.x.warpinator.policy xml /home/daniel/documents/src/warpinator/po
msgfmt: cannot locate ITS rules for ../data/org.x.warpinator.policy.in.in
ninja: build stopped: subcommand failed.

I have been unsuccessful in searching for what exactly an ITS rule is. Any help resolving this issue would be greatly appreciated. Thanks in advance!

mtwebster commented 4 years ago

I think maybe there's a missing dependency. ITS rules tell the build system what parts of a file should be considered considered for translation. In debian-based systems these are provided by policykit-1 for this particular file.

I have it as a dependency on our debian packaging, but it's not in meson's dependencies (I don't think it has a pkg-config file).

TheRealDannyBoy commented 4 years ago

That was it, thanks. I had to install polkit-devel.

EDIT: there are some other errors; I'll leave this open for now.

mtwebster commented 3 years ago

Can this be closed?

rlafuente commented 6 months ago

Had the same error building on Debian, the missing package was libpolkit-gobject-1-dev