Bug 1249051
Summary: | intltool-merge sometimes generate translations sometimes not | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukáš Nykrýn <lnykryn> | ||||||
Component: | intltool | Assignee: | Sundeep Anand <suanand> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | QE Internationalization Bugs <qe-i18n-bugs> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 7.2 | CC: | bbarve, suanand, thoger | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-05-14 11:38:01 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Comment 3
Colin Walters
2015-10-08 19:39:57 UTC
Between the logs in http://download.devel.redhat.com/brewroot/packages/systemd/219/8.el7/data/logs/x86_64/build.log http://download.devel.redhat.com/brewroot/packages/systemd/219/8.el7/data/logs/x86_64/build.log 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]
0001-intltool-merge-Create-cache-file-atomically.patch
Untested patch.
(In reply to Colin Walters from comment #5) > Created attachment 1081098 [details] > 0001-intltool-merge-Create-cache-file-atomically.patch > > Untested patch. Confirmed the patch doesn't break the build at least. Created attachment 1081108 [details]
0001-build-Error-out-if-intltool-failed.patch
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: http://pkgs.fedoraproject.org/cgit/intltool.git/commit/?id=f0b91355afb6b9d0bdc52c489b8b6a1ce4e78ab4 Is this still an issue? (Quite a few minor releases have passed.) |