Le dimanche 16 septembre 2007, à 20:34:48 +0200, Patrick a écrit : > Lucas Nussbaum has rebuilt the whole archive on i386 and your package FTBFS if > built twice in a row with the following error:
[...]
> dpkg-source: cannot represent change to po/nl.gmo: binary file contents
> changed
> dpkg-source: cannot represent change to po/zh_CN.gmo: binary file contents
> changed
nl and zh_CN locales are modified in diff.gz
So, when dpkg-source creates source directory, nl.po is more recent than nl.gmo
(and zh_CN.po more recent than zh_CN.gmo); nl.gmo and zh_CN.gmo are therefore
rebuilt. At second pass, there are differents, and build fails.
One way to correct that is to remove .gmo in clean target, but many .gmo do not
build because they have nplurals=1
Here is a diff that seems to fix the problem.
arno
diff -Nur sed-4.1.5/debian/rules sed-4.1.5~/debian/rules
--- sed-4.1.5/debian/rules 2007-09-29 14:41:52.000000000 +0200
+++ sed-4.1.5~/debian/rules 2007-09-29 15:12:57.000000000 +0200
@@ -38,7 +38,7 @@
clean:
rm -f debian/substvars debian/files build config.log config.cache
rm -f doc/sed.info*
- rm -f po/*.gmo
+# rm -f po/ca.gmo
rm -rf debian/tmp autom4te.cache
find . -type f -a \( -name \#\*\# -o -name .\*\~ -o -name \*\~ -o -name
DEADJOE -o -name \*.orig -o -name \*.rej -o -name \*.bak -o -name .\*.orig -o
-name .\*.rej -o -name .SUMS -o -name TAGS -o -name core -o \( -path
\*/.deps/\* -a -name \*.P \) \) -exec rm -f {} \;
-make distclean
diff -Nur sed-4.1.5/po/hu.po sed-4.1.5~/po/hu.po
--- sed-4.1.5/po/hu.po 2007-09-29 14:43:05.000000000 +0200
+++ sed-4.1.5~/po/hu.po 2006-02-03 10:26:56.000000000 +0100
@@ -7,13 +7,13 @@
"Project-Id-Version: sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
-"PO-Revision-Date: 2007-09-29 14:43+0200\n"
+"PO-Revision-Date: 2003-10-26 09:28+0100\n"
"Last-Translator: Mihály Gyulai <[EMAIL PROTECTED]>\n"
"Language-Team: Hungarian <[EMAIL PROTECTED]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=0;\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
#: sed/compile.c:162
#, fuzzy
diff -Nur sed-4.1.5/po/id.po sed-4.1.5~/po/id.po
--- sed-4.1.5/po/id.po 2007-09-29 14:43:08.000000000 +0200
+++ sed-4.1.5~/po/id.po 2006-02-03 10:26:57.000000000 +0100
@@ -8,13 +8,13 @@
"Project-Id-Version: sed 4.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
-"PO-Revision-Date: 2007-09-29 14:43+0200\n"
+"PO-Revision-Date: 2004-04-27 14:56+0700\n"
"Last-Translator: Tedi Heriyanto <[EMAIL PROTECTED]>\n"
"Language-Team: Indonesian <[EMAIL PROTECTED]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=0;\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: KBabel 1.3\n"
#: sed/compile.c:162
diff -Nur sed-4.1.5/po/ja.po sed-4.1.5~/po/ja.po
--- sed-4.1.5/po/ja.po 2007-09-29 14:43:10.000000000 +0200
+++ sed-4.1.5~/po/ja.po 2006-02-03 10:26:58.000000000 +0100
@@ -11,13 +11,13 @@
"Project-Id-Version: GNU sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
-"PO-Revision-Date: 2007-09-29 14:43+0200\n"
+"PO-Revision-Date: 2005-02-01 21:02+0900\n"
"Last-Translator: IIDA Yosiaki <[EMAIL PROTECTED]>\n"
"Language-Team: Japanese <[EMAIL PROTECTED]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=EUC-JP\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=0;\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
#: sed/compile.c:162
msgid "multiple `!'s"
diff -Nur sed-4.1.5/po/tr.po sed-4.1.5~/po/tr.po
--- sed-4.1.5/po/tr.po 2007-09-29 14:43:11.000000000 +0200
+++ sed-4.1.5~/po/tr.po 2006-02-03 10:27:06.000000000 +0100
@@ -7,14 +7,14 @@
"Project-Id-Version: sed 4.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
-"PO-Revision-Date: 2007-09-29 14:43+0200\n"
+"PO-Revision-Date: 2004-05-19 18:06+0300\n"
"Last-Translator: Deniz Akkus Kanca <[EMAIL PROTECTED]>\n"
"Language-Team: Turkish <[EMAIL PROTECTED]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.0.2\n"
-"Plural-Forms: nplurals=2; plural=0;\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
#: sed/compile.c:162
#, fuzzy
signature.asc
Description: Digital signature

