pike7.2: FTBFS: #define sp clashes with <krb5.h> of heimdal-dev 0.6.3-5

Bug #11454 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
pike7.2 (Debian)
Fix Released
Unknown
pike7.2 (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

Automatically imported from Debian bug report #287169 http://bugs.debian.org/287169

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #287169 http://bugs.debian.org/287169

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.7 KiB)

Message-ID: <email address hidden>
Date: Sat, 25 Dec 2004 11:20:32 +0200
From: Kalle Olavi Niemitalo <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: pike7.2: FTBFS: #define sp clashes with <krb5.h> of heimdal-dev 0.6.3-5

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=

Package: pike7.2
Version: 7.2.580-2
Severity: serious

I got the following errors when building pike7.2:

--=-=-=
Content-Description: part of error log

Making Kerberos
make[3]: Entering directory `/var/tmp/kalle/debian/pike7.2-7.2.580/build/linux-2.4.23-kon.astalo.1-i686/modules/Kerberos'
Compiling /var/tmp/kalle/debian/pike7.2-7.2.580/src/modules/Kerberos/kerberos.c
In file included from kerberos.cmod:38:
/usr/include/krb5.h:435: error: parse error before '.' token
/usr/include/krb5.h:437: error: parse error before '}' token
/usr/include/krb5.h:452: error: parse error before "krb5_kt_cursor"
/usr/include/krb5.h:454: error: parse error before "krb5_kt_cursor"
/usr/include/krb5.h:455: error: parse error before "krb5_kt_cursor"
In file included from /usr/include/krb5.h:680,
                 from kerberos.cmod:38:
/usr/include/krb5-protos.h:1805: error: parse error before "krb5_kt_cursor"
/usr/include/krb5-protos.h:1840: error: parse error before "krb5_kt_cursor"
/usr/include/krb5-protos.h:1872: error: parse error before "krb5_kt_cursor"
WARNING: Compiler failure! Trying without optimization!
echo /var/tmp/kalle/debian/pike7.2-7.2.580/build/linux-2.4.23-kon.astalo.1-i686/smartlink gcc -I. -I/var/tmp/kalle/debian/pike7.2-7.2.580/src/modules/Kerberos -I/var/tmp/kalle/debian/pike7.2-7.2.580/src/modules/Kerberos/../.. -I../.. -I. -I/usr/local/include -I/usr/X11R6/include -I/var/tmp/kalle/debian/pike7.2-7.2.580/src -I/var/tmp/kalle/debian/pike7.2-7.2.580/build/linux-2.4.23-kon.astalo.1-i686 -s -s -I/usr/local/include -I/usr/X11R6/include -I/var/tmp/kalle/debian/pike7.2-7.2.580/src -I/var/tmp/kalle/debian/pike7.2-7.2.580/build/linux-2.4.23-kon.astalo.1-i686 -fPIC -DDYNAMIC_MODULE -c /var/tmp/kalle/debian/pike7.2-7.2.580/src/modules/Kerberos/kerberos.c -o kerberos.o
In file included from kerberos.cmod:38:
/usr/include/krb5.h:435: error: parse error before '.' token
/usr/include/krb5.h:437: error: parse error before '}' token
/usr/include/krb5.h:452: error: parse error before "krb5_kt_cursor"
/usr/include/krb5.h:454: error: parse error before "krb5_kt_cursor"
/usr/include/krb5.h:455: error: parse error before "krb5_kt_cursor"
In file included from /usr/include/krb5.h:680,
                 from kerberos.cmod:38:
/usr/include/krb5-protos.h:1805: error: parse error before "krb5_kt_cursor"
/usr/include/krb5-protos.h:1840: error: parse error before "krb5_kt_cursor"
/usr/include/krb5-protos.h:1872: error: parse error before "krb5_kt_cursor"
make[3]: *** [kerberos.o] Error 1
make[3]: Leaving directory `/var/tmp/kalle/debian/pike7.2-7.2.580/build/linux-2.4.23-kon.astalo.1-i686/modules/Kerberos'
make[2]: *** [Kerberos] Error 1
make[2]: Leaving directory `/var/tmp/kalle/debian/pike7.2-7.2.580/build/linux-2.4.23-kon.astalo.1-i686/modules'
make[1]: *** [module_objects] Error 1
make[1]: Leaving directory `/var/tmp/kalle/debian/pike7...

Read more...

Revision history for this message
In , Kalle Olavi Niemitalo (kon) wrote : Re: Bug#287169: pike7.2: FTBFS: #define sp clashes with <krb5.h> of heimdal-dev 0.6.3-5

tags 287169 + patch
quit

Kalle Olavi Niemitalo <email address hidden> writes:

> I have a patch for this; I'll test it some more and then post
> it.

