Your message dated Tue, 10 Nov 2009 02:42:22 -0800
with message-id <20091110104222.ga12...@dario.dodds.net>
and subject line Re: Bug#555514: cln: FTBFS with g++ 4.4
has caused the Debian Bug report #555514,
regarding cln: FTBFS with g++ 4.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
555514: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555514
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cln
Version: 1.3.1-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hi Richard,

The cln package fails to build with g++ 4.4, because the cstdio header
needed by various source files is now no longer being included
behind-the-scenes and needs to be included explicitly.  The package has been
patched in Ubuntu to address this; please find the patch attached.

Here's the accompanying changelog entry for the change:
  * Add build-dependency on quilt.
  * debian/patches/eof_decl.patch: include cstdio when we need EOF, instead
    of expecting it to be defined for us.
  * Fix bogus clean rule that nuked my debian/patches directory right after
    I created it.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -u cln-1.3.1/debian/control cln-1.3.1/debian/control
--- cln-1.3.1/debian/control
+++ cln-1.3.1/debian/control
@@ -2,7 +2,7 @@
 Section: math
 Priority: optional
 Maintainer: Richard Kreckel <krec...@ginac.de>
-Build-Depends: debhelper, libgmp3-dev, texinfo
+Build-Depends: debhelper, libgmp3-dev, texinfo, quilt (>= 0.40)
 Standards-Version: 3.8.3
 Homepage: http://www.ginac.de/CLN/
 
diff -u cln-1.3.1/debian/rules cln-1.3.1/debian/rules
--- cln-1.3.1/debian/rules
+++ cln-1.3.1/debian/rules
@@ -1,11 +1,13 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 package=cln
 
 version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
 version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
 
-build:
+build: patch
 	dh_testdir
 	./configure --prefix=/usr `dpkg-architecture -qDEB_HOST_GNU_TYPE`
 	# * ARM: CLN's assembler support is not working properly (it was only
@@ -25,15 +27,12 @@
 	(cd doc; ${MAKE} cln.html)
 	touch build
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_clean
 	-rm -f build
 	[ ! -f Makefile ] || ${MAKE} distclean
 	-rm -f `find . -name "*~"`
-	-rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
-	-rm -rf debian/.libs debian/*.o
-	-rm -f debian/*substvars
 
 binary-indep: build
 	dh_testdir
diff -u cln-1.3.1/debian/changelog cln-1.3.1/debian/changelog
only in patch2:
unchanged:
--- cln-1.3.1.orig/debian/patches/series
+++ cln-1.3.1/debian/patches/series
@@ -0,0 +1 @@
+eof_decl.patch
only in patch2:
unchanged:
--- cln-1.3.1.orig/debian/patches/eof_decl.patch
+++ cln-1.3.1/debian/patches/eof_decl.patch
@@ -0,0 +1,60 @@
+Index: cln/src/base/string/input/cl_st_get1.cc
+===================================================================
+--- cln.orig/src/base/string/input/cl_st_get1.cc
++++ cln/src/base/string/input/cl_st_get1.cc
+@@ -9,6 +9,7 @@
+ 
+ // Implementation.
+ 
++#include <cstdio>
+ #include "cln/io.h"
+ #include "base/string/cl_spushstring.h"
+ 
+Index: cln/src/base/string/input/cl_st_get2.cc
+===================================================================
+--- cln.orig/src/base/string/input/cl_st_get2.cc
++++ cln/src/base/string/input/cl_st_get2.cc
+@@ -9,6 +9,7 @@
+ 
+ // Implementation.
+ 
++#include <cstdio>
+ #include "cln/io.h"
+ #include "base/string/cl_spushstring.h"
+ 
+Index: cln/src/base/string/input/cl_st_getline1.cc
+===================================================================
+--- cln.orig/src/base/string/input/cl_st_getline1.cc
++++ cln/src/base/string/input/cl_st_getline1.cc
+@@ -9,6 +9,7 @@
+ 
+ // Implementation.
+ 
++#include <cstdio>
+ #include "cln/io.h"
+ #include "base/string/cl_spushstring.h"
+ 
+Index: cln/src/base/string/input/cl_st_getline2.cc
+===================================================================
+--- cln.orig/src/base/string/input/cl_st_getline2.cc
++++ cln/src/base/string/input/cl_st_getline2.cc
+@@ -9,6 +9,7 @@
+ 
+ // Implementation.
+ 
++#include <cstdio>
+ #include "cln/io.h"
+ #include "base/string/cl_spushstring.h"
+ 
+Index: cln/src/base/string/input/cl_st_gettoken.cc
+===================================================================
+--- cln.orig/src/base/string/input/cl_st_gettoken.cc
++++ cln/src/base/string/input/cl_st_gettoken.cc
+@@ -12,6 +12,7 @@
+ #include "cln/io.h"
+ #include "base/string/cl_spushstring.h"
+ #include <cctype>
++#include <cstdio>
+ 
+ namespace cln {
+ 

--- End Message ---
--- Begin Message ---
Hi Richard,

On Tue, Nov 10, 2009 at 11:06:32AM +0100, Richard B. Kreckel wrote:
> That breakage has been fixed upstream months ago in release 1.3.0.
> And, over here, CLN compiles fine using GCC-4.4. I suppose you
> listed the wrong package version?

> Please check again and consider closing this bug if it was a mistake.

Oops, sorry about that - I was forward-porting a patch applied to cln 1.2.2
in Ubuntu 9.10, and I verified that it still applied but didn't verify that
it was actually needed for a successful build.  Closing the bug, will drop
this change in the next Ubuntu upload.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to