Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in debian/changelog preventing .deb building #17

Closed
pythonian4000 opened this issue Jul 15, 2013 · 6 comments
Closed

Error in debian/changelog preventing .deb building #17

pythonian4000 opened this issue Jul 15, 2013 · 6 comments

Comments

@pythonian4000
Copy link

Trying to build a .deb file on Xubuntu (after having divined out the required -dev packages that needed to be installed), I encountered the following during the dpkg-buildpackage -B -nc step of make deb:

parsechangelog/debian: warning: debian/changelog(l5): badly formatted trailer line LINE: -- Dan Fruehauf <malkodan@gmail.com> Sat, Jul 06 2013 00:00:00 +1000 parsechangelog/debian: warning: debian/changelog(l7): found start of entry where expected more change data or trailer LINE: network-manager-ssh (0.9.0-0ubuntu2) precise; urgency=low parsechangelog/debian: warning: debian/changelog(l7): found eof where expected more change data or trailer dpkg-buildpackage: source package network-manager-ssh dpkg-buildpackage: source version 0.9.1-0ubuntu2 dpkg-buildpackage: error: unable to determine source changed by make: *** [deb] Error 255

To fix this, I reversed the day and month on line 5, i.e.
-- Dan Fruehauf <malkodan@gmail.com> Sat, 06 Jul 2013 00:00:00 +1000

Looking at the rest of the changelog, it appears that your dates switch from DAY MONTH to MONTH DAY partway through. I only had to change the latest entry to get the build to progress.

@pythonian4000
Copy link
Author

I do get warnings about the other lines being incorrect (or at least, a specific warning about the next incorrect line) later on in building. Swapping all lines to DAY MONTH stops the warnings.

@danfruehauf
Copy link
Owner

How slack of me. Fixed, let me know if it doesn't work.

@danfruehauf
Copy link
Owner

9417272

Just tested it on ubuntu 12.10 and it looks alright. Hope it works for you and please let me know if it doesn't...

@pythonian4000
Copy link
Author

I deleted my local repo (make clean doesn't seem to clear out everything) and cloned again; the .deb files now build with your changes (I do get an error, but it's about being unable to sign files because your key is missing - the files themselves are still created).

@danfruehauf
Copy link
Owner

Jack, thanks for putting time into that. Again, I apologize for things not building out of the box on Ubuntu/Debian as promised - but as you can see I'm trying my best.

About not signing the file - well, I'd like at some point to have someone maintain a package on Debian and Ubuntu for NetworkManager-ssh, I think everybody would benefit from it. However since I'm not using Debian/Ubuntu on a daily basis I think it'd be rather wrong if I do it.

Please however provide me with more feedback, I'm very attentive and still committing code, adding features all the time.

@pythonian4000
Copy link
Author

No problem!

Re: signing - perhaps it is possible to disable signing within the "make deb" somewhere so that it builds unsigned files by default? And then have a different make option for making a release version.

Re: more feedback, I'll keep posting issues as I have them :) I had my own Bash scripts doing something similar using badvpn-tun2socks and ssh -D, but this would be a much simpler and robust way to run things (assuming I get it working!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants