Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#27348 - [gettext] Repository package content differs from manual build

Attached to Project: Arch Linux
Opened by Alexander Meshcheryakov (Self-Perfection) - Wednesday, 30 November 2011, 15:59 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 30 November 2011, 17:09 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


It seemed to me that gettext package are too large because of unneded 3.4 MB usr/share/gettext/archive.dir.tar.gz file

I tried to recomple package from official PKGBUILD ( and, surprisingly, the result does not contain archive.dir.tar.gz and in much smaller in .pkg.tar.xz - just 2MB vs 5 MB package from repo. To be precise, difference in file list is:

Only in /tmp/yaourt-tmp-self/gettext/pkg/usr/lib/gettext:
Only in /tmp/yaourt-tmp-self/gettext/pkg/usr/lib/gettext:
Only in /tmp/yaourt-tmp-self/gettext/pkg/usr/lib: GNU.Gettext.dll
Only in /tmp/gettext- archive.dir.tar.gz
Only in /tmp/yaourt-tmp-self/gettext/pkg/usr/share/gettext: archive.git.tar.gz
Only in /tmp/yaourt-tmp-self/gettext/pkg/usr/share/gettext: gettext.jar
Only in /tmp/yaourt-tmp-self/gettext/pkg/usr/share/gettext: libintl.jar

Also there is remarkable difference in usr/bin/autopoint

diff -ur /tmp/gettext- /tmp/yaourt-tmp-self/gettext/pkg/usr/bin/autopoint
--- /tmp/gettext- 2011-11-04 15:46:14.000000000 +0400
+++ /tmp/yaourt-tmp-self/gettext/pkg/usr/bin/autopoint 2011-11-30 15:49:09.169077151 +0400
@@ -173,7 +173,7 @@
func_version ()
echo "$progname (GNU $package) $version"
- echo "Uses a versions archive in dir format."
+ echo "Uses a versions archive in git format."
echo "Copyright (C) 2002-2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
@@ -386,7 +386,7 @@
# git | 484 | git |
# -------+-----------------------------+--------------------+

-case "dir" in
+case "git" in
# The archive of different versions is very large, but using it does not
# require special tools.

This strange. Probably, parameters for configure script should be more precise.

Additional info:
* package version(s)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 30 November 2011, 17:09 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See my comment
Comment by Andrea Scarpino (BaSh) - Wednesday, 30 November 2011, 16:53 GMT
$ ls -l /tmp/gettext-
-rw-r--r-- 1 bash users 2074500 Nov 30 17:50 /tmp/gettext-
$ ls -l /var/cache/pacman/pkg/gettext-
-rw-r--r-- 1 root root 5178092 Nov 4 12:48 /var/cache/pacman/pkg/gettext-

$ checkpkg
usr/share/gettext/archive.dir.tar.gz | usr/share/gettext/archive.git.tar.gz
> usr/share/gettext/gettext.jar
> usr/share/gettext/libintl.jar

rebuilding with --disable-java and --without-git I got the same gettext binary that's in [core].
We build packages in clean chroots and those flags are set to "automatic", I don't know if we should disable it or not, but of course we don't want gettext to depend on git or java.