Red Hat Bugzilla – Bug 1249051
intltool-merge sometimes generate translations sometimes not
Last modified: 2017-07-01 19:57:27 EDT
Is this a new issue? intltool hasn't changed in approximately forever.
Do you know if it's affecting Fedora?
Upstream is pretty dead, and now that modern gettext supports most file formats (including the XML here), no one wants to use intltool anymore.
That said, I don't think a rebase of gettext is in the cards, so we can see what we can do to fix this.
There's a change in Fedora to fix
I wonder if it's related to the Perl version in the buildroot or something like that?
Between the logs in
Hmm. One thing I notice is that the `sub create_cache` function in intltool-merge is not done as an atomic write, yet systemd's build system has multiple parallel invocations of intltool.
What I would do for now is patch systemd's build to fail if there are no translations.
Created attachment 1081098 [details]
(In reply to Colin Walters from comment #5)
> Created attachment 1081098 [details]
> Untested patch.
Confirmed the patch doesn't break the build at least.
Created attachment 1081108 [details]
Tested this doesn't break the build, did not test that it correctly failed if intltool failed.
(In reply to Colin Walters from comment #3)
> Is this a new issue? intltool hasn't changed in approximately forever.
> Do you know if it's affecting Fedora?
Yep, we have the same problem in fedora.
(In reply to Lukáš Nykrýn from comment #8)
> (In reply to Colin Walters from comment #3)
> > Is this a new issue? intltool hasn't changed in approximately forever.
> > Do you know if it's affecting Fedora?
> Yep, we have the same problem in fedora.
OK, I pushed the patch there: