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

Bug#417373: marked as done (FTBFS with GCC 4.3: missing #includes)

Your message dated Sun, 10 Feb 2008 16:02:06 +0000
with message-id <E1JOEd4-0004CD-Pd@ries.debian.org>
and subject line Bug#417373: fixed in lineakd 1:0.9-4
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: lineakd
Version: 1:0.9-3
Usertags: ftbfs-gcc-4.3
Tags: patch

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).  Some background of this can be found at

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable.

> Automatic build of lineakd_1:0.9-3 on coconut0 by sbuild/ia64 0.49
> ../lineak/lbutton.h:46: warning: type qualifiers ignored on function return type
> xmgr.cpp: In constructor 'Xmgr::Xmgr(std::string)':
> xmgr.cpp:46: warning: cast from 'const char*' to '<anonymous struct>*' increases required alignment of target type
> xmgr.cpp: In member function 'void Xmgr::openXkbDisplay(std::string)':
> xmgr.cpp:78: error: 'malloc' was not declared in this scope
> xmgr.cpp:82: error: 'free' was not declared in this scope
> xmgr.cpp: In member function 'void Xmgr::commitXKBChanges(int)':
> xmgr.cpp:126: warning: conversion to 'KeyCode' from 'int' may alter its value
> xmgr.cpp: In member function 'void Xmgr::setXKBKey(int, KeySym)':
> xmgr.cpp:172: warning: conversion to 'KeyCode' from 'int' may alter its value
> xmgr.cpp: At global scope:
> xmgr.cpp:194: warning: unused parameter 'theDisplay'
> xmgr.cpp: In member function 'bool Xmgr::getModifiers()':
> xmgr.cpp:235: warning: conversion to 'unsigned int' from 'int' may alter its value
> xmgr.cpp:237: warning: conversion to 'unsigned int' from 'int' may alter its value
> xmgr.cpp: In member function 'bool Xmgr::initialize(LKbd&)':
> xmgr.cpp:285: warning: conversion to 'long int' from 'long unsigned int' may alter its value
> xmgr.cpp:322: error: 'exit' was not declared in this scope

--- lineak/xmgr.cpp~	2007-04-02 13:17:31.000000000 +0000
+++ lineak/xmgr.cpp	2007-04-02 13:17:39.000000000 +0000
@@ -21,6 +21,7 @@
 #include <lineak/lbutton.h>
 extern "C" {
+   #include <stdlib.h>
    #include <signal.h>
    #include <X11/Xlib.h>
    #include <X11/keysym.h>
--- lineak/defloader.h~	2007-04-02 13:20:35.000000000 +0000
+++ lineak/defloader.h	2007-04-02 13:20:47.000000000 +0000
@@ -23,6 +23,7 @@
 #   endif
 #   include <lineak/loader.h>
+#   include <cstdlib>
 #   include <map>
 class LDef;

Martin Michlmayr

--- End Message ---
--- Begin Message ---
Source: lineakd
Source-Version: 1:0.9-4

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

  to pool/main/l/lineakd/liblineak-0.9-0_0.9-4_i386.deb
  to pool/main/l/lineakd/liblineak-dev_0.9-4_i386.deb
  to pool/main/l/lineakd/lineakd_0.9-4.diff.gz
  to pool/main/l/lineakd/lineakd_0.9-4.dsc
  to pool/main/l/lineakd/lineakd_0.9-4_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 417373@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Frank Lichtenheld <djpig@debian.org> (supplier of updated lineakd 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)

Hash: SHA1

Format: 1.7
Date: Sun, 10 Feb 2008 15:04:22 +0100
Source: lineakd
Binary: lineakd liblineak-0.9-0 liblineak-dev
Architecture: source i386
Version: 1:0.9-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
 liblineak-0.9-0 - LinEAK development files
 liblineak-dev - LinEAK development files
 lineakd    - Linux support for Easy Access and Internet Keyboards
Closes: 417373
 lineakd (1:0.9-4) unstable; urgency=low
   * QA Upload
   * Build-depend on automake instead of automake1.8, fix admin/cvs.sh
     to recognise automake 1.10
   * Change section of library to libs, according to override
   * Move Homepage from description to dedicated field
   * Don't ignore errors in clean
   * use ${binary:Version} instead of the deprecated ${Source-Version}
   * Apply patch by Martin Michlmayr to build with gcc-4.3
     (Closes: #417373). Additional fixes by me.
   * Add additional copyright holder
 b4e54f2a62ee4c518251a0bc32b5c887 808 x11 optional lineakd_0.9-4.dsc
 f4ab2f25f59a0393c960745455668e66 8741 x11 optional lineakd_0.9-4.diff.gz
 d36b77e3c879b4789258e5b59b56248d 109184 x11 optional lineakd_0.9-4_i386.deb
 e83c4932fb28cb58018d2415cded50e4 123470 libs optional liblineak-0.9-0_0.9-4_i386.deb
 e423135ae34e0a0aa6a81c75bfdd12af 171898 libdevel optional liblineak-dev_0.9-4_i386.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: