intltool.m4 should use --no-translations only if >=intltool-0.50.0 is detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
Fix Released
|
High
|
Hib Eris | ||
Gentoo Linux |
Won't Fix
|
Medium
|
Bug Description
intltool.m4 from intltool-0.50.0 uses $(INTLTOOL_MERGE) -x -u --no-translations in INTLTOOL_
However, earlier versions of intltool do not support --no-translations. As a result, if a source tarball was generated on a system with intltool-0.50.0 and a user attempts to build it on a system with intltool-0.48.0, the build will fail (e.g. as reported in https:/
LC_ALL=C /usr/bin/
[...]
Unknown option: no-translations
Undefined subroutine &main::error called at /usr/bin/
make[2]: *** [...] Error 255
A simple solution would be to use --no-translations only if INTLTOOL_
Related branches
- Данило Шеган: Approve
-
Diff: 41 lines (+8/-6)1 file modifiedintltool.m4 (+8/-6)
Changed in gentoo: | |
importance: | Unknown → Medium |
Changed in gentoo: | |
status: | Unknown → Won't Fix |
Changed in intltool: | |
assignee: | nobody → Hib Eris (hiberis) |
status: | Triaged → Fix Committed |
Changed in intltool: | |
milestone: | 0.51.0 → 0.50.2 |
status: | Fix Committed → Fix Released |
Created attachment 295593 0.50.0- -no-translation s-version. patch
intltool-
intltool.m4 from intltool-0.50.0 uses $(INTLTOOL_MERGE) -x -u --no-translations in INTLTOOL_ XML_NOMERGE_ RULE.
However, earlier versions of intltool do not support --no-translations. As a result, if a source tarball was generated on a system with intltool-0.50.0 and a user attempts to build it on a system with intltool-0.48.0, the build will fail (e.g. as reported in bug #394445):
LC_ALL=C /usr/bin/ intltool- merge -x -u --no-translations intltool- merge line 73.
[...]
Unknown option: no-translations
Undefined subroutine &main::error called at /usr/bin/
make[2]: *** [...] Error 255
A patch to detect intltool version at configure time and use --no-translations only if version 0.50.0 is attached; I have submitted it upstream to at https:/ /bugs.launchpad .net/intltool/ +bug/903340.
Ack/nack for Gentoo in the meantime?
This bug makes it rather inconvenient to use a Gentoo ~arch system to generate source tarballs for public consumption :)