GNU bug report logs - #64848
/usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz: No such file or directory

Previous Next

Package: grep;

Reported by: Sajjad Ali <a.sajjad.72 <at> outlook.com>

Date: Tue, 25 Jul 2023 10:21:03 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64848 in the body.
You can then email your comments to 64848 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#64848; Package grep. (Tue, 25 Jul 2023 10:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sajjad Ali <a.sajjad.72 <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Tue, 25 Jul 2023 10:21:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sajjad Ali <a.sajjad.72 <at> outlook.com>
To: "bug-grep <at> gnu.org" <bug-grep <at> gnu.org>
Subject: /usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz:
 No such file or directory
Date: Tue, 25 Jul 2023 09:49:51 +0000
[Message part 1 (text/plain, inline)]
I was trying to build grep for windows using MSYS2.
Why using MSYS2 for building grep. How does MSYS2 differ from Cygwin?<https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/>

All the pre-requisites are installed.
$ pacman -Q autoconf automake gettext git gperf gzip help2man m4 make pkg-config tar texinfo wget xz
autoconf-wrapper 20221207-1
automake-wrapper 20221207-1
gettext 0.22-1
git 2.41.0-1
gperf 3.1-5
gzip 1.12-2
help2man 1.49.3-1
m4 1.4.19-2
make 4.4.1-1
pkgconf 1.9.4-1
tar 1.34-3
texinfo 7.0.3-3
wget 1.21.4-1
xz 5.4.3-1

while executing the command  ./bootstrap it gives an error:

/usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz: No such file or directory
tar: This does not look like a tar archive
tar: gettext-0.18.2: Not found in archive
tar: Exiting with failure status due to previous errors
autopoint: *** infrastructure files for version 0.18.2 not found; this is autopoint from GNU gettext-tools 0.22
autopoint: *** Stop.
./bootstrap: could not generate auxiliary files


here is the complete log of ./bootstrap:

$ ./bootstrap
./bootstrap: Bootstrapping from checked-out grep sources...
./bootstrap: getting gnulib files...
./bootstrap: consider installing git-merge-changelog from gnulib
./bootstrap: getting translations into po/.reference for grep...
Last-modified header missing -- time-stamps turned off.
2023-07-25 14:31:54 URL:https://translationproject.org/latest/grep/ [9247] -> "po/.reference/index.html.tmp" [1]
https://translationproject.org/robots.txt:
2023-07-25 14:31:54 ERROR 404: Not Found.
Last-modified header missing -- time-stamps turned off.
2023-07-25 14:31:54 URL:https://translationproject.org/latest/grep/?C=N;O=D [9247] -> "po/.reference/index.html <at> C=N;O=D.tmp" [1]
Last-modified header missing -- time-stamps turned off.
2023-07-25 14:31:55 URL:https://translationproject.org/latest/grep/?C=M;O=A [9247] -> "po/.reference/index.html <at> C=M;O=A.tmp" [1]
Last-modified header missing -- time-stamps turned off.
2023-07-25 14:31:55 URL:https://translationproject.org/latest/grep/?C=S;O=A [9247] -> "po/.reference/index.html <at> C=S;O=A.tmp" [1]
Last-modified header missing -- time-stamps turned off.
2023-07-25 14:31:55 URL:https://translationproject.org/latest/grep/?C=D;O=A [9247] -> "po/.reference/index.html <at> C=D;O=A.tmp" [1]
Last-modified header missing -- time-stamps turned off.
2023-07-25 14:31:55 URL:https://translationproject.org/latest/ [30430] -> "po/.reference/index.html.tmp" [1]
FINISHED --2023-07-25 14:32:06--
Total wall clock time: 14s
Downloaded: 6 files, 75K in 0.2s (337 KB/s)
./bootstrap: autopoint --force
/usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz: No such file or directory
tar: This does not look like a tar archive
tar: gettext-0.18.2: Not found in archive
tar: Exiting with failure status due to previous errors
autopoint: *** infrastructure files for version 0.18.2 not found; this is autopoint from GNU gettext-tools 0.22
autopoint: *** Stop.
./bootstrap: could not generate auxiliary files

[Message part 2 (text/html, inline)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 25 Jul 2023 15:05:01 GMT) Full text and rfc822 format available.

Notification sent to Sajjad Ali <a.sajjad.72 <at> outlook.com>:
bug acknowledged by developer. (Tue, 25 Jul 2023 15:05:02 GMT) Full text and rfc822 format available.

Message #10 received at 64848-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sajjad Ali <a.sajjad.72 <at> outlook.com>, 64848-done <at> debbugs.gnu.org
Subject: Re: bug#64848: /usr/bin/autopoint: line 505:
 /usr/share/gettext/archive.dir.tar.xz: No such file or directory
Date: Tue, 25 Jul 2023 08:03:58 -0700
On 2023-07-25 02:49, Sajjad Ali wrote:
> /usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz: No such file or directory

You need to install development packages, not just end-user packages. So 
for gettext you need 'gettext-devel' or something like that. Here's what 
I see on Fedora 38:

$ rpm -qf /usr/share/gettext/archive.dir.tar.xz
gettext-common-devel-0.21.1-2.fc38.noarch





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Aug 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.