On Tue, Feb 19, 2008 at 01:53:08AM +0100, Agustin Martin wrote: > On Mon, Feb 18, 2008 at 11:36:08PM +0100, Lionel Elie Mamane wrote: > > On Mon, Feb 18, 2008 at 09:41:14PM +0100, Agustin Martin wrote: > > > On Mon, Feb 18, 2008 at 07:56:41PM +0100, Lionel Elie Mamane wrote: > > >> On Tue, Feb 12, 2008 at 01:10:39PM +0100, Agustin Martin wrote: > > > > >> I built a new ifrench-gut package against dictionaries-common-devel > > >> 0.95.2, and now ifrench-gut's entries in the selection dialog are > > >> blank, and I get: > > > > >> Use of uninitialized value in join or string at > > >> /usr/share/dictionaries-common/dc-debconf-select.pl line 61, <STDIN> > > >> line 16. > > >> Use of uninitialized value in join or string at > > >> /usr/share/dictionaries-common/dc-debconf-select.pl line 61, <STDIN> > > >> line 16. > > > > >> Also lintian complains about the __Default (instead of Default) in the > > >> elanguages stuff. Says it is an error and all that. > > > > > Thanks for noticing this, both seem the same problem, > > > > Note that building the package with --no-elanguages fixed the lintian > > error, but not the blank entries in the selection dialog. > > Strange, not happenning here (in an etch box with tons of dict-common > backports). Will try in a real sid tomorrow. > > If possible, please provide as much info as possible, locale, debdiff > between old and new package, template ...
Found the problem, you should have mentioned that a new ifrench-gut was in incoming, I was testing against the old one which only has two elements. In short, when elanguages is used the first time, it stays in the debcobf database even if later templates do not contain it. When you build the new ifrench-gut, it has three elements, but elanguages contains only two, and is the sanity check in dictionaries-common which failed, testing an $#elangs instead of a $#tmp. Note that this just checks that languages and elanguages have the same number of elements, there might be some border cases when the new templates without elanguages have the same number of elements that the previous one, but are different. Maintainers should in this case enable elanguages, at least temporarily. I have also improved installdeb scripts, if elanguages is enabled and no debian/po dir is present, will not use the __ prefix, and also added some extra debugging code to dc-debconf-select.pl. Thanks for your feedback, expect a fixed package today. -- Agustin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]