Comment 5 for bug 14936

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 4 Apr 2005 02:13:27 +0200 (CEST)
From: Santiago Vila <email address hidden>
To: Blars Blarson <email address hidden>, <email address hidden>,
 <email address hidden>, <email address hidden>
Subject: Re: Bug#302995: gettext: ftbfs on sparc

reassign 302995 dpkg
retitle 302995 dpkg: the alternatives mechanism should be more robust
thanks

On Sun, 3 Apr 2005, Blars Blarson wrote:

> Package: gettext
> Version: 0.14.3-1
> Severity: serious
> Tags: sid
> Justification: fails to build from source
>
> gettext failed to build from source on the sparc buildd, however it
> built fine on my sparc pbuilder. The buildd log lacks some things
> that are in the pbuilder log "config.status: creating
> intl-java/Makefile" "config.status: creating intl-csharp/Makefile"
> and of course the sections that use those makefiles.
>
> buildd error:
>
> find debian/gettext-base/usr/share/locale | grep gettext-tools | xargs rm
> install -d debian/gettext-base/usr/share/gettext
> cp -p debian/tmp/usr/share/gettext/libintl.jar \
> debian/gettext-base/usr/share/gettext
> cp: cannot stat `debian/tmp/usr/share/gettext/libintl.jar': No such file or directory
> make[1]: *** [gettext-base] Error 1

You should not blame gettext for bugs in other packages.

A diff between the build logs for 0.14.2-1 and 0.14.3-1 for sparc
yields the following meaningful difference:

-checking for jar... jar
+checking for jar... no

So there was no /usr/bin/jar in the sparc autobuilder after installing
the fastjar package, but /usr/bin/jar is handled via the alternatives
mechanism. Seems like a dpkg bug to me.