Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I found this video on youtube:
http://www.youtube.com/watch?v=nhoRyd2CEVs

I followed it step by step just with my own files and i thought i understood everything but when i was done and wrote this command

fakeroot dpkg-buildpackage -F


i got this error:

dpkg-buildpackage: source package not-pacman
dpkg-buildpackage: source version 1.0-1
dpkg-buildpackage: source changed by Jeggy <jeggy@jebster.net>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build not-pacman
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
dh_clean
 dpkg-source -b not-pacman
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building not-pacman using existing ./not-pacman_1.0.orig.tar.gz
dpkg-source: warning: ignoring deletion of file not_pacman.love
dpkg-source: warning: ignoring deletion of file not_pacman.png
dpkg-source: warning: ignoring deletion of file Not Pacman.desktop
dpkg-source: error: cannot represent change to not-pacman.love: binary file contents changed
dpkg-source: error: add not-pacman.love in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to not-pacman.png: binary file contents changed
dpkg-source: error: add not-pacman.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: warning: executable mode 0777 of 'not-pacman.desktop' will not be represented in diff
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b not-pacman gave error exit status 2

Here are my files, i compressed it into a .tar.gz file

PS. I have never created a .deb file before.

share|improve this question
    
What guide makes you run the fakeroot dpkg-buildpackage hook yourself? This is not a recommended way. As I mentioned in your other question, use the official packaging guide. It will let you use debuild instead. debuild will call this hook for you among various others. –  gertvdijk Jan 16 '13 at 16:15
    
I am trying to follow that guide but my problem is i don't have a tarball(.tar.gz), i only have 3 files(a icon, a .desktop file and the game which is a .love file) –  Jeggy Jan 16 '13 at 16:52
    
Again: you should follow the official guide. Random Youtube videos are not what you're looking for. I could help you, but you'll have to provide more information: 1) How to build the .love file? 2) Where do you want it to be installed to be able to work with "Love"? 3) Provide more general information about what you're developing. I'm not familiar with "Love". 4) To what extent is your current debian/ directory correct? E.g. Licence, build depends (obviously not), etc. 5) What steps have you taken to get here? (i.e. what have you tried?) Extracting steps from 40+ minute video is not nice. –  gertvdijk Jan 16 '13 at 17:04
    
The problem here was that a binary that came in the source was modified during the build. Either that needs to be un-done in the clean rule, or the binary should be deleted, and re-created from source during the build. –  tumbleweed Jan 18 '13 at 20:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.