Hello again
After merging the improvements to dl10n-check (thanks Pino!), and getting libfile-slurp-perl installed in tye.debian.org (thanks DSA!), the script was still failing with this error:

dl10n-check: error: cannot read debian/control: No such file or directory

yesterday I could have a look and committed this:

https://salsa.debian.org/l10n-team/dl10n/commit/7a73618ad9dcba20a4991853bc646b1fc3c3d812

(attaching also the diff) and schedule a new run for 18:25 UTC; it seems it fixed the problem.
We still get errors (see extract of the log attached) but the files are 
generated.

I've re-scheduled the cron job to its usual time, 14:25 UTC.

Since the stattrans script (the one that generates the language stats pages in www.debian.org) is run once a day at 17:25 UTC, I guess today or tomorrow we'll get the web pages updated. I'll try to follow this during the week, and if it goes well, remove gradually the packages that were in the list of exceptions, to see if the script can now handle all that too (and then close the respective bug reports).

Cheers
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
/srv/i18n.debian.org/etc/cron.d//10gen-material-unstable:
dl10n-check: warning: unexpected end of diff '/srv/i18n.debian.org/tmp/gen-material/debsrck1ugD/debian/patches/fix-version.diff'

dl10n-check: warning: diff '/srv/i18n.debian.org/tmp/gen-material/debsrcZw1II/debian/patches/0015-Rename-LICENSE-to-LICENSE.md.patch' doesn't contain any patch

tar: A lone zero block at 3606

Cannot create a converter from "8859-5" to "UTF-32BE": Unsupported conversion from 8859-5 to UTF-32BE: Invalid argument at (eval 844) line 1.

dl10n-check: warning: diff '/srv/i18n.debian.org/tmp/gen-material/debsrcpMY00/debian/patches/revert-register-late' patches file /srv/i18n.debian.org/tmp/gen-material/debsrcpMY00/bus/at-spi-bus-launcher.c more than once

dl10n-check: warning: diff '/srv/i18n.debian.org/tmp/gen-material/debsrcKu80p/debian/patches/15_man-fixes.patch' patches file /srv/i18n.debian.org/tmp/gen-material/debsrcKu80p/doc/aumix.1 more than once

tar: A lone zero block at 1114

dl10n-check: warning: unexpected end of diff '/srv/i18n.debian.org/tmp/gen-material/debsrcpvYzX/debian/patches/0009-patch-hardcoded-upstream-username.patch'

dl10n-check: warning: unexpected end of diff '/srv/i18n.debian.org/tmp/gen-material/debsrcD3P1g/debian/patches/source.patch'

tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'

dl10n-check: warning: unexpected end of diff '/srv/i18n.debian.org/tmp/gen-material/debsrc5R8He/debian/patches/fix-readme-file.patch'

dl10n-check: warning: diff '/srv/i18n.debian.org/tmp/gen-material/debsrcTu37y/debian/patches/Fix-typo.patch' patches file /srv/i18n.debian.org/tmp/gen-material/debsrcTu37y/tools/btpclient.c more than once

dl10n-check: warning: diff '/srv/i18n.debian.org/tmp/gen-material/debsrcDzZN3/debian/patches/warning' patches file /srv/i18n.debian.org/tmp/gen-material/debsrcDzZN3/boml.c more than once

Cannot create a converter from "charset" to "UTF-32BE": Unsupported conversion from charset to UTF-32BE: Invalid argument at (eval 1495) line 1.

tar: A lone zero block at 140
diff --git a/lib/Debian/Pkg/DebSrc.pm b/lib/Debian/Pkg/DebSrc.pm
index b32267de1253a1311340af77426f58254f4bd1fb..6f0def45b7f60d707c18cb537253d2cbe4ccf909 100644
--- a/lib/Debian/Pkg/DebSrc.pm
+++ b/lib/Debian/Pkg/DebSrc.pm
@@ -231,8 +231,7 @@ sub get_control {
         my $self = shift;
 
         my $fullpath = File::Spec->catfile($self->{pkgtmpdir}, "debian/control");
-        my $control = Dpkg::Control::Info->new();
-        $control->load($fullpath);
+        my $control = Dpkg::Control::Info->new($fullpath);
         return $control;
 }
 

Reply via email to