#277 Issue closed: Debian wheezy: make deb is FTBFS

Labels: enhancement, discuss / RFC

matsimon opened issue at 2013-07-12 09:51:

Debian wheezy both latest 1.14 as well as current master (12 July 2013) fail to build a debian package with something mourning about FTBFS due to outdated debhelper required (4).

Bumping to 5 seems to make the build working.
I propose to up the required debhelper version to 8.0 which is what currently old-stable (squeeze) requires since lenny has been EoL since 02.2012.

I'd say that this is kind of a hack, but at least it leads to a buildable package that can be tested. :-)

matsimon commented at 2013-07-12 09:58:

OK, I hope this works up for you too I change the following things to get a package:

dch wasn't happy about the changelog, I added Dag as commiter - the
date and time is from git logs - hope that's ok:

diff --git a/packaging/debian/changelog b/packaging/debian/changelog
index 1c09700..a798ef6 100644
--- a/packaging/debian/changelog
+++ b/packaging/debian/changelog
@@ -1,6 +1,8 @@
-rear (1.14-1) stable; urgency=high
+rear (1.14.0-1) stable; urgency=high

-  * majpr bugfixes
+  * Major bugfixes
+
+ -- Dag Wieers <dag@wieers.com>  Wed, 19 Sep 2012 22:42:42 +0200

This is more cosmetical but it doesn't like anymore the "Essential: no" statement during build -
since according to their packaging doc not writing results same:

diff --git a/packaging/debian/control b/packaging/debian/control
index 58fb0b1..fb4de33 100644
--- a/packaging/debian/control
+++ b/packaging/debian/control
@@ -1,7 +1,6 @@
 Source: rear
 Section: misc
 Priority: optional
-Essential: no
 Maintainer: Dag Wieers <dag@wieers.com>
 Homepage: http://relax-and-recover.org/

Minor too, but I guess it's time to bump he required debhelper version - not to high, but at least oldstable before it fires back once in the future:

diff --git a/packaging/debian/rear.dsc b/packaging/debian/rear.dsc
index 9ceb20f..2154ac4 100644
--- a/packaging/debian/rear.dsc
+++ b/packaging/debian/rear.dsc
@@ -4,6 +4,6 @@ Version: 1.14
 Binary: rear
 Maintainer: Dag Wieers <dag@wieers.com>
 Architecture: all
-Build-Depends: debhelper (>= 4.1.16)
+Build-Depends: debhelper (>= 8.0.0)

And finally the one line that made things build:

diff --git a/packaging/debian/rules b/packaging/debian/rules
index 7099ed7..2d57e78 100644
--- a/packaging/debian/rules
+++ b/packaging/debian/rules
@@ -6,7 +6,7 @@
 #export DH_VERBOSE=1

 # This is the debhelper compatibility version to use.
-export DH_COMPAT=4
+export DH_COMPAT=5

gdha commented at 2013-10-11 12:08:

@matsimon did some change - could you double check please?

matsimon commented at 2013-10-14 17:08:

Hi @gdha, great, thanks I checked your changes with master (@ dd6de631371adc6bf5f4980485830ebe7d6d59c6)

Yes I can now build master on wheezy without issues, cool. For those who don't want to build on their own - could you include building on wheezy on the open build service? (currently only builds for squeeze)

Finally - more of a communication issue - is 1.15 definitely out?
There are changelogs on the project page, but I don't see a release tag or branch thus I'm asking :-)

gdha commented at 2013-10-15 11:16:

There is an official branch 'rear-1.15' and a tag also (if I'm not mistaken).
PS: OBS should be ok now... thx for bringing to my attention

matsimon commented at 2013-10-15 15:31:

You're right, I should apply a patch on "how to read the github interface" ;-)
Thanks for OBS, great!


[Export of Github issue for rear/rear.]