Debuild fails to make package for bluelog-1.04

Posted by Dean Howell on Ask Ubuntu See other posts from Ask Ubuntu or by Dean Howell
Published on 2012-07-08T15:19:32Z Indexed on 2012/07/08 15:22 UTC
Read the original article Hit count: 460

Filed under:

When trying to build a package for bluelog, Debuild give several errors. In the past, I've used checkinstall to quickly build crude packages. I am now trying to do it the right way and upload to a PPA.

Bluelog can be found here: http://www.digifail.com/software/bluelog.shtml

Here is the output from debuild;

    dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package bluelog
dpkg-buildpackage: source version 1.0.4-0ubuntu1
dpkg-buildpackage: source changed by Dean Howell <dean@unknown>
 dpkg-source --before-build bluelog
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
make[1]: Entering directory `/home/dean/Launchpad Builds/bluelog/bluelog'
rm -rf bluelog www/cgi-bin/* *.o *.txt *.log *.gz *.cgi
make[1]: Leaving directory `/home/dean/Launchpad Builds/bluelog/bluelog'
   dh_clean
 dpkg-source -b bluelog
dpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building bluelog using existing ./bluelog_1.0.4.orig.tar.gz
dpkg-source: error: cannot represent change to bluelog/Builds/bluelog/bluelog/debian/bluelog/usr/bin/bluelog: binary file contents changed
dpkg-source: error: add Builds/bluelog/bluelog/debian/bluelog/usr/bin/bluelog in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b bluelog gave error exit status 2

© Ask Ubuntu or respective owner

Related posts about packaging