FTBFS: conflicting symbols in ftpcmd.c and /usr/include/openssl/ossl_typ.h

Bug #27948 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
krb4 (Debian)
Fix Released
Unknown
krb4 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

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

Revision history for this message
In , Artur R. Czechowski (arturcz) wrote : Updated patch - ready for dbs

Hello,
There is patch ready to put into debian/patches.

Best regards
 Artur
--
<Stomil> Szymon: nie zachowuj sie jak uzytkownik.
<Szymon> Alex: nie zachowuj się jak Bill Gates.
<Spriggana> panowie, chyba obowiązuje tu jakaś kultura! :>

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

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

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

Message-ID: <email address hidden>
Date: Wed, 4 Jan 2006 01:40:16 +0100
From: "Artur R. Czechowski" <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS: conflicting symbols in ftpcmd.c and /usr/include/openssl/ossl_typ.h

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Package: krb4
Severity: serious
Tags: patch

Hello,
krb4 file: appl/ftp/ftpd/ftpcmd.y has a command named CONF.
Flex generated following code in ftpcmd.c:
#define CONF 326

and next ftpcmd.c includes (indirectly) file /usr/include/openssl/ossl_typ.h,
where following definition is put:
typedef struct conf_st CONF;

After preprocessing it results with:
typedef struct conf_st 326;

and it causes following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../lib/roken -I../../../lib/roken -I./../common -DFTP_SERVER -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -c `test -f 'ftpcmd.c' || echo './'`ftpcmd.c
In file included from /usr/include/openssl/crypto.h:131,
                 from /usr/include/openssl/ui.h:63,
                 from /usr/include/openssl/ui_compat.h:63,
                 from ../../../include/krb.h:52,
                 from ftpd_locl.h:154,
                 from ftpcmd.y:45:
/usr/include/openssl/ossl_typ.h:144: error: syntax error before numeric constant
make[4]: *** [ftpcmd.o] Error 1

The attached patch (for appl/ftp/ftpd/ftpcmd.y) solves the problem.

Best regards
 Artur

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-arc4bl
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

--
What should people think who are new to debian and send a bug report and they
will get an rtfm? /Nico Golde/
They should RTFM and achieve enlightenment. /Miros�aw Baran/
     /from debian-devel mailing lists/

--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: attachment; filename="ftpcmd.diff"

--- ftpcmd.y.orig 2006-01-04 01:36:01.000000000 +0100
+++ ftpcmd.y 2006-01-04 01:36:25.000000000 +0100
@@ -102,7 +102,7 @@
  UMASK IDLE CHMOD

  AUTH ADAT PROT PBSZ CCC MIC
- CONF ENC
+ XCONF ENC

  KAUTH KLIST KDESTROY KRBTKFILE AFSLOG
  LOCATE URL
@@ -694,7 +694,7 @@
    mec($3, prot_safe);
    free($3);
   }
- | CONF SP STRING CRLF
+ | XCONF SP STRING CRLF
   {
    mec($3, prot_confidential);
    free($3);
@@ -991,7 +991,7 @@
  { "PROT", PROT, STR1, 1, "<sp> prot-level" },
  { "CCC", CCC, ARGS, 1, "" },
  { "MIC", MIC, STR1, 1, "<sp> integrity command" },
- { "CONF", CONF, STR1, 1, "<sp> confidentiality command" },
+ { "CONF", XCONF, STR1, 1, "<sp> confidentiality command" },
  { "ENC", ENC, STR1, 1, "<sp> privacy command" },

  /* RFC2389 */

--y0ulUmNC+osPPQO6--

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

Message-ID: <email address hidden>
Date: Wed, 4 Jan 2006 02:05:15 +0100
From: "Artur R. Czechowski" <email address hidden>
To: <email address hidden>
Subject: Updated patch - ready for dbs

--aYDVKSzuImP48n7V
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Hello,
There is patch ready to put into debian/patches.

Best regards
 Artur
--
<Stomil> Szymon: nie zachowuj sie jak uzytkownik.
<Szymon> Alex: nie zachowuj si�ak Bill Gates.
<Spriggana> panowie, chyba obowi�zuje tu jaka� kultura! :>

--aYDVKSzuImP48n7V
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: attachment; filename=039_ftpcmd

diff -Nru3 ./krb4-1.2.2/appl/ftp/ftpd/ftpcmd.y ../build-tree.new/krb4-1.2.2/appl/ftp/ftpd/ftpcmd.y
--- ./krb4-1.2.2/appl/ftp/ftpd/ftpcmd.y 2006-01-04 00:49:40.000000000 +0000
+++ ../build-tree.new/krb4-1.2.2/appl/ftp/ftpd/ftpcmd.y 2006-01-04 00:48:39.000000000 +0000
@@ -103,7 +103,7 @@
  UMASK IDLE CHMOD

  AUTH ADAT PROT PBSZ CCC MIC
- CONF ENC
+ XCONF ENC

  KAUTH KLIST KDESTROY KRBTKFILE AFSLOG
  LOCATE URL
@@ -695,7 +695,7 @@
    mec($3, prot_safe);
    free($3);
   }
