[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#415102: marked as done (octplot: FTBFS on GNU/kFreeBSD: tiny tweak needed)



Your message dated Tue, 20 Mar 2007 10:02:25 +0000
with message-id <E1HTbAf-00041F-Mp@ries.debian.org>
and subject line Bug#415102: fixed in octplot 0.3.9-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: octplot
Version: 0.3.9-2
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/include/freetype2 -I/usr/include/freetype2 -g -Wall -O2 -fPIC -c -o octplot-FTVectoriser.o `test -f 'FTGL/FTVectoriser.cpp' || echo './'`FTGL/FTVectoriser.cpp
> FTGL/FTVectoriser.cpp:15:6: error: #error "Error - need to define type GLUTesselatorFunction for this platform/compiler"
> FTGL/FTVectoriser.cpp: In member function 'void FTVectoriser::MakeMesh(FTGL_DOUBLE)':
> FTGL/FTVectoriser.cpp:186: error: 'GLUTesselatorFunction' was not declared in this scope
> FTGL/FTVectoriser.cpp:187: error: expected `)' before 'ftglVertex'
> FTGL/FTVectoriser.cpp:188: error: expected `)' before 'ftglCombine'
> FTGL/FTVectoriser.cpp:189: error: expected `)' before 'ftglEnd'
> FTGL/FTVectoriser.cpp:190: error: expected `)' before 'ftglError'
> make[3]: *** [octplot-FTVectoriser.o] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=octplot>.

Please find attached a tiny patch to fix this, based on the __GLIBC__ macro
defined on GNU/k*BSD platforms. If upstream finds it not suitable,
__FreeBSD_kernel__ can also be used, although less portable.

Cheers,

-- 
Cyril Brulebois
--- octplot-0.3.9/src/FTGL/FTVectoriser.cpp	2007-03-16 05:21:01.348033000 +0100
+++ octplot-0.3.9/src/FTGL/FTVectoriser.cpp	2007-03-16 05:24:29.000000000 +0100
@@ -9,7 +9,7 @@
     typedef GLvoid (*GLUTesselatorFunction)(...);
 #elif defined ( WIN32)
     typedef GLvoid (CALLBACK *GLUTesselatorFunction)( );
-#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__)
+#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined(__GLIBC__)
     typedef GLvoid (*GLUTesselatorFunction)();
 #else
     #error "Error - need to define type GLUTesselatorFunction for this platform/compiler"

--- End Message ---
--- Begin Message ---
Source: octplot
Source-Version: 0.3.9-3

We believe that the bug you reported is fixed in the latest version of
octplot, which is due to be installed in the Debian FTP archive:

octplot_0.3.9-3.diff.gz
  to pool/main/o/octplot/octplot_0.3.9-3.diff.gz
octplot_0.3.9-3.dsc
  to pool/main/o/octplot/octplot_0.3.9-3.dsc
octplot_0.3.9-3_i386.deb
  to pool/main/o/octplot/octplot_0.3.9-3_i386.deb



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 415102@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octplot 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 20 Mar 2007 10:11:21 +0100
Source: octplot
Binary: octplot
Architecture: source i386
Version: 0.3.9-3
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 octplot    - graphical interface for Octave
Closes: 415102
Changes: 
 octplot (0.3.9-3) unstable; urgency=low
 .
   [ Thomas Weber ]
   * debian/patches/50_kfreebsd.patch: Enables building on GNU/kFreeBSD
     (Closes: #415102)
Files: 
 a1bf91feff0673a6c5027fa5cf1f9bc8 893 math optional octplot_0.3.9-3.dsc
 436f4dd68c029d06b2f72c6345827366 8229 math optional octplot_0.3.9-3.diff.gz
 a858756552805b6e5b5098fd4a11e376 995924 math optional octplot_0.3.9-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF/6zzk3oga0pdcv4RAoTNAJwMcvpq8Y78QYu3jdz8mHBDorKhAwCfT84D
WUBrTDUDBoX4MvVLMDvaqGE=
=UZ3y
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: