← Back to team overview

launchpad-users team mailing list archive

backportpackage: "the current version" "is earlier than the previous one"

 

Hey guys!

I'm building my own Ubuntu PPA but the command "backportpackage" is doing
something wrong, I think... It doesn't "bumb +1" from original package
version.

Like this:

---
tmartins@builder-1:~/backports/btrfs-tools$ *backportpackage -B
pbuilder-dist -b -s utopic -d trusty -u ppa:martinx/ig -w . btrfs-tools*


backportpackage: Downloading btrfs-tools_3.14.1.orig.tar.xz from
archive.ubuntu.com (0.259 MiB)
backportpackage: Downloading btrfs-tools_3.14.1-1.debian.tar.xz from
archive.ubuntu.com (0.010 MiB)
dpkg-source: info: extracting btrfs-tools in btrfs-tools-trusty
dpkg-source: info: unpacking btrfs-tools_3.14.1.orig.tar.xz
dpkg-source: info: unpacking btrfs-tools_3.14.1-1.debian.tar.xz
dpkg-source: info: applying
0001-Properly-cast-to-avoid-compiler-warnings-fixes-FTBFS.patch
dpkg-source: info: applying 0002-Fixes-FTBFS-with-no-add-needed.patch
dpkg-source: info: applying 0003-Fixing-unaligned-memory-accesses.patch
dpkg-source: info: applying 0004-Default-to-acting-like-fsck.patch
dpkg-source: info: applying
0005-Update-references-to-btrfs-tools-instead-of-btrfs-pr.patch
*dch warning: new version (3.14.1-1~ubuntu14.04.1~ppa1) is less than*
*the current version number (3.14.1-1).*
 dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sa -v3.12-1
dpkg-buildpackage: source package btrfs-tools
dpkg-buildpackage: source version 3.14.1-1~ubuntu14.04.1~ppa1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by Thiago Martins <tmartins@xxxxxxxxxxxxx>
 dpkg-source --before-build btrfs-tools-trusty
dpkg-source: info: using options from
btrfs-tools-trusty/debian/source/options: --compression=xz
--compression-level=9
dpkg-buildpackage: warning: building a source package without cleaning up
as you asked; it might contain undesired files
 dpkg-source -b btrfs-tools-trusty
dpkg-source: info: using options from
btrfs-tools-trusty/debian/source/options: --compression=xz
--compression-level=9
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 btrfs-tools using existing
./btrfs-tools_3.14.1.orig.tar.xz
dpkg-source: info: building btrfs-tools in
btrfs-tools_3.14.1-1~ubuntu14.04.1~ppa1.debian.tar.xz
dpkg-source: info: building btrfs-tools in
btrfs-tools_3.14.1-1~ubuntu14.04.1~ppa1.dsc
 dpkg-genchanges -S -sa -v3.12-1
>../btrfs-tools_3.14.1-1~ubuntu14.04.1~ppa1_source.changes
*dpkg-genchanges: warning: the current version
(3.14.1-1~ubuntu14.04.1~ppa1) is earlier than the previous one (3.14.1-1)*
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build btrfs-tools-trusty
dpkg-source: info: using options from
btrfs-tools-trusty/debian/source/options: --compression=xz
--compression-level=9
dpkg-buildpackage: full upload (original source is included)
---

I would like to backport "btrfs-tools" like this: "3.14.1-2", and not this
"3.14.1-1~ubuntu14.04.1~ppa1" that "backportpackage" configure by default.
How can I change this?!

I tried to append "-S 2" to the "backportpackage" command but, it did not
worked the way I was expecting...

Any tips?! Workarounds?

BTW, please, forgive me if this isn't the best list to ask this question, I
can re-post it elsewhere, no problem...

Thanks in advance!

Best,
Thiago

Follow ups