Package: emacs-snapshot-common Version: 1:20061105-1 Severity: normal In the last few days, I noticed a strange failure of M-x compile and friends, triggered by cperl-mode and po-mode, the latter being in the gettext-el package. It should be reproducible with the following steps. Make sure you have gettext-el installed and open the attached files:
$ emacs-snapshot -q de.po check_db.pl In the de.po buffer, type 'V' ('po-validate'), getting a buffer *compilation validation*. Switch to the check_db.pl buffer and type M-x cperl-mode RET Switch back to the buffer de.po and type 'V' again. Now an error message Symbol's function definition is void: nil should appear. The backtrace looks as follows: Debugger entered--Lisp error: (void-function nil) nil(11) font-lock-fontify-keywords-region(1 11 nil) font-lock-default-fontify-region(1 11 nil) font-lock-fontify-region(1 11) font-lock-after-change-function(1 11 0) compilation-start("msgfmt --statistics -c -v -o /dev/null /home/sven/tmp/de.po" nil) compile("msgfmt --statistics -c -v -o /dev/null /home/sven/tmp/de.po") po-validate() call-interactively(po-validate) Likewise, M-x compile now signals the same error. :-( -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18.2 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages emacs-snapshot-common depends on: ii dpkg 1.13.24 package maintenance system for Deb ii emacsen-common 1.4.17 Common facilities for all emacsen emacs-snapshot-common recommends no packages. Versions of packages emacs-snapshot-bin-common depends on: ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii liblockfile1 1.06.1 NFS-safe locking library, includes Versions of packages emacs-snapshot depends on: ii emacs-snapshot-bin-common 1:20061105-1 The GNU Emacs editor's shared, arc ii libasound2 1.0.13-1 ALSA library ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libncurses5 5.5-5 Shared libraries for terminal hand ii libpng12-0 1.2.8rel-5.2 PNG library - runtime ii libsm6 1:1.0.1-3 X11 Session Management library ii libtiff4 3.8.2-6 Tag Image File Format (TIFF) libra ii libungif4g 4.1.4-4 shared library for GIF images ii libx11-6 2:1.0.0-9 X11 client-side library ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library ii libxpm4 1:3.5.5-2 X11 pixmap library ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library ii xaw3dg 1.5+E-14 Xaw3d widget set Versions of packages emacs-snapshot-gtk depends on: ii emacs-snapshot-bin-common 1:20061105-1 The GNU Emacs editor's shared, arc ii libasound2 1.0.13-1 ALSA library ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libglib2.0-0 2.12.4-1 The GLib library of C routines ii libgtk2.0-0 2.8.20-2 The GTK+ graphical user interface ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libncurses5 5.5-5 Shared libraries for terminal hand ii libpng12-0 1.2.8rel-5.2 PNG library - runtime ii libsm6 1:1.0.1-3 X11 Session Management library ii libtiff4 3.8.2-6 Tag Image File Format (TIFF) libra ii libungif4g 4.1.4-4 shared library for GIF images ii libx11-6 2:1.0.0-9 X11 client-side library ii libxpm4 1:3.5.5-2 X11 pixmap library emacs-snapshot-el depends on no packages. Versions of packages emacsen-common depends on: ii bsdmainutils 6.1.4 collection of more utilities from Versions of packages emacs-snapshot-common is related to: ii dictionaries-common 0.70.7 Common utilities for spelling dict -- no debconf information
#!/usr/bin/perl # Debconf db validity checker and fixer. use strict; use warnings; use Debconf::Db; use Debconf::Template; use Debconf::Question; # Load up all questions and templates and put them in hashes for # ease of access. Debconf::Db->load; # There is no iterator method in the templates object, so I will do some nasty # hacking to get them all. Oh well. Nothing else needs to iterate templates.. my %templates; my $ti=$Debconf::Db::templates->iterator; while (my $t=$ti->iterate) { $templates{$t}=Debconf::Template->get($t); } my %questions; my $qi=Debconf::Question->iterator; while (my $q=$qi->iterate) { $questions{$q->name}=$q; # I have seen instances where a question would have no associated # template field. Always a bug. if (! defined $q->template) { print STDERR "Warning: question \"".$q->name."\" has no template field.\n" } } # I had a report of a templates db that had templates that claimed to # be owned by their matching questions -- but the questions didn't exist! # Check for such a thing. foreach my $t (keys %templates) { # Object has no owners method (not otherwise needed), so I'll do # some nasty grubbing. my @owners=$Debconf::Db::templates->owners($t); foreach my $q (@owners) { if (! exists $questions{$q}) { print STDERR "Warning: template \"$t\" claims to be used by nonexistant question \"$q\".\n"; } } }
# debsums po-debconf translation to German # Copyright (C) 2002, 2004 Brendan O'Dea <[EMAIL PROTECTED]> # This file is distributed under the same license as the debsums package. # Sven Joachim <[EMAIL PROTECTED]>, 2006. msgid "" msgstr "" "Project-Id-Version: debsums 2.0.28\n" "Report-Msgid-Bugs-To: [EMAIL PROTECTED]" "POT-Creation-Date: 2006-08-29 08:06+0200\n" "PO-Revision-Date: 2006-08-24 16:26+0200\n" "Last-Translator: Sven Joachim <[EMAIL PROTECTED]>\n" "Language-Team: German <debian-l10n-german@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../templates:4 msgid "Should debsum files be automatically generated by apt-get?" msgstr "Sollen debsum-Dateien automatisch von apt-get erzeugt werden?" #. Type: boolean #. Description #: ../templates:4 msgid "" "Not all packages contain debsum information as is. However, debsums can be " "installed so that apt will automatically generate debsum files of installed " "packages. This may be useful for checking system integrity later, though it " "should not be relied on as a security measure." msgstr "" "Nicht alle Pakete enthalten von sich aus debsum-Informationen. Jedoch kann " "debsums so installiert werden, dass apt automatisch debsum-Dateien von " "installierten Paketen erzeugt. Dies kann nützlich sein, um später die " "Integrität des Systems zu prüfen, obwohl man sich als SicherheitsmaÃnahme " "nicht darauf verlassen sollte."