Bug#614776: libconfig-model-perl: config-edit fails when parsing DEP5 copyright with License stanza in header section

Thomas Preud'homme thomas.preudhomme at celest.fr
Wed Feb 23 11:41:02 UTC 2011


Package: libconfig-model-perl
Version: 1.233-1
Severity: normal
Tags: upstream

config-edit -application dpkg-copyright -ui none fails when a License
stanza is present in header section with error:

Can't call method "fetch_element" on an undefined value at
/usr/share/perl5/Config/Model/Backend/Debian/Dpkg/Copyright.pm line 121.

Below is the faulting debian/copyright.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'squeeze-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libconfig-model-perl depends on:
ii  libapt-pkg-perl          0.1.24+b1       Perl interface to libapt-pkg
ii  libcarp-assert-more-perl 1.12-2          Convenience wrappers for libcarp-a
ii  libexception-class-perl  1.31-1          module that allows you to declare 
ii  libhash-merge-perl       0.12-1          Merges arbitrarily deep hashes int
ii  liblog-log4perl-perl     1.29-1          A Perl port of the widely popular 
ii  libmoose-perl            1.23-1          modern Perl object system framewor
ii  libmoosex-singleton-perl 0.25-1          Moose extension to turn a class in
ii  libmoosex-strictconstruc 0.10-1          Make your object constructors blow
ii  libparse-recdescent-perl 1.965001+dfsg-1 Perl module to create and use recu
ii  libtext-autoformat-perl  1.669002-1      module for automatic text wrapping
ii  libwww-perl              5.837-1         simple and consistent interface to
ii  libyaml-perl             0.71-1          YAML Ain't Markup Language
ii  perl                     5.10.1-17       Larry Wall's Practical Extraction 

Versions of packages libconfig-model-perl recommends:
ii  bash-completion               1:1.3-1    programmable completion for the ba
ii  fuse-utils                    2.8.4-1.1  Filesystem in USErspace (utilities
ii  libfuse-perl                  0.09-3     Write filesystems in Perl using FU

Versions of packages libconfig-model-perl suggests:
pn  libconfig-model-tkui-perl     <none>     (no description available)
pn  libterm-readline-perl-perl |  <none>     (no description available)

-- no debconf information

*** /home/robotux/projects/perso/tcc/debian/copyright
Format: http://dep.debian.net/deps/dep5/
Upstream-Name: Tiny C Compiler
Upstream-Contact: Fabrice Bellard <fabrice at bellard.org>
Source: http://www.tinycc.org
License: GPL-2+

Files: *
Copyright: 2001-2006, Fabrice Bellard
License: LGPL-2+

Files: debian/*
Copyright: 2002, Cyril Bouthors <cyril at bouthors.org>
           2003-2006, Romain Francoise <rfrancoise at debian.org>
           2007-2010, Aurélien GÉRÔME <ag at roxor.cx>,
           2007-2010, Thomas Preud'homme <robotux at celest.fr>,
           2007-2010, Arthur Loiret <arthur.loiret at gmail.com>
License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

Files: lib/libtcc1.c:
Copyright: 1987, 1988, 1992, 1994, 1995, Free Software Foundation, Inc.
           2002, Fabrice Bellard
License: GPL-2+

Files: elf.h
Copyright: 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
License: LGPL-2+

Files: stab.def
Copyright: 1988, 1997, Free Software Foundation, Inc.
License: LGPL-2+

Files: texi2pod.pl
Copyright: 1999, 2000, 2001, Free Software Foundation, Inc.
License: LGPL-2+

Files: arm-gen.c
Copyright: 2003, Daniel Glöckner
License: LGPL-2+

Files: tcccoff.c
Copyright: 2003, 2004, TK
                 2004, Fabrice Bellard
License: LGPL-2+

Files: win32/tools/tiny_impdef.c
Copyright: 2005-2007, grischka
License: GPL-2+

Files: tccpe.c
Copyright: 2005-2007, grischka
License: LGPL-2+

Files: win32/tools/tiny_libmaker.c
Copyright: 2007, Timppa
License: LGPL-2+

Files: x86_64-gen.c
Copyright: 2008, Shinichiro Hamaji
License: LGPL-2+

Files: il-opcodes.h
Copyright: 2002, Fabrice Bellard
License: GPL-2+

License: LGPL-2+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 .
 On Debian systems, the full text of the GNU Lesser General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/LGPL-2'.

License: GPL-2+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 .
 On Debian systems, the full text of the GNU General Public License
 version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.





More information about the pkg-perl-maintainers mailing list