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

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

Your message dated Sun, 15 Apr 2007 20:32:16 +0000
with message-id <E1HdBOS-0006FP-5l@ries.debian.org>
and subject line Bug#417738: fixed in vbs 1.4.0-10
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: vbs
Version: 1.4.0-9
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. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in ~3 weeks.)

> Automatic build of vbs_1.4.0-9 on coconut0 by sbuild/ia64 0.49
> g++ -DHAVE_CONFIG_H -Isrc -I. -g -O2 -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c src/swig/vbs_api.cc
> In file included from src/common/bvector.h:33,
>                  from src/common/st_node.h:16,
>                  from src/common/sym_tab.h:26,
>                  from src/swig/vbs_api.cc:20:
> src/common/logic.h: In static member function 'static void* logic::operator new(size_t)':
> src/common/logic.h:87: error: 'malloc' was not declared in this scope
> src/common/logic.h: In static member function 'static void* logic::operator new [](size_t)':
> src/common/logic.h:107: error: 'malloc' was not declared in this scope

--- src/common/logic.h~	2007-04-04 12:51:55.000000000 +0000
+++ src/common/logic.h	2007-04-04 12:52:05.000000000 +0000
@@ -19,6 +19,8 @@
 #ifndef _LOGIC_H
 #define _LOGIC_H
+#include <cstdlib>
 class logic
 	friend bool operator==(const logic, const logic);
--- src/common/dumpstrm.cc~	2007-04-04 12:52:50.000000000 +0000
+++ src/common/dumpstrm.cc	2007-04-04 12:52:56.000000000 +0000
@@ -12,6 +12,7 @@
 // dumpstrm.cc
 #include <cstdio> // sprintf
+#include <cstdlib>
 #include <iostream>
 #include "dumpstrm.h"
--- src/swig/vbs_api.cc~	2007-04-04 12:50:32.000000000 +0000
+++ src/swig/vbs_api.cc	2007-04-04 12:50:38.000000000 +0000
@@ -11,6 +11,7 @@
 // vbs_api.cc
+#include <cstdlib>
 #include <csetjmp> // longjmp()
 #include <list>
 #include <sstream>

Martin Michlmayr

--- End Message ---
--- Begin Message ---
Source: vbs
Source-Version: 1.4.0-10

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

  to pool/main/v/vbs/vbs_1.4.0-10.diff.gz
  to pool/main/v/vbs/vbs_1.4.0-10.dsc
  to pool/main/v/vbs/vbs_1.4.0-10_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 417738@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Matej Vela <vela@debian.org> (supplier of updated vbs 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, 15 Apr 2007 21:40:48 +0200
Source: vbs
Binary: vbs
Architecture: source i386
Version: 1.4.0-10
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
 vbs        - Verilog Behavioral Simulation
Closes: 417738
 vbs (1.4.0-10) unstable; urgency=low
   * QA upload.
   * Add missing includes for GCC 4.3.  Thanks to Martin Michlmayr for
     the patch.  Closes: #417738.
   * debian/copyright: Update FSF address.
   * Conforms to Standards version 3.7.2.
 2b97007e9994715ad1ecac2385a2e0cd 567 electronics optional vbs_1.4.0-10.dsc
 21d5796c07ac0a13c9ec802ece4db21d 4051 electronics optional vbs_1.4.0-10.diff.gz
 58fe938b8cabe92109f249441683313b 336126 electronics optional vbs_1.4.0-10_i386.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: