Off-topic: Issues with building Ubuntu packages

Oliver Grawert ogra at ubuntu.com
Wed Aug 12 08:43:23 UTC 2015


hi,
Am Dienstag, den 11.08.2015, 21:54 +0200 schrieb silver.bullet at zoho.com:

> apt-get source foo
> sudo apt-get build-dep foo
> mv foo-package-version-old/ foo-upstream-replacment-version
> wget ftp://foo-upstream-replacment-version.tar
> tar xf foo-upstream-replacment-version.tar
> cd foo-upstream-replacment-version
> nano debian/changelog
try dch -i for this step, it automatically creates the version line and
timestamp and does syntax checks when saving.

> libtoolize --force --copy --automake
> aclocal
> autoreconf
are you sure the autotools dance is needed ? sane packages usually use
something like dh_autotools-dev to do all the steps above from
debian/rules when you run debuild

> debuild -b -us -uc
> sudo dpkg -i ../*foo*.deb
> sudo apt-get install -f
> 
...
> This worked when using my script too, but something failed, since libfm
> behaves as usual and not as the fixed version should work. It's not the
> code from upstream, since I could build packages for Arch that provide
> a working new libfm.
does arch use the same toolchain and does it have the same versions of
all the build dependencies ? (else you are not comparing apples to
apples)

ciao
	oli





More information about the ubuntu-users mailing list