[Bug 374543] Re: New upstream release qtiplot 0.9.7.8

Scott Howard showard314 at gmail.com
Sun Sep 20 21:13:28 UTC 2009


Some problems need to be fixed before the sync [1] (see below). We can
wait for debian do fix it, or we could do a quick Ubuntu patch and then
sync when Debian gets it. If I have time later, I'll try to get a ppa up
and a merge proposal for Ubuntu with the patch.


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547273


Package: qtiplot
Version: 0.9.7.8-1
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4 for two reasons:

1. GCC 4.4 has cleaned up some more C++ headers.  You always have to
#include headers directly and cannot rely for things to be included
indirectly.

2. you're using a #elif without any condition when you really want a
#else.

You can reproduce this problem with gcc-4.4/g++-4.4 from unstable.

> Automatic build of qtiplot_0.9.7.8-1 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -fno-exceptions -g -fPIC -D_REENTRANT -Wall -W -DGL2PS_HAVE_LIBPNG -DGL2PS_HAVE_ZLIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Iinclude -I/usr/X11R6/include -Itmp -o tmp/qwt3d_function.o src/qwt3d_function.cpp
> src/qwt3d_function.cpp: In member function 'virtual bool Qwt3D::Function::create()':
> src/qwt3d_function.cpp:80: error: 'stderr' was not declared in this scope
> src/qwt3d_function.cpp:80: error: 'fprintf' was not declared in this scope
> make[2]: *** [tmp/qwt3d_function.o] Error 1
> make[2]: Leaving directory `/build/tbm/qtiplot-0.9.7.8/3rdparty/qwtplot3d'
> make[1]: *** [sub-3rdparty-qwtplot3d-make_default] Error 2
> make[1]: Leaving directory `/build/tbm/qtiplot-0.9.7.8'

and:

> src/scripting/ScriptEdit.cpp:295:6: error: #elif with no expression

--- qtiplot/src/scripting/ScriptEdit.cpp~	2009-09-18 08:15:25.000000000 +0000
+++ qtiplot/src/scripting/ScriptEdit.cpp	2009-09-18 08:15:34.000000000 +0000
@@ -292,7 +292,7 @@
 	console->setPlainText(err);
 	if (!console->isVisible())
 		((QDockWidget *)console->parent())->show();
-#elif
+#else
 	int start = printCursor.position();
 	printCursor.insertText(err);
 	printCursor.setPosition(start, QTextCursor::KeepAnchor);
--- 3rdparty/qwtplot3d/src/qwt3d_function.cpp~	2009-09-18 07:50:47.000000000 +0000
+++ 3rdparty/qwtplot3d/src/qwt3d_function.cpp	2009-09-18 07:51:11.000000000 +0000
@@ -1,5 +1,6 @@
 #include "qwt3d_surfaceplot.h"
 #include "qwt3d_function.h"
+#include <cstdio>
 
 using namespace Qwt3D;
 

-- 
Martin Michlmayr
http://www.cyrius.com/


** Bug watch added: Debian Bug tracker #547273
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547273

** Changed in: qtiplot (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: qtiplot (Ubuntu)
       Status: New => Incomplete

** Changed in: qtiplot (Debian)
   Importance: Undecided => Unknown

** Changed in: qtiplot (Debian)
       Status: Fix Released => Unknown

** Changed in: qtiplot (Debian)
 Remote watch: None => Debian Bug tracker #547273

-- 
New upstream release qtiplot 0.9.7.8
https://bugs.launchpad.net/bugs/374543
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list