Your message dated Wed, 16 May 2012 06:33:38 +0000
with message-id <[email protected]>
and subject line Bug#662702: fixed in libqglviewer 2.3.4-4.1
has caused the Debian Bug report #662702,
regarding libqglviewer: FTBFS against Qt 4.8
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 [email protected]
immediately.)
--
662702: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662702
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libqglviewer
Version: 2.3.4-4
User: [email protected]
Usertags: qt48-transition
Hi,
Your package fails to build against Qt 4.8 which is currently in experimental.
The transition to unstable/testing is tracked in bug #653903.
I'm attaching a patch that contains the necessary changes.
It should be applied once Qt 4.8 enters unstable.
Build log:
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB
> -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/X11R6/include -I.moc -I. -o
.obj/qglviewer.o
qglviewer.cpp
> qglviewer.cpp: In member function 'virtual void QGLViewer::drawLight(GLenum,
> float) const':
> qglviewer.cpp:768:9: error: 'GLUquadric' does not name a type
> qglviewer.cpp:800:17: error: 'quadric' was not declared in this scope
> qglviewer.cpp:800:122: error: 'gluCylinder' was not declared in this scope
> qglviewer.cpp:803:15: error: 'quadric' was not declared in this scope
> qglviewer.cpp:803:42: error: 'gluSphere' was not declared in this scope
> qglviewer.cpp: In member function 'virtual void
> QGLViewer::beginSelection(const QPoint&)':
> qglviewer.cpp:1265:89: error: 'gluPickMatrix' was not declared in this scope
> qglviewer.cpp: In static member function 'static void
> QGLViewer::drawArrow(float, float, int)':
> qglviewer.cpp:3379:9: error: 'GLUquadric' does not name a type
> qglviewer.cpp:3387:14: error: 'quadric' was not declared in this scope
> qglviewer.cpp:3387:94: error: 'gluCylinder' was not declared in this scope
> make[1]: *** [.obj/qglviewer.o] Error 1
> make[1]: Leaving directory `/tmp/buildd/libqglviewer-2.3.4/qglviewer-qt4'
> make: *** [build-stamp] Error 2
Regards,
Felix
diff -u libqglviewer-2.3.4/debian/changelog libqglviewer-2.3.4/debian/changelog
--- libqglviewer-2.3.4/debian/changelog
+++ libqglviewer-2.3.4/debian/changelog
@@ -1,3 +1,16 @@
+libqglviewer (2.3.4-5) unstable; urgency=low
+
+ [ Daniel T Chen ]
+ * debian/rules: Use Qt4 multiarch lib path. Fixes FTBFS.
+
+ [ Felix Geyer ]
+ * Add 04glu-include.dpatch to fix FTBFS with Qt 4.8.
+ * Add 05glu-link.dpatch to make libqglviewer-qt4 link against libGLU.
+ * Add Pre-Depends: ${misc:Pre-Depends} to libqglviewer-qt4-2.
+ * Mark libqglviewer-qt4-2 as Multi-Arch: same.
+
+ -- Felix Geyer <[email protected]> Mon, 05 Mar 2012 22:06:25 +0100
+
libqglviewer (2.3.4-4) unstable; urgency=high
* reupload with high urgency
diff -u libqglviewer-2.3.4/debian/control libqglviewer-2.3.4/debian/control
--- libqglviewer-2.3.4/debian/control
+++ libqglviewer-2.3.4/debian/control
@@ -5,7 +5,7 @@
DM-Upload-Allowed: yes
Homepage: http://www.libqglviewer.com/
Standards-Version: 3.8.3
-Build-Depends: debhelper (>= 7), libqt3-mt-dev, libqt4-dev, libqt4-opengl-dev,
dpatch
+Build-Depends: debhelper (>= 8.1.3~), libqt3-mt-dev, libqt4-dev (>= 4:4.8.0~),
libqt4-opengl-dev (>= 4:4.8.0~), dpatch
Package: libqglviewer-dev-common
Section: libdevel
@@ -83,6 +83,8 @@
Package: libqglviewer-qt4-2
Section: libs
Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: an OpenGL 3D viewer library based on Qt - runtime library
libqglviewer (also known as libQGLViewer) is a free C++ library based on Qt
diff -u libqglviewer-2.3.4/debian/rules libqglviewer-2.3.4/debian/rules
--- libqglviewer-2.3.4/debian/rules
+++ libqglviewer-2.3.4/debian/rules
@@ -22,6 +22,8 @@
INSTALL_PROGRAM += -s
endif
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
version:=$(shell dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:
//' -e 's/-.*$$//')
ver2:=$(shell echo $(version) | cut -d. -f-2)
major:=$(shell echo $(version) | cut -d. -f1)
@@ -76,13 +78,13 @@
cd qglviewer-qt4 && $(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp
cd designerPlugin-qt4 && $(MAKE) install
INSTALL_ROOT=$(CURDIR)/debian/tmp
- mkdir -p debian/libqglviewer-qt4-2/usr/lib
debian/libqglviewer-qt4-dev/usr/lib/qt4/plugins/designer
+ mkdir -p debian/libqglviewer-qt4-2/usr/lib/$(DEB_HOST_MULTIARCH)
debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/designer
- cp -d debian/tmp/usr/lib/*.so.* debian/libqglviewer-qt4-2/usr/lib
- cp -d qglviewer-qt4/libqglviewer-qt4.a
debian/libqglviewer-qt4-dev/usr/lib
- cp -d debian/tmp/usr/lib/*.so debian/libqglviewer-qt4-dev/usr/lib
- cp -d debian/tmp/usr/lib/*.prl debian/libqglviewer-qt4-dev/usr/lib
- cp -d debian/tmp/usr/lib/qt4/plugins/designer/libqglviewerplugin.so
debian/libqglviewer-qt4-dev/usr/lib/qt4/plugins/designer
+ cp -d debian/tmp/usr/lib/*.so.*
debian/libqglviewer-qt4-2/usr/lib/$(DEB_HOST_MULTIARCH)
+ cp -d qglviewer-qt4/libqglviewer-qt4.a
debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+ cp -d debian/tmp/usr/lib/*.so
debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+ cp -d debian/tmp/usr/lib/*.prl
debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+ cp -d
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/designer/libqglviewerplugin.so
debian/libqglviewer-qt4-dev/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/designer
cp -dr debian/tmp/usr/include/QGLViewer
debian/libqglviewer-dev-common/usr/include
diff -u libqglviewer-2.3.4/debian/patches/00list
libqglviewer-2.3.4/debian/patches/00list
--- libqglviewer-2.3.4/debian/patches/00list
+++ libqglviewer-2.3.4/debian/patches/00list
@@ -3,2 +3,4 @@
03only-headers-in-include-dir
+04glu-include
+05glu-link
99compile-examples
only in patch2:
unchanged:
--- libqglviewer-2.3.4.orig/debian/patches/04glu-include.dpatch
+++ libqglviewer-2.3.4/debian/patches/04glu-include.dpatch
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04glu-include.dpatch by Felix Geyer <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+
+diff -Nur libqglviewer-2.3.4.org/QGLViewer/camera.cpp
libqglviewer-2.3.4/QGLViewer/camera.cpp
+--- libqglviewer-2.3.4.org/QGLViewer/camera.cpp
++++ libqglviewer-2.3.4/QGLViewer/camera.cpp
+@@ -24,6 +24,8 @@
+ #include "camera.h"
+ #include "qglviewer.h"
+
++#include <GL/glu.h>
++
+ using namespace std;
+ using namespace qglviewer;
+
+diff -Nur libqglviewer-2.3.4.org/QGLViewer/qglviewer.cpp
libqglviewer-2.3.4/QGLViewer/qglviewer.cpp
+--- libqglviewer-2.3.4.org/QGLViewer/qglviewer.cpp
++++ libqglviewer-2.3.4/QGLViewer/qglviewer.cpp
+@@ -58,6 +58,8 @@
+ # define value data
+ #endif
+
++#include <GL/glu.h>
++
+ using namespace std;
+ using namespace qglviewer;
+
only in patch2:
unchanged:
--- libqglviewer-2.3.4.orig/debian/patches/05glu-link.dpatch
+++ libqglviewer-2.3.4/debian/patches/05glu-link.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05glu-link.dpatch by Felix Geyer <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+
+diff -Nur libqglviewer-2.3.4.org/QGLViewer/QGLViewer.pro
libqglviewer-2.3.4/QGLViewer/QGLViewer.pro
+--- libqglviewer-2.3.4.org/QGLViewer/QGLViewer.pro
++++ libqglviewer-2.3.4/QGLViewer/QGLViewer.pro
+@@ -131,6 +131,8 @@
+ QMAKE_LIBS_OPENGL *= -lglut
+ }
+
++ QMAKE_LIBS_OPENGL *= -lGLU
++
+ MOC_DIR = .moc
+ OBJECTS_DIR = .obj
+
--- End Message ---
--- Begin Message ---
Source: libqglviewer
Source-Version: 2.3.4-4.1
We believe that the bug you reported is fixed in the latest version of
libqglviewer, which is due to be installed in the Debian FTP archive:
libqglviewer-dev-common_2.3.4-4.1_all.deb
to main/libq/libqglviewer/libqglviewer-dev-common_2.3.4-4.1_all.deb
libqglviewer-dev_2.3.4-4.1_all.deb
to main/libq/libqglviewer/libqglviewer-dev_2.3.4-4.1_all.deb
libqglviewer-qt3-2_2.3.4-4.1_i386.deb
to main/libq/libqglviewer/libqglviewer-qt3-2_2.3.4-4.1_i386.deb
libqglviewer-qt3-dev_2.3.4-4.1_i386.deb
to main/libq/libqglviewer/libqglviewer-qt3-dev_2.3.4-4.1_i386.deb
libqglviewer-qt4-2_2.3.4-4.1_i386.deb
to main/libq/libqglviewer/libqglviewer-qt4-2_2.3.4-4.1_i386.deb
libqglviewer-qt4-dev_2.3.4-4.1_i386.deb
to main/libq/libqglviewer/libqglviewer-qt4-dev_2.3.4-4.1_i386.deb
libqglviewer2_2.3.4-4.1_all.deb
to main/libq/libqglviewer/libqglviewer2_2.3.4-4.1_all.deb
libqglviewer_2.3.4-4.1.diff.gz
to main/libq/libqglviewer/libqglviewer_2.3.4-4.1.diff.gz
libqglviewer_2.3.4-4.1.dsc
to main/libq/libqglviewer/libqglviewer_2.3.4-4.1.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Scott Kitterman <[email protected]> (supplier of updated libqglviewer package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 14 May 2012 01:53:58 -0400
Source: libqglviewer
Binary: libqglviewer-dev-common libqglviewer-qt3-dev libqglviewer-qt3-2
libqglviewer-qt4-dev libqglviewer-qt4-2 libqglviewer-dev libqglviewer2
Architecture: source all i386
Version: 2.3.4-4.1
Distribution: unstable
Urgency: low
Maintainer: Artur R. Czechowski <[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Description:
libqglviewer-dev - Dummy package to install libqglviewer-qt3-dev
libqglviewer-dev-common - an OpenGL 3D viewer library based on Qt3 - header
files
libqglviewer-qt3-2 - an OpenGL 3D viewer library based on Qt3 - runtime library
libqglviewer-qt3-dev - an OpenGL 3D viewer library based on Qt3 - development
files
libqglviewer-qt4-2 - an OpenGL 3D viewer library based on Qt - runtime library
libqglviewer-qt4-dev - an OpenGL 3D viewer library based on Qt4 - development
files
libqglviewer2 - Dummy package to install libqglviewer-qt3-2
Closes: 662702
Changes:
libqglviewer (2.3.4-4.1) unstable; urgency=low
.
* Non-maintainer upload. (Closes: #662702)
.
[ Daniel T Chen ]
* debian/rules: Use Qt4 multiarch lib path. Fixes FTBFS.
.
[ Felix Geyer ]
* Add 04glu-include.dpatch to fix FTBFS with Qt 4.8.
* Add 05glu-link.dpatch to make libqglviewer-qt4 link against libGLU.
* Add Pre-Depends: ${misc:Pre-Depends} to libqglviewer-qt4-2.
* Mark libqglviewer-qt4-2 as Multi-Arch: same.
Checksums-Sha1:
ce04435e668f3fffa3d05393539f47a2b7ef5b7d 1577 libqglviewer_2.3.4-4.1.dsc
00b90d0c0aa2577b12a80737adcc9db8a6785188 14497 libqglviewer_2.3.4-4.1.diff.gz
87fbb36a95d9edd51c73cfe39b3e3931e4593b03 1957732
libqglviewer-dev-common_2.3.4-4.1_all.deb
88390afad27fbe37bcf0268ae21fe7ed95125ea7 884 libqglviewer-dev_2.3.4-4.1_all.deb
e7d322bd3259c32530510d02a80e3e6f076c24f2 852 libqglviewer2_2.3.4-4.1_all.deb
5edcf09f151f95527203d4cb84368f7f3cc67fe0 371218
libqglviewer-qt3-dev_2.3.4-4.1_i386.deb
70223b6837775922e61086410203f2165a6d015c 261594
libqglviewer-qt3-2_2.3.4-4.1_i386.deb
e05b1abf96954658bcb247fe9268ab7351dc5529 353086
libqglviewer-qt4-dev_2.3.4-4.1_i386.deb
362d2e71b42d6fdb64d0a37383fdb90b42bc4dce 260640
libqglviewer-qt4-2_2.3.4-4.1_i386.deb
Checksums-Sha256:
db6bad3228a7c5f45381178fccf02c4f46f525c740760b184648e9dc90e1ea08 1577
libqglviewer_2.3.4-4.1.dsc
ebff0f12d8d314c433b5602880e258d068522508bbd7332a90ab82b3071e5eac 14497
libqglviewer_2.3.4-4.1.diff.gz
c23b4fa07f984670aa81d28b5eb73cb72d8704a5afe6387d4d4e7f9affa9212b 1957732
libqglviewer-dev-common_2.3.4-4.1_all.deb
810fbfdd66a9a8abb34f0d907ed2ff9acda7d56d9485200952d391fad292740b 884
libqglviewer-dev_2.3.4-4.1_all.deb
69bde8379a4eaa4b73f3d4e2d777bd6ad454c03436e7e65014d6530ea6de16c0 852
libqglviewer2_2.3.4-4.1_all.deb
b1b3f2c470153e6c33ec8f7cd893141ee1261fffacf2c89402ed77f7ed0ddea2 371218
libqglviewer-qt3-dev_2.3.4-4.1_i386.deb
34b640ce749b2563c9a9c42d5803ed4f5db2e462313f467ffda9b73a5ada0b38 261594
libqglviewer-qt3-2_2.3.4-4.1_i386.deb
5c80c9e10b68f9d1fc2cf6a8f21776438fc69a006e44aa7945f8a380b90f5289 353086
libqglviewer-qt4-dev_2.3.4-4.1_i386.deb
57e5f1042f8b71c20d5ec61ff2976d6e57d083fa230dd1c91986cdd075fbbd06 260640
libqglviewer-qt4-2_2.3.4-4.1_i386.deb
Files:
af3734d01683c89d5671e166c559e063 1577 libs optional libqglviewer_2.3.4-4.1.dsc
9832c07618059c32bb07ef9bc81b992d 14497 libs optional
libqglviewer_2.3.4-4.1.diff.gz
d90e4d40b749cc67c90a90619cf74253 1957732 libdevel optional
libqglviewer-dev-common_2.3.4-4.1_all.deb
53c93338fcfb9568f9116c15f439734d 884 libdevel extra
libqglviewer-dev_2.3.4-4.1_all.deb
7d2dcde0bf316c651480aa2645d05d03 852 oldlibs extra
libqglviewer2_2.3.4-4.1_all.deb
5ae15dd49a9c7f211eac9298ae027672 371218 libdevel optional
libqglviewer-qt3-dev_2.3.4-4.1_i386.deb
097ae64c98c180806a5790cb10449177 261594 libs optional
libqglviewer-qt3-2_2.3.4-4.1_i386.deb
df0692b2f43c86c856897160ce3032aa 353086 libdevel optional
libqglviewer-qt4-dev_2.3.4-4.1_i386.deb
75b95b60c9d2b91cf6ba947dfbc872e5 260640 libs optional
libqglviewer-qt4-2_2.3.4-4.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk+woRkACgkQHajaM93NaGrfoQCeNpmKnrQbHkngHKHlBZsJdV78
lyMAn0E7SgYNUNmQOrkvKb5kBnyYV1gF
=/NJF
-----END PGP SIGNATURE-----
--- End Message ---