c++ - What is changelog.Debian.gz file during debian packaging? -


while packaging encountered following error

dh_builddeb dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'.  dpkg-source -b remotedevicecontroller-1.0 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: error: unwanted binary file: debian/remotedevicecontroller/usr/share/doc/remotedevicecontroller/changelog.debian.gz dpkg-source: error: detected 1 unwanted binary file (add in debian/source/include-binaries allow inclusion). dpkg-buildpackage: error: dpkg-source -b remotedevicecontroller-1.0 gave error exit status 29 

why file being created debian-helper , why again asking include in other directory?

when packing in debian, inside project directory there's directory named debian, keep files regarding instructions of how pack software, relations other packages, etc. can call package control files. among them, there's 1 called changelog, looks this:

mypackage (version-revision) unstable; urgency=low    * changelog messages   -- name <your@email.com>  mon, 13 aug 2012 14:09:01 -0300  (...) 

this file used packaging software (dpkg-buildpackage) know name , version of package. has info mantainer, changelogs, etc. after build package , install it, file located @ /usr/share/doc/mypackage/changelog.debian.gz compressed in gzip format. can check contents decompressing it, or using zcat command.

now, problem you're having file, once compressed, considered binary, , binaries added in debian/source/include-binaries allowed in source package, built dpkg-source.

to solve problem, want remove file changelog.debian.gz source package, since replaced changelog file inside debian folder anyways. if you're "repacking" something, , think there might updated changelog information in file want keep, should compare information have in debian/changelog.

edits:

*typo: remove (not remote)

*some clarifications


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -