Hi,

found out the reason: the upstream tarball contains a config.h in src. The
out-of-tree invocation of configure produces a new config.h in the build-tree.
However the one in src get's picked up first by the compiler.

Simple fix: remove src/config.h prior to calling configure, trivial patch
attached.

I've also created an upstream bugreport at 
<http://sourceforge.net/tracker/?func=detail&aid=3374212&group_id=215888&atid=1035482>

Cheers,
    Stefan.
diff -u rakarrack-0.6.1/debian/rules rakarrack-0.6.1/debian/rules
--- rakarrack-0.6.1/debian/rules
+++ rakarrack-0.6.1/debian/rules
@@ -50,6 +50,7 @@
 %/config.status: configure
 	dh_testdir
 	mkdir -p $*
+	$(RM) src/config.h
 	cd $* && ../configure --host=$(DEB_HOST_GNU_TYPE)	\
 			      --build=$(DEB_BUILD_GNU_TYPE)	\
 			      --prefix=/usr			\
diff -u rakarrack-0.6.1/debian/changelog rakarrack-0.6.1/debian/changelog
--- rakarrack-0.6.1/debian/changelog
+++ rakarrack-0.6.1/debian/changelog
@@ -1,3 +1,12 @@
+rakarrack (0.6.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: Remove src/config.h before the invocation of configure.
+    Since configure is called out-of-tree, the upstream provided config.h
+    is used instead of the freshly created config.h. (Closes: #632149).
+
+ -- Stefan Potyra <sistp...@ubuntu.com>  Thu, 21 Jul 2011 22:19:44 +0200
+
 rakarrack (0.6.1-2) unstable; urgency=low
 
   * Adding support for x86 CPUs with no support for sse2 instructions.

Attachment: signature.asc
Description: Digital signature

Reply via email to