Here it is. After applying this, please build the tree once so
that src/modules/Kerberos/kerberos.c is regenerated, before you
make a source package.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 25 Dec 2004 12:51:31 +0200
From: Kalle Olavi Niemitalo <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: Bug#287169: pike7.2: FTBFS: #define sp clashes with <krb5.h> of heimdal-dev 0.6.3-5

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=

tags 287169 + patch
quit

--=-=-=
Content-Type: text/plain; format=flowed

Kalle Olavi Niemitalo <email address hidden> writes:

> I have a patch for this; I'll test it some more and then post
> it.

Here it is. After applying this, please build the tree once so
that src/modules/Kerberos/kerberos.c is regenerated, before you
make a source package.

--=-=-=
Content-Type: text/x-patch; charset=iso-8859-15
Content-Disposition: attachment; filename=pike7.2_7.2.580-2_287169.diff
Content-Transfer-Encoding: quoted-printable

pike7.2 (7.2.580-2.kon.1) local; urgency=3Dlow

  * Local version!
  * src/modules/Kerberos/kerberos.cmod: Avoid defining sp as a macro when
    including <krb5.h>. (closes: Bug#287169)
  * debian/changelog (VERSION): Recognize [a-z.] in Debian version number.

 -- Kalle Olavi Niemitalo <email address hidden> Sat, 25 Dec 2004 12:19:39 +0200

diff -ru pike7.2-7.2.580-2/src/modules/Kerberos/kerberos.cmod pike7.2-7.2.5=
80-2.kon.1/src/modules/Kerberos/kerberos.cmod
=2D-- pike7.2-7.2.580-2/src/modules/Kerberos/kerberos.cmod 2004-05-13 16:09=
:19.000000000 +0300
+++ pike7.2-7.2.580-2.kon.1/src/modules/Kerberos/kerberos.cmod 2004-12-25 1=
1:18:34.000000000 +0200
@@ -4,10 +4,14 @@
  * Kerberos support for Pike.
  *
  * 2004-05-12 Henrik Grubbstr=F6m
+ * Modified on 2004-12-25 by Kalle Olavi Niemitalo
  *
  * FIXME: Currently only minimal support, and only for Kerberos 5 (not 4).
  */
=20
+/* <krb5.h> has krb5_kt_cursor::sp, so don't define sp as a macro. */
+#define NO_PIKE_SHORTHAND
+
 #include "global.h"
 #include "config.h"
=20
@@ -38,6 +42,9 @@
 #include <krb5.h>
 #endif
=20
+/* The precompiler generates code using sp rather than Pike_sp. */
+#define sp Pike_sp
+
 PIKECLASS Context
 {
   CVAR krb5_context ctx;
diff -ru pike7.2-7.2.580-2/debian/rules pike7.2-7.2.580-2.kon.1/debian/rules
=2D-- pike7.2-7.2.580-2/debian/rules 2004-12-25 11:18:01.000000000 +0200
+++ pike7.2-7.2.580-2.kon.1/debian/rules 2004-12-25 12:18:52.000000000 +0200
@@ -7,6 +7,7 @@
 # package.
 #
 # $Id: rules,v 1.37 2003/01/02 00:43:39 grendel Exp $
+# Modified on 2004-12-25 by Kalle Olavi Niemitalo.
 #
=20
 # Uncomment this to turn on verbose mode.=20
@@ -38,7 +39,7 @@
 MACHINE_OPTS=3D--with-machine-code
 endif
=20
=2DVERSION=3D$(shell dpkg-parsechangelog | grep ^Version | sed -e 's/Versio=
n: //;s/-[0-9]*$$//')
+VERSION=3D$(shell dpkg-parsechangelog | grep ^Version | LC_ALL=3DC sed -e =
's/Version: //;s/-[0-9.a-z]*$$//')
 OS=3D$(shell uname -srm|sed -e 's/ /-/g'|tr '[A-Z]' '[a-z]'|tr '/' '_')
 BUILDDIR=3Dbuild/$(OS)
 CFARGS=3D--without-rtldebug \

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature

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

iD8DBQBBzUZPHm9IGt60eMgRAhISAJsHln/R5Ev9Q6IIT3Sz4znBqHTwFQCg1KZg
VPgqtZ98xlbNs+yxoK4z1ck=
=J38A
-----END PGP SIGNATURE-----
--==-=-=--

Revision history for this message
In , Marek Habersack (grendel) wrote : Bug#287169: fixed in pike7.2 7.2.580-3
Download full text (6.1 KiB)

Source: pike7.2
Source-Version: 7.2.580-3

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

pike-crypto_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-crypto_7.2.580-3_i386.deb
pike-gdbm_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-gdbm_7.2.580-3_i386.deb
pike-gz_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-gz_7.2.580-3_i386.deb
pike-image_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-image_7.2.580-3_i386.deb
pike-mysql_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-mysql_7.2.580-3_i386.deb
pike-pg_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-pg_7.2.580-3_i386.deb
pike7.2-crypto_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-crypto_7.2.580-3_i386.deb
pike7.2-gdbm_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gdbm_7.2.580-3_i386.deb
pike7.2-gl_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gl_7.2.580-3_i386.deb
pike7.2-gtk_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gtk_7.2.580-3_i386.deb
pike7.2-gz_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gz_7.2.580-3_i386.deb
pike7.2-image_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-image_7.2.580-3_i386.deb
pike7.2-mysql_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-mysql_7.2.580-3_i386.deb
pike7.2-odbc_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-odbc_7.2.580-3_i386.deb
pike7.2-pg_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-pg_7.2.580-3_i386.deb
pike7.2-sane_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-sane_7.2.580-3_i386.deb
pike7.2_7.2.580-3.diff.gz
  to pool/main/p/pike7.2/pike7.2_7.2.580-3.diff.gz
pike7.2_7.2.580-3.dsc
  to pool/main/p/pike7.2/pike7.2_7.2.580-3.dsc
pike7.2_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2_7.2.580-3_i386.deb
pike_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike_7.2.580-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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marek Habersack <email address hidden> (supplier of updated pike7.2 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 address hidden>)

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

Format: 1.7
Date: Mon, 3 Jan 2005 03:01:27 +0100
Source: pike7.2
Binary: pike7.2-sane pike-gdbm pike-mysql pike7.2-odbc pike7.2-pg pike-gz pike7.2-gdbm pike7.2 pike7.2-gl pike pike7.2-crypto pike7.2-gz pike7.2-gtk pike-pg pike7.2-image pike-image pike-crypto pike7.2-mysql
Architecture: source i386
Version: 7.2.580-3
Distribution: unstable
Urgency: high
Maintainer: Marek Habersack <email address hidden>
Changed-By: Marek Habersack <email address hidden>
Description:
 pike - Powerful interpreted programming language [aux package]
 pike-crypto - Crypto module for Pike [aux package]
 pike-gdbm - Gdbm module for Pike [aux package]
 pike-gz - Gz module for Pike [aux package]
 pike-image - Image...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.3 KiB)

Message-Id: <email address hidden>
Date: Sun, 02 Jan 2005 21:47:08 -0500
From: Marek Habersack <email address hidden>
To: <email address hidden>
Subject: Bug#287169: fixed in pike7.2 7.2.580-3

Source: pike7.2
Source-Version: 7.2.580-3

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

pike-crypto_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-crypto_7.2.580-3_i386.deb
pike-gdbm_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-gdbm_7.2.580-3_i386.deb
pike-gz_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-gz_7.2.580-3_i386.deb
pike-image_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-image_7.2.580-3_i386.deb
pike-mysql_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-mysql_7.2.580-3_i386.deb
pike-pg_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike-pg_7.2.580-3_i386.deb
pike7.2-crypto_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-crypto_7.2.580-3_i386.deb
pike7.2-gdbm_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gdbm_7.2.580-3_i386.deb
pike7.2-gl_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gl_7.2.580-3_i386.deb
pike7.2-gtk_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gtk_7.2.580-3_i386.deb
pike7.2-gz_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-gz_7.2.580-3_i386.deb
pike7.2-image_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-image_7.2.580-3_i386.deb
pike7.2-mysql_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-mysql_7.2.580-3_i386.deb
pike7.2-odbc_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-odbc_7.2.580-3_i386.deb
pike7.2-pg_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-pg_7.2.580-3_i386.deb
pike7.2-sane_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2-sane_7.2.580-3_i386.deb
pike7.2_7.2.580-3.diff.gz
  to pool/main/p/pike7.2/pike7.2_7.2.580-3.diff.gz
pike7.2_7.2.580-3.dsc
  to pool/main/p/pike7.2/pike7.2_7.2.580-3.dsc
pike7.2_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike7.2_7.2.580-3_i386.deb
pike_7.2.580-3_i386.deb
  to pool/main/p/pike7.2/pike_7.2.580-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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marek Habersack <email address hidden> (supplier of updated pike7.2 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 address hidden>)

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

Format: 1.7
Date: Mon, 3 Jan 2005 03:01:27 +0100
Source: pike7.2
Binary: pike7.2-sane pike-gdbm pike-mysql pike7.2-odbc pike7.2-pg pike-gz pike7.2-gdbm pike7.2 pike7.2-gl pike pike7.2-crypto pike7.2-gz pike7.2-gtk pike-pg pike7.2-image pike-image pike-crypto pike7.2-mysql
Architecture: source i386
Version: 7.2.580-3
Distribution: unstable
Urgency: high
Maintainer: Marek Habersack <email address hidden>
Changed-By: Marek Habersack <email address hidden>
Description:
 pike - Powerful ...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

This needs a merge, or perhaps we can revert to Debian if they have our changes

Revision history for this message
Sebastien Bacher (seb128) wrote :

sync asked

Changed in pike7.2:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.