Bug 1399270 - autopoint does not work if xz is missing (missing depedency?)
Summary: autopoint does not work if xz is missing (missing depedency?)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-28 16:40 UTC by Petr Spacek
Modified: 2016-12-04 02:25 UTC (History)
4 users (show)

Fixed In Version: gettext-0.19.8.1-3.fc25
Clone Of:
Environment:
Last Closed: 2016-12-04 02:25:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Spacek 2016-11-28 16:40:12 UTC
Description of problem:
autopoint fails in packages using AM_GNU_GETTEXT_VERSION macro if xz is not installed.

Version-Release number of selected component (if applicable):
gettext-devel-0.19.8.1-2.fc25.x86_64

How reproducible:
100 %

Steps to Reproduce:
0. Grab a package using AM_GNU_GETTEXT_VERSION macro, e.g.:
AM_GNU_GETTEXT_VERSION([0.19.8])

1. Run autopoint on it:
# autoreconf -i

Actual results:
/usr/bin/autopoint: line 485: xz: command not found
tar: This does not look like a tar archive
tar: gettext-0.19.8: Not found in archive
tar: Exiting with failure status due to previous errors
autopoint: *** infrastructure files for version 0.19.8 not found; this is autopoint from GNU gettext-tools 0.19.8.1
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1


Expected results:
autopoint works.

Additional information:
It would help if xz was installed as depedency of gettext-devel package (which contains autopoint).

Comment 1 Pavel Raiskup 2016-11-29 07:45:04 UTC
Thanks for the report, your analysis seems to be right.

I don't see adding 'xz' as runtime dependency for 'gettext-devel' as an
issue -- the 'dirxz' is ./configure time thing (baked-in decision so the
'xz' dependency is unconditional).

But due to nature of 'xz' package -- it is in minimal buildroot and
(unless something dramatic changes) it will be (mock would have to install
'xz' on demand when Source tarballs are really xz compressed).  So I'm
curious what environment are you running autopoint in :).

I'm not yet oriented in gettext too much, but never-mind, this looks like
safe thing.

Comment 2 Petr Spacek 2016-11-29 07:52:13 UTC
This issue happened inside Docker container fedora:latest (Fedora 25 at the time).

Comment 3 Fedora Update System 2016-11-29 12:30:18 UTC
gettext-0.19.8.1-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9359679d9e

Comment 4 Fedora Update System 2016-12-02 18:55:54 UTC
gettext-0.19.8.1-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9359679d9e

Comment 5 Fedora Update System 2016-12-04 02:25:36 UTC
gettext-0.19.8.1-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.