[SERVER-1644] CLONE -debian changelog malformed Created: 20/Aug/10  Updated: 12/Jul/16  Resolved: 20/Aug/10

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 1.5.1
Fix Version/s: 1.6.2

Type: Bug Priority: Major - P3
Reporter: Matthias Witte Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu Lucid, Ubuntu Hardy


Participants:

 Description   

The file debian/changelog, both in head and 1.5.1 has a malformed line. The packages will probably not build on any Debian system, but I've only tested Ubuntu Lucid and Hardy.

Fix is simple, change the line:
– Richard Kreuter <richard@10gen.com> Wed, 22 3 May 2010 16:56:28 -0500
To:
– Richard Kreuter <richard@10gen.com> Wed, 3 May 2010 16:56:28 -0500

Here's the log:
$ debuild
parsechangelog/debian: warning: debian/changelog(l5): badly formatted trailer line
LINE: – Richard Kreuter <richard@10gen.com> Wed, 22 3 May 2010 16:56:28 -0500
parsechangelog/debian: warning: debian/changelog(l7): found start of entry where expected more change data or trailer
LINE: mongodb (1.5.0) unstable; urgency=low
parsechangelog/debian: warning: debian/changelog(l7): found eof where expected more change data or trailer
dpkg-buildpackage -rfakeroot -D -us -uc



 Comments   
Comment by Eliot Horowitz (Inactive) [ 20/Aug/10 ]

Can you try with the HEAD of the v1.6 branch now

Comment by Matthias Witte [ 20/Aug/10 ]

I'd like to reopen this issue since the 1.6.0 and 1.6.1 changelog contain consistently broken debian
changelogs.

Beginning with release 1.5.8 the maintainer line for each changelog stanza is missing.

Additionally the package line for the 1.6.1 release still uses the 1.6.0 version number.

I'd like to suggest using 'dch' from the debian package 'devscripts' to maintain the debian changelog.

This would work as follows:

for a new release:

foo@bar: packagetopdir$ dch -i "New release"

Adding changelog entries to this release:

foo@bar: packagetopdir$ dch -a "fixed baz"

We have a build system where we use git-buildpackage to track the 10gen releases and upload packages
into our company's dev, stage and live repository.

With a 'debian/watch' file containing:

version=3

opts="filenamemangle=s/.*r(1\.\d.\d+)/mongodb-$1.tar.gz/" \
http://github.com/mongodb/mongo/downloads \
/mongodb/mongo/tarball/r(\d\.\d+\.\d+) \
debian git-import-orig

this is just a matter of running 'uscan' in 'packagetopdir' and we would be ready for a new build. The broken
changelogs break this process.

Generated at Thu Feb 08 02:57:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.