Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problems with dpkg-genchanges [solved]

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
ororo
Posts: 3
Joined: 2012-05-06 08:15

problems with dpkg-genchanges [solved]

#1 Post by ororo »

Hello. I'm trying to build my first package.

This happens:

Code: Select all

$ dpkg-genchanges
parsechangelog/debian: warning:     debian/changelog(l9): found eof where expected first heading
parsechangelog/debian: error: fatal error occured while parsing input
dpkg-genchanges: error: changelog parser /usr/lib/dpkg/parsechangelog/debian gave error exit status 255
Probably I'm missing something in debian/changelog:

Code: Select all

gnome-ksnapshot (1.0) unstable

  * first release

 --pinco pallino <ororo@email.it>  Sun, 06 May 2012 10:09:44 +0200
Thank you for your help.
Last edited by ororo on 2012-05-06 14:28, edited 1 time in total.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: problems with dpkg-genchanges

#2 Post by vbrummond »

I only know how to modify a changelog; Though the command dch is what I use. Try the man page for more info until someone who does create packages from scratch can post.

Code: Select all

man dch
Always on Debian Testing

ororo
Posts: 3
Joined: 2012-05-06 08:15

Re: problems with dpkg-genchanges

#3 Post by ororo »

Thank you!
Maybe there are also similar tools that help creating debian/control and debian/files ?

ororo
Posts: 3
Joined: 2012-05-06 08:15

Re: problems with dpkg-genchanges

#4 Post by ororo »

Anyway, its easy to write debian/control by hand. dpkg-buildpackage creates most of the other stuff. So - for me - this is solved.

jiapei100
Posts: 4
Joined: 2011-05-30 19:04
Location: Richmond, Canada

Re: problems with dpkg-genchanges

#5 Post by jiapei100 »

Hi, can you please clarify how did you solve the problem?


ororo wrote:Anyway, its easy to write debian/control by hand. dpkg-buildpackage creates most of the other stuff. So - for me - this is solved.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: problems with dpkg-genchanges [solved]

#6 Post by stevepusser »

The parser is very picky about the changelog files. A typo or an extra space between the maintainer's email address and the date will cause trouble, for example (has to be two spaces) The error message says it could a problem on line 19, which the OP did not provide.
MX Linux packager and developer

Post Reply