Package: debhelper
Version: 9.20130720
Severity: serious
Tags: patch
Justification: FTBFS
Hi,
Attached is a patch which fixes FTPFS with perl 5.18 (currently in
sid/jessie):
-------------------------
po4a --previous -L UTF-8 man/po4a/po4a.cfg
set -e; \
for lang in de es fr; do \
dir=man/$lang; \
for file in $dir/dh*.pod; do \
prog=`basename $file | sed 's/.pod//'`; \
pod2man --utf8 -c Debhelper -r "9.20130720" $file
$prog.$lang.1; \
done; \
if [ -e $dir/debhelper.pod ]; then \
cat $dir/debhelper.pod | \
perl -e ' undef $/; foreach (@ARGV) { open (IN,
$_) or die "$_: $!"; $file=<IN>; close IN; if ($file=~m/=head1 .*?\n\n(.*?) -
(.*?)\n\n/s) { my $item="=item $1(1)\n\n$2\n\n"; if (" dh_desktop
dh_installmanpages dh_scrollkeeper dh_suidregister dh_undocumented " !~ / $1 /)
{ $list.=$item; } else { $list_deprecated.=$item; } } } END { while (<STDIN>) {
s/#LIST#/$list/; s/#LIST_DEPRECATED#/$list_deprecated/; print; }; }' `find $dir
-type f -maxdepth 1 -name "dh_*.pod" | sort` | \
pod2man --utf8 -c Debhelper -r "9.20130720"
--name="debhelper" --section=7 > debhelper.$lang.7; \
fi; \
done
man/fr/dh_installmanpages.pod around line 34: L<> starts or ends with whitespace
POD document had syntax errors at /usr/bin/pod2man line 71.
make[1]: *** [build] Error 255
-------------------------
The reason are the stricter rules for POD in perl 5.18.
-- System Information:
Debian Release: jessie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debhelper depends on:
ii binutils 2.23.52.20130828-1
ii dpkg 1.17.1
ii dpkg-dev 1.17.1
ii file 1:5.14-2
ii man-db 2.6.5-2
ii perl 5.18.1-3
ii po-debconf 1.0.16+nmu2
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 0.62
-- no debconf information
>From 9c132754e12af7d7248a8ace4e3725d694add387 Mon Sep 17 00:00:00 2001
From: Damyan Ivanov <[email protected]>
Date: Wed, 11 Sep 2013 18:58:51 +0000
Subject: [PATCH 1/3] remove trailing space in L<..> in french translation
this breaks the build with new perls
---
man/po4a/po/fr.po | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/po4a/po/fr.po b/man/po4a/po/fr.po
index 5a0dbe7..fd4f3e8 100644
--- a/man/po4a/po/fr.po
+++ b/man/po4a/po/fr.po
@@ -6125,7 +6125,7 @@ msgstr ""
"répertoires à la recherche de fichiers portant un nom ressemblant à ceux "
"utilisés pour les pages de manuel. Nota : Seuls les vrais répertoires sont "
"scrutés, les liens symboliques sont ignorés. dh_installmanpages utilise "
-"L<file(1) > pour vérifier si les fichiers sont dans un format correct, puis "
+"L<file(1)> pour vérifier si les fichiers sont dans un format correct, puis "
"se base sur l'extension du fichier pour l'installer dans le bon répertoire."
# type: textblock
--
1.8.4.rc3