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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sajjad Ali <a.sajjad.72 <at> outlook.com>
Subject: bug#64848: closed (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 15:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64848 <at> debbugs.gnu.org.

-- 
64848: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64848
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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 4 (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 5 (text/html, inline)]

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

Previous Next


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