- | CONF SP STRING CRLF
+ | XCONF SP STRING CRLF
   {
    mec($3, prot_confidential);
    free($3);
@@ -992,7 +992,7 @@
  { "PROT", PROT, STR1, 1, "<sp> prot-level" },
  { "CCC", CCC, ARGS, 1, "" },
  { "MIC", MIC, STR1, 1, "<sp> integrity command" },
- { "CONF", CONF, STR1, 1, "<sp> confidentiality command" },
+ { "CONF", XCONF, STR1, 1, "<sp> confidentiality command" },
  { "ENC", ENC, STR1, 1, "<sp> privacy command" },

  /* RFC2389 */

--aYDVKSzuImP48n7V--

Revision history for this message
In , Steve Langasek (vorlon) wrote : Re: Bug#345875: Updated patch - ready for dbs

On Wed, Jan 04, 2006 at 02:05:15AM +0100, Artur R. Czechowski wrote:
> Hello,
> There is patch ready to put into debian/patches.

The krb4 package is obsolete and should be dropped for etch.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

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

Message-ID: <email address hidden>
Date: Tue, 3 Jan 2006 21:29:10 -0800
From: Steve Langasek <email address hidden>
To: "Artur R. Czechowski" <email address hidden>, <email address hidden>
Subject: Re: Bug#345875: Updated patch - ready for dbs

--7LkOrbQMr4cezO2T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 04, 2006 at 02:05:15AM +0100, Artur R. Czechowski wrote:
> Hello,
> There is patch ready to put into debian/patches.

The krb4 package is obsolete and should be dropped for etch.

--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

--7LkOrbQMr4cezO2T
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDu10mKN6ufymYLloRAvh/AJ9g7MS+lcwYAkakjB9bgqicmRtqwwCgv4gh
cEYCmrWC7mzcqvs0Gb2QuQM=
=J9Kf
-----END PGP SIGNATURE-----

--7LkOrbQMr4cezO2T--

Revision history for this message
In , Martin Michlmayr (tbm) wrote : kerberos4 removed from Debian

The kerberos4 packages have been removed from Debian unstable.
According to http://bugs.debian.org/358480

    Mikael> I'm not maintaining it and I think that all kerberos4
    Mikael> support should be removed from debian because it's
    Mikael> unsecure and the kerberos4kth packages should be removed
    Mikael> from future versions of debian. If you have any discussion
    Mikael> with the mit krb maintainer you can let him know my point
    Mikael> of view and do anything you want with the kerberos4kth
    Mikael> package you want.

It also is obsolete and has release critical bugs.

If you have any questions, please don't hesitate to contact me.
--
Martin Michlmayr
http://www.cyrius.com/

Revision history for this message
Paul Dufresne (paulduf) wrote :

Confirming based on the fact that debian have released a fix.

Changed in krb4:
status: Unconfirmed → Confirmed
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Setting status to 'Fix Released' since the package is no longer in Ubuntu.

Changed in krb4:
status: Confirmed → 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.