Your message dated Thu, 10 May 2012 01:17:37 +0000
with message-id <[email protected]>
and subject line Bug#414011: fixed in funnelweb 3.2-4.2
has caused the Debian Bug report #414011,
regarding funnelweb: FTBFS on GNU/kFreeBSD: unknown platform (yet)
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.)


-- 
414011: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414011
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: funnelweb
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following errors:
> dh_testdir
> (cd source && gcc -g -O2 -Wall -fno-strict-aliasing -c *.c && gcc -g -O2 
> -Wall -fno-strict-aliasing -o fw *.o)
> In file included from style.h:93,
>                  from analyse.c:42:
> environ.h:216:5: error: #error Error: No operating system class has been 
> selected.
> In file included from option.h:49,
>                  from data.h:73,
>                  from analyse.c:46:
> machin.h:177:5: error: #error COMLINE_MAX must be at least 300.
> In file included from option.h:49,
>                  from data.h:73,
>                  from analyse.c:46:
> [...]

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

Please find attached a patch to add support for GNU/kFreeBSD by
adjusting some #if tests and some #defines.

Cheers,

-- 
Cyril Brulebois
--- funnelweb-3.2/source/environ.h	2007-03-08 17:37:13.089555000 +0100
+++ funnelweb-3.2/source/environ.h	2007-03-08 17:42:15.000000000 +0100
@@ -84,6 +84,7 @@
 #define    OS_L86 0  /*    Linux         */
 #define    OS_AIX 0  /*    AIX           */
 #define    OS_FBD 0  /*    FreeBSD       */
+#define    OS_GKB 0  /*    GNU/kFreeBSD  */
 
 
 #ifdef  THINK_C      
@@ -198,6 +199,14 @@
 #endif
 
 
+#ifdef  __FreeBSD_kernel__
+#undef  OS_UNX
+#define  OS_UNX 1
+#undef  OS_GKB
+#define  OS_GKB 1
+#endif
+
+
 #ifdef  _AIX         
 #undef  OS_UNX 
 #define  OS_UNX  1
@@ -222,7 +231,7 @@
 
 #if OS_UNX
 #define OS_UNXSUM1 (OS_HPU+OS_OSF+OS_SUN+OS_SOL+OS_ULT)
-#define OS_UNXSUM2 (OS_IRX+OS_B86+OS_L86+OS_AIX+OS_FBD)
+#define OS_UNXSUM2 (OS_IRX+OS_B86+OS_L86+OS_AIX+OS_FBD+OS_GKB)
 #if ((OS_UNXSUM1+OS_UNXSUM2) != 1)
    #error Error: Exactly one Unix operating system must be chosen.
 #endif
--- funnelweb-3.2/source/style.h	2007-03-08 17:44:03.295140000 +0100
+++ funnelweb-3.2/source/style.h	2007-03-08 17:44:30.000000000 +0100
@@ -118,7 +118,7 @@
 
 /* Some (but not all) IRIX header files already typedef ulong so we have to   */
 /* create a form of definition for this symbol that won't collide.            */
-#if OS_IRX || OS_L86 || OS_AIX
+#if OS_IRX || OS_L86 || OS_AIX || OS_GKB
 #define ulong unsigned long
 #else
 typedef unsigned long   ulong  ; /* Unsigned, [0,(2^32)-1].                   */

--- End Message ---
--- Begin Message ---
Source: funnelweb
Source-Version: 3.2-4.2

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

funnelweb_3.2-4.2.debian.tar.gz
  to main/f/funnelweb/funnelweb_3.2-4.2.debian.tar.gz
funnelweb_3.2-4.2.dsc
  to main/f/funnelweb/funnelweb_3.2-4.2.dsc
funnelweb_3.2-4.2_kfreebsd-amd64.deb
  to main/f/funnelweb/funnelweb_3.2-4.2_kfreebsd-amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <[email protected]> (supplier of updated funnelweb 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: Fri, 27 Apr 2012 22:05:42 +0200
Source: funnelweb
Binary: funnelweb
Architecture: source kfreebsd-amd64
Version: 3.2-4.2
Distribution: unstable
Urgency: low
Maintainer: Yann Dirson <[email protected]>
Changed-By: Robert Millan <[email protected]>
Description: 
 funnelweb  - literate-programming tool
Closes: 414011
Changes: 
 funnelweb (3.2-4.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Upgrade dpkg source format to 3.0 (quilt).
   * kfreebsd-gnu.diff: Fix FTBFS on non-Linux. Based on patch from Cyril
     Brulebois. (Closes: #414011)
Checksums-Sha1: 
 309d5094d7eb742e37c199ba1db668e28725c448 1021 funnelweb_3.2-4.2.dsc
 370d22f53c21e2c11dcdff107ed5b3f0b95a0218 2990 funnelweb_3.2-4.2.debian.tar.gz
 835f04841613017473d9364f40b32c5b628061d6 90662 
funnelweb_3.2-4.2_kfreebsd-amd64.deb
Checksums-Sha256: 
 4970de83a1245b15324cfd5947b628a7f810a9fc008eb68ebfc9698f5e8f0cfe 1021 
funnelweb_3.2-4.2.dsc
 35d35f4bfbaec1cc9ecb2c8a66df12cd4a58d0e90572f2840e64c8e5632c1b20 2990 
funnelweb_3.2-4.2.debian.tar.gz
 44b886c162f384c63adfaf8c7e389963fbd2174b2b11e261c276b80f70a2610b 90662 
funnelweb_3.2-4.2_kfreebsd-amd64.deb
Files: 
 9274498a4f35a05cca4fa098bb465174 1021 devel extra funnelweb_3.2-4.2.dsc
 e36a11f0449829f0a89b2ca41e0b875f 2990 devel extra 
funnelweb_3.2-4.2.debian.tar.gz
 d317377c5afb40b038c7b9437cc7f0b7 90662 devel extra 
funnelweb_3.2-4.2_kfreebsd-amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/kFreeBSD)

iEYEARECAAYFAk+cjkEACgkQC19io6rUCv/YYwCfSNG4VnSjeywhKi3dzfP+Naf5
vR4Ani1BrqEKlWAexCINbdGulZP8HTWG
=JgOz
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to