maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   dpkg-source: unrepresentable changes to source (https://talk.maemo.org/showthread.php?t=52808)

jlu 2010-05-16 13:49

dpkg-source: unrepresentable changes to source
 
Hi all,

I am trying to make a debian package of gpscorrelate. I made the debianization using dh_make and I am able to build installable binary packages. However, I am not able to build the source package to upload it to the autobuilder. I am using the following command to generate the source package as suggested by the extras assistant

Code:

dpkg-buildpackage -rfakeroot -sA -S
The output lines in question are

Code:

dpkg-source: cannot represent change to icons/48x48/gpscorrelate-gui.png: binary file contents changed
dpkg-source: cannot represent change to icons/scalable/gpscorrelate-gui.png: binary file contents changed
dpkg-source: cannot represent change to icons/26x26/gpscorrelate-gui.png: binary file contents changed
dpkg-source: cannot represent change to icons/40x40/gpscorrelate-gui.png: binary file contents changed
dpkg-source: building gpscorrelate in gpscorrelate_1.6.1-1maemo1.dsc
dpkg-source: unrepresentable changes to source

These icon files are added by me. If I remove the icons directory (or just the png files), there is no problem. Googling for the "unrepresentable changes to source" gives some hints that this would have something to do with improperly making clean (usually has something to do with version control files etc.)

However, if I make the source package using

Code:

dpkg-buildpackage -rfakeroot -sn -S
the source package is generated (of course, it is not diffing to the original source).

Can I upload the source to autobuilder like this or is it considered unethical or something to not to include the original source in the source package?

qwerty12 2010-05-16 13:51

Re: dpkg-source: unrepresentable changes to source
 
If you want to go the diff route, the "usual" trick is to uuencode the images and uudecode the images in the install target in debian/rules.

There may be an easier way, however.

jlu 2010-05-17 18:58

Re: dpkg-source: unrepresentable changes to source
 
Quote:

Originally Posted by qwerty12 (Post 660831)
If you want to go the diff route, the "usual" trick is to uuencode the images and uudecode the images in the install target in debian/rules.

This should do the trick, thanks. I'll have to play around with my debin/rules since there are two packages built and I am getting the icons into the wrong package. I am not sure how I should put the icon files into the .install file of the other package. Learning all the time...


All times are GMT. The time now is 03:25.

vBulletin® Version 3.8.8