Package: git-buildpackage
Version: 0.4.11
Severity: normal

git-buildpackage contains lines 167-169:

        cp = parse_changelog(changelog)
        if not cp:
            raise GbpError,"'%s' does not exist, not a debian package" % change\
log

And the library code uses:

    def parse_changelog(changelog):
        """parse changelog file changelog"""
        status, output = commands.getstatusoutput('dpkg-parsechangelog -l%s' % 
(cha\
    ngelog, ))
        if status:
            return None

The real erro in this situation is revelaved by

    dpkg-parsechangelog -ldebian/changelog
    parsechangelog/debian: error: found start of entry where expected more 
change data or trailer, at file debian/changelog line 10


SUGGESTION

Please improve the error diagnostics e.g. by displaying full output of the
`dpkg-parsechangelog' and adjust the error detection accordingly:

    parsechangelog/debian: error: found start of entry where expected more 
change data or trailer, at file debian/changelog line 10

Jari

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.10.11     Scripts to make the life of a Debi
ii  git-core                     1:1.5.3.7-1 fast, scalable, distributed revisi
ii  python                       2.4.4-6     An interactive high-level object-o
ii  python-support               0.7.5       automated rebuilding support for p

git-buildpackage recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to