Debian Bug report logs - #454853
FTBFS with GCC 4.3: missing #includes

version graph

Package: kopete-silc-plugin; Maintainer for kopete-silc-plugin is (unknown);

Reported by: Martin Michlmayr <tbm@cyrius.com>

Date: Sat, 8 Dec 2007 02:24:01 UTC

Severity: important

Tags: patch

Found in version kopete-silc-plugin/0.3-3

Fixed in version kopete-silc-plugin/0.4-1

Done: Jérémy Bobbio <lunar@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>:
Bug#454853; Package kopete-silc-plugin. (full text, mbox, link).


Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
New Bug report received and forwarded. Copy sent to Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Michlmayr <tbm@cyrius.com>
To: submit@bugs.debian.org
Subject: FTBFS with GCC 4.3: missing #includes
Date: Fri, 7 Dec 2007 19:20:32 -0700
Package: kopete-silc-plugin
Version: 0.3-3
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.


> Automatic build of kopete-silc-plugin_0.3-3 on em64t by sbuild/amd64 0.53
...
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp: In constructor 'SilcAccount::SilcAccount(SilcProtocol*, const QString&, const char*)':
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:121: error: 'getenv' was not declared in this scope
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp: In member function 'void SilcAccount::slotShowFingerprint(QString)':
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:446: error: 'free' was not declared in this scope
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp: In member function 'const QString SilcAccount::userName() const':
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:530: error: 'getenv' was not declared in this scope
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp: At global scope:
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:919: warning: unused parameter 'message'
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:919: warning: unused parameter 'context'
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:996: warning: unused parameter 'client'
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp: In static member function 'static void SilcAccount::silc_notify(SilcTK::SilcClientStruct*, SilcTK::SilcClientConnectionStruct*, SilcTK::SilcNotifyType, ...)':
> /build/tbm/kopete-silc-plugin-0.3/src/silcaccount.cpp:1548: warning: conversion to 'SilcTK::SilcNotifyType' from 'SilcTK::SilcUInt32' may alter its value
> make[3]: *** [src/CMakeFiles/kopete_silc.dir/silcaccount.o] Error 1
> make[3]: Leaving directory `/build/tbm/kopete-silc-plugin-0.3'
> make[2]: *** [src/CMakeFiles/kopete_silc.dir/all] Error 2
> make[2]: Leaving directory `/build/tbm/kopete-silc-plugin-0.3'

-- 
Martin Michlmayr
http://www.cyrius.com/




Severity set to `important' from `normal' Request was from Matthias Klose <doko@cs.tu-berlin.de> to control@bugs.debian.org. (Thu, 24 Jan 2008 00:39:38 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>:
Bug#454853; Package kopete-silc-plugin. (full text, mbox, link).


Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #12 received at 454853@bugs.debian.org (full text, mbox, reply):

From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
To: Martin Michlmayr <tbm@cyrius.com>, 454853@bugs.debian.org
Cc: control@bugs.debian.org, pkg-kde-talk@lists.alioth.debian.org
Subject: Re: Bug#454853: FTBFS with GCC 4.3: missing #includes
Date: Mon, 10 Mar 2008 02:24:49 +0100
[Message part 1 (text/plain, inline)]
tag 454853 patch
thanks

Martin Michlmayr <tbm@cyrius.com> (07/12/2007):
> Package: kopete-silc-plugin
> Version: 0.3-3
> Usertags: ftbfs-gcc-4.3

Hi,

please find attached a patch to fix this FTBFS. Please also note that
the order of the includes is important, due to bugs in KDE. Notably,
headers using mode_t without #include'ing sys/types.h, and using
functions from cstring withouth #include'ing it either. Cc'ing them, in
case they want to fix that.

Cheers,

-- 
Cyril Brulebois
[kopete-silc-plugin_gcc-4.3.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Tags added: patch Request was from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> to control@bugs.debian.org. (Mon, 10 Mar 2008 01:30:03 GMT) (full text, mbox, link).


Reply sent to Jérémy Bobbio <lunar@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Martin Michlmayr <tbm@cyrius.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #19 received at 454853-close@bugs.debian.org (full text, mbox, reply):

From: Jérémy Bobbio <lunar@debian.org>
To: 454853-close@bugs.debian.org
Subject: Bug#454853: fixed in kopete-silc-plugin 0.4-1
Date: Tue, 11 Mar 2008 00:47:14 +0000
Source: kopete-silc-plugin
Source-Version: 0.4-1

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

kopete-silc-plugin_0.4-1.diff.gz
  to pool/main/k/kopete-silc-plugin/kopete-silc-plugin_0.4-1.diff.gz
kopete-silc-plugin_0.4-1.dsc
  to pool/main/k/kopete-silc-plugin/kopete-silc-plugin_0.4-1.dsc
kopete-silc-plugin_0.4-1_i386.deb
  to pool/main/k/kopete-silc-plugin/kopete-silc-plugin_0.4-1_i386.deb
kopete-silc-plugin_0.4.orig.tar.gz
  to pool/main/k/kopete-silc-plugin/kopete-silc-plugin_0.4.orig.tar.gz



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

Debian distribution maintenance software
pp.
Jérémy Bobbio <lunar@debian.org> (supplier of updated kopete-silc-plugin 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, 11 Mar 2008 01:20:13 +0100
Source: kopete-silc-plugin
Binary: kopete-silc-plugin
Architecture: source i386
Version: 0.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian SILC Team <pkg-silc-devel@lists.alioth.debian.org>
Changed-By: Jérémy Bobbio <lunar@debian.org>
Description: 
 kopete-silc-plugin - plugin for Kopete to support SILC protocol
Closes: 454853
Changes: 
 kopete-silc-plugin (0.4-1) unstable; urgency=low
 .
   [ Stefan Siegl ]
   * New upstream release
 .
   [ Jérémy Bobbio ]
   * Add a watch file.
   * Bump Standards-Version (no changes required).
   * Promote Homepage as a regular field.
   * Stop shipping empty upstream ChangeLog.
   * Do not ship empty /usr/bin and /usr/sbin.
   * Fix FTBFS with GCC 4.3.  (Closes: #454853)
     Thanks Cyril Brulebois for the patch!
Files: 
 7fc0ae719f2143679a67345f3b8fac92 951 kde optional kopete-silc-plugin_0.4-1.dsc
 2799d3483d43b5ad360a065461a8fb3e 99290 kde optional kopete-silc-plugin_0.4.orig.tar.gz
 b7ae422b4aaf60169209f623d6d605a0 4194 kde optional kopete-silc-plugin_0.4-1.diff.gz
 c11859aa728a56d6e1c8445e5ed47fed 164354 kde optional kopete-silc-plugin_0.4-1_i386.deb

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

iD8DBQFH1dOR2PUjs9fQ72URAuo1AKCI7MlWFQSNFjawYpUO9YYFocZeDwCffUGS
jXsz9YBYFvmIBXVufTuRWxk=
=ILKG
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 15 Aug 2008 07:34:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 05:18:59 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.