Your message dated Thu, 23 Oct 2014 12:49:47 +0000
with message-id <e1xhhpr-0001ew...@franck.debian.org>
and subject line Bug#765818: fixed in simgear 3.0.0-6
has caused the Debian Bug report #765818,
regarding simgear: FTBFS[kfreebsd]: wrong usage of GL/glxext.h
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.)
--
765818: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765818
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: simgear
Version: 3.0.0-5
Severity: serious
Control: block 754988 by -1
Hi,
Upgrading mesa-common-dev from upstream version 10.2.8 to 10.3.1,
unfortuntaely made simgear FTBFS:
https://buildd.debian.org/status/fetch.php?pkg=simgear&arch=kfreebsd-amd64&ver=3.0.0-5%2Bb1&stamp=1413603273
Normally one includes gl.h first, which in turn includes glext.h, but
specifically on kfreebsd, simgear was preventing that with the
GL_GLEXT_LEGACY flag:
simgear/canvas/ShivaVG/src/shDefs.h:
| #if defined(VG_API_LINUX)
| #include <GL/gl.h>
| #include <GL/glu.h>
| #include <GL/glx.h>
| ...
| #else
| #define GL_GLEXT_LEGACY /* don't include glext.h */
| #include <GL/gl.h>
| #include <GL/glu.h>
| #include <GL/glx.h>
| #endif
>From Mesa 10.3 there are some glext.h types used in glxext.h; it
would be necessary to use a new GLX_GLXEXT_LEGACY flag to avoid
inclusion of the latter as well.
But, there is no reason GNU/kFreeBSD can't use VG_API_LINUX, and use
the normal GL API without any _LEGACY flags.
Patch attached! Thanks.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: Steven Chamberlain <ste...@pyro.eu.org>
Subject: GL usage for GNU/kFreeBSD
Date: Sat, 18 Oct 2014 13:12:53 +0100
Since mesa 10.3, glx.h fails to compile if GL_GLEXT_LEGACY
is used without also GLX_GLXEXT_LEGACY.
And GNU/kFreeBSD should better use the GNU/Linux VG_API_LINUX
rather than VG_API_FREEBSD anyway.
--- a/simgear/canvas/ShivaVG/src/shConfig.h
+++ b/simgear/canvas/ShivaVG/src/shConfig.h
@@ -16,7 +16,7 @@
#define NOMINMAX
#endif
-#elif defined(linux) || defined(__linux)
+#elif defined(linux) || defined(__linux) || defined(__GLIBC__)
// Linux
#define VG_API_LINUX
@@ -26,7 +26,7 @@
// MacOS
#define VG_API_MACOSX
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#elif defined(__FreeBSD__)
// FreeBSD
#define VG_API_FREEBSD
--- a/simgear/canvas/ShivaVG/src/shDefs.h
+++ b/simgear/canvas/ShivaVG/src/shDefs.h
@@ -170,6 +170,7 @@
#define GL_GLEXT_LEGACY /* don't include glext.h */
#include <GL/gl.h>
#include <GL/glu.h>
+ #define GLX_GLXEXT_LEGACY /* don't include glxext.h */
#include <GL/glx.h>
#endif
--- End Message ---
--- Begin Message ---
Source: simgear
Source-Version: 3.0.0-6
We believe that the bug you reported is fixed in the latest version of
simgear, which is due to be installed in the Debian FTP archive.
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 765...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Markus Wanner <mar...@bluegap.ch> (supplier of updated simgear 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 23 Oct 2014 11:37:25 +0200
Source: simgear
Binary: libsimgearcore3.0.0 libsimgearcore3.0.0-dbg libsimgearscene3.0.0
libsimgearscene3.0.0-dbg libsimgear-dev simgear-dev
Architecture: source amd64 all
Version: 3.0.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian FlightGear Crew <pkg-fgfs-c...@lists.alioth.debian.org>
Changed-By: Markus Wanner <mar...@bluegap.ch>
Description:
libsimgear-dev - Simulator Construction Gear -- development files
libsimgearcore3.0.0 - Simulator Construction Gear -- core library
libsimgearcore3.0.0-dbg - debugging symbols for libsimgearcore
libsimgearscene3.0.0 - Simulator Construction Gear -- scene library
libsimgearscene3.0.0-dbg - debugging symbols for libsimgearscene
simgear-dev - transitional dummy package
Closes: 765818
Changes:
simgear (3.0.0-6) unstable; urgency=medium
.
* Add kfreebsd.patch. Closes: #765818.
* Bump S-V: no changes required.
Checksums-Sha1:
2ea4be60050a5cf1580a09582082f6fb4effa319 3277 simgear_3.0.0-6.dsc
097cbdce93e0ebd24e80e886188c9f7e45b96f47 13028 simgear_3.0.0-6.debian.tar.xz
48d52d9c4c43c48dd8b35afa3d256c1d1579c500 651132
libsimgearcore3.0.0_3.0.0-6_amd64.deb
c0681bb1e87f4c2bca2fb548ec644c3ece5a2dbb 3230552
libsimgearcore3.0.0-dbg_3.0.0-6_amd64.deb
7b6899aaf072288607e3d88cd11d3b1ca2259738 957528
libsimgearscene3.0.0_3.0.0-6_amd64.deb
31c9cdac24ca733b8d3ba4652778dd368ac793ad 10145012
libsimgearscene3.0.0-dbg_3.0.0-6_amd64.deb
c706180825584b1a8b85ddb2bb416581803fce21 339574
libsimgear-dev_3.0.0-6_amd64.deb
890d6dbbc12fc8cd1983357f093feb62dfd97839 126100 simgear-dev_3.0.0-6_all.deb
Checksums-Sha256:
0f6a84da738e2ed7a0d673c162dc52bebf54e960145de29e86145ed9221ae5ee 3277
simgear_3.0.0-6.dsc
70a07aac7d27a0458eb3ee92316da2a0294312a852659692030982dd09f56bd8 13028
simgear_3.0.0-6.debian.tar.xz
7135304587b932b5babcbeb65cc934eb966c3e9c790c8c577e0a0f8814b5b05c 651132
libsimgearcore3.0.0_3.0.0-6_amd64.deb
e47ace1bf4ddc2b50ec932e25f9b4be40ce4788f30e2344696ac77683ee631ae 3230552
libsimgearcore3.0.0-dbg_3.0.0-6_amd64.deb
29e7532a118c6e79cb096f436fc1d6bdbbcd21f58d7c1da38c18bc5cfa471cae 957528
libsimgearscene3.0.0_3.0.0-6_amd64.deb
7caf46f64d828f107933db9547d4e71a137e4af7655d42660f536f1234950bf5 10145012
libsimgearscene3.0.0-dbg_3.0.0-6_amd64.deb
0760a576d2227a4587bfd0e5cdcd438ec5cba890295f5a5e45a9398fd80fd2bb 339574
libsimgear-dev_3.0.0-6_amd64.deb
f8d8c588bf67955f320c97f807068d5d68f5eb17a3f05cc944783500ae37d0a2 126100
simgear-dev_3.0.0-6_all.deb
Files:
ddde1fa0a533231e2857cc0c282c088c 651132 libs extra
libsimgearcore3.0.0_3.0.0-6_amd64.deb
2f67a9642b9e709582e73475e68f5268 3230552 debug extra
libsimgearcore3.0.0-dbg_3.0.0-6_amd64.deb
02494ea19a598fe7138f50042df01be0 957528 libs extra
libsimgearscene3.0.0_3.0.0-6_amd64.deb
8390eb480e25ac546dd8eb558b5a98bb 10145012 debug extra
libsimgearscene3.0.0-dbg_3.0.0-6_amd64.deb
6968871c7241a34644cbc342242eb8c4 339574 libdevel extra
libsimgear-dev_3.0.0-6_amd64.deb
20f2eeae88c065d74dbc5f6ba44405ee 126100 oldlibs extra
simgear-dev_3.0.0-6_all.deb
11259a2724faa90adeaa97a49d000ce0 3277 libs extra simgear_3.0.0-6.dsc
efdb522bee41baca603420e58ab1325b 13028 libs extra simgear_3.0.0-6.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQQcBAEBCgAGBQJUSO4nAAoJEOhoLRs/Memz+AEf/Rt9TPJZXA+9shT4jNyars22
icLMa8m2j1i2u4ScJDPIO/HQDhKG0vIsC2Vuk5trGe0zIWZtr2ISOCjfCa8tVF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