Bug#660246: paw: FTBFS on diffing debian/control and debian/control.new

Ralf Treinen ralf.treinen at pps.jussieu.fr
Fri Feb 17 16:56:21 UTC 2012


Package: src:paw
Version: 1:2.14.04.dfsg.2-7
Severity: serious

compilation fails on my system with:

[ -s debian/control ] || exit 1
[ -s debian/control.new ] || exit 1
[ -z "`diff debian/control debian/control.new`" ] || exit 1
make: *** [unpack] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
% m debian/changelog 

The problem is that the cernlib-debian.mk tries to rebuild a debian/control
file and compare it with the existing one, and for that it concatenates
files in the order given by the shell. However, sorting depends on
the locale (in particular $LC_COLLATE, so one should use more robust
file names (like: starting on integer values) so that a fixed order is
enforced.

For reference: I was using the following values:

% locale
LANG=en_US.utf8
LANGUAGE=
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8


-Ralf.
-- 
Ralf Treinen
Laboratoire Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.pps.jussieu.fr/~treinen/





More information about the debian-science-maintainers mailing list