Your message dated Sun, 22 Aug 2010 15:02:17 +0000
with message-id <[email protected]>
and subject line Bug#505589: fixed in libsmbios 2.0.3.dfsg-1.1
has caused the Debian Bug report #505589,
regarding FTBFS with GCC 4.4: missing #include
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
505589: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505589
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsmbios
Version: 2.0.3.dfsg-1
User: [email protected]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of libsmbios_2.0.3.dfsg-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DPACKAGE_NAME=\"libsmbios\" -DPACKAGE_TARNAME=\"libsmbios\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsmbios\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBINTL_H=1 
> -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_FILE_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_PTRDIFF_T=1 
> -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MEMMOVE=1 
> -DHAVE_MEMSET=1 -DHAVE_MUNMAP=1 -DHAVE_STRERROR=1 -DHAVE_STRNDUP=1 
> -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DVERSION=\"2.0.3\" 
> -DPACKAGE_VERSION=\"2.0.3\" "-DPACKAGE_STRING=\"libsmbios 2.0.3\"" -I. 
> -I./include -I./include -I./libraries/common -I./libraries/common -g -O2 -MT 
> libraries/cmos/libraries_libsmbios_la-CmosRW.lo -MD -MP -MF 
> libraries/cmos/.deps/libraries_libsmbios_la-CmosRW.Tpo -c 
> libraries/cmos/CmosRW.cpp  -fPIC -DPIC -o 
> libraries/cmos/.libs/libraries_libsmbios_la-CmosRW.o
> In file included from ./include/smbios/config.hpp:36,
>                  from ./include/smbios/compat.h:23,
>                  from libraries/cmos/CmosRW.cpp:21:
> ./include/smbios/config/compiler/gcc.hpp:99:7: warning: #warning "Unknown 
> compiler version - please run the configure tests and report the results"
> libraries/cmos/CmosRW.cpp: In member function 'virtual u8 
> cmos::CmosRWFile::readByte(u32, u32, u32) const':
> libraries/cmos/CmosRW.cpp:125: error: 'fopen' was not declared in this scope
> libraries/cmos/CmosRW.cpp:129: error: 'fseek' was not declared in this scope
> libraries/cmos/CmosRW.cpp:130: error: 'fread' was not declared in this scope
> libraries/cmos/CmosRW.cpp:131: error: 'fclose' was not declared in this scope
> libraries/cmos/CmosRW.cpp: In member function 'virtual void 
> cmos::CmosRWFile::writeByte(u32, u32, u32, u8) const':
> libraries/cmos/CmosRW.cpp:147: error: 'fopen' was not declared in this scope
> libraries/cmos/CmosRW.cpp:151: error: 'fseek' was not declared in this scope
> libraries/cmos/CmosRW.cpp:152: error: 'fwrite' was not declared in this scope
> libraries/cmos/CmosRW.cpp:153: error: 'fclose' was not declared in this scope
> libraries/cmos/CmosRW.cpp:154: error: 'fflush' was not declared in this scope
> make[2]: *** [libraries/cmos/libraries_libsmbios_la-CmosRW.lo] Error 1
> make[2]: Leaving directory `/build/tbm/libsmbios-2.0.3.dfsg'

--- libraries/smi/SmiImpl.h~    2008-11-13 18:48:27.000000000 +0000
+++ libraries/smi/SmiImpl.h     2008-11-13 18:48:32.000000000 +0000
@@ -22,6 +22,8 @@
 #include "SmiLowLevel.h"
 #include "ExceptionImpl.h"
 
+#include <cstdio>
+
 namespace smi
 {
     // define our exceptions
--- libraries/smbios/SmbiosStrategy_Linux.cpp~  2008-11-13 18:47:29.000000000 
+0000
+++ libraries/smbios/SmbiosStrategy_Linux.cpp   2008-11-13 18:47:34.000000000 
+0000
@@ -20,6 +20,7 @@
 #define LIBSMBIOS_SOURCE
 #include "smbios/compat.h"
 
+#include <cstdio>
 #include <sstream>
 #include <string.h>
 
--- libraries/memory/Memory_Linux.cpp~  2008-11-13 18:46:18.000000000 +0000
+++ libraries/memory/Memory_Linux.cpp   2008-11-13 18:46:25.000000000 +0000
@@ -22,6 +22,7 @@
 
 #include <errno.h>
 #include <sys/mman.h>   /* mmap */
+#include <stdio.h>
 #include <unistd.h>     /* getpagesize */
 #include <string.h>     /* memcpy etc. */
 
--- libraries/cmos/CmosRW.cpp~  2008-11-13 18:45:18.000000000 +0000
+++ libraries/cmos/CmosRW.cpp   2008-11-13 18:45:25.000000000 +0000
@@ -19,6 +19,7 @@
 // compat header should always be first header if including system headers
 #define LIBSMBIOS_SOURCE
 #include "smbios/compat.h"
+#include <stdio.h>
 #include <errno.h>
 #include <string.h>
 #include "CmosRWImpl.h"

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



--- End Message ---
--- Begin Message ---
Source: libsmbios
Source-Version: 2.0.3.dfsg-1.1

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

libsmbios-bin_2.0.3.dfsg-1.1_amd64.deb
  to main/libs/libsmbios/libsmbios-bin_2.0.3.dfsg-1.1_amd64.deb
libsmbios-dev_2.0.3.dfsg-1.1_amd64.deb
  to main/libs/libsmbios/libsmbios-dev_2.0.3.dfsg-1.1_amd64.deb
libsmbios-doc_2.0.3.dfsg-1.1_all.deb
  to main/libs/libsmbios/libsmbios-doc_2.0.3.dfsg-1.1_all.deb
libsmbios2_2.0.3.dfsg-1.1_amd64.deb
  to main/libs/libsmbios/libsmbios2_2.0.3.dfsg-1.1_amd64.deb
libsmbios_2.0.3.dfsg-1.1.diff.gz
  to main/libs/libsmbios/libsmbios_2.0.3.dfsg-1.1.diff.gz
libsmbios_2.0.3.dfsg-1.1.dsc
  to main/libs/libsmbios/libsmbios_2.0.3.dfsg-1.1.dsc



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 protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Kern <[email protected]> (supplier of updated libsmbios 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 protected])


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

Format: 1.8
Date: Sun, 22 Aug 2010 16:28:25 +0200
Source: libsmbios
Binary: libsmbios2 libsmbios-dev libsmbios-bin libsmbios-doc
Architecture: source all amd64
Version: 2.0.3.dfsg-1.1
Distribution: unstable
Urgency: low
Maintainer: Jose Luis Tallon <[email protected]>
Changed-By: Philipp Kern <[email protected]>
Description: 
 libsmbios-bin - Provide access to (SM)BIOS information -- utility binaries
 libsmbios-dev - Provide access to (SM)BIOS information - development files
 libsmbios-doc - Access to (SM)BIOS information in an OS-indepent way (docs)
 libsmbios2 - Provide access to (SM)BIOS information -- dynamic library
Closes: 505589
Changes: 
 libsmbios (2.0.3.dfsg-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix compilation with GCC 4.4, thanks to Martin Michlmayr for the
     patch.  (Closes: #505589)
Checksums-Sha1: 
 17f4d8cc7da3eb666434328547f12c82227f35e5 1197 libsmbios_2.0.3.dfsg-1.1.dsc
 bd912ed47f1c7366caecd411f2bf9bdcf41f9a42 12343 libsmbios_2.0.3.dfsg-1.1.diff.gz
 650d277eb300fa1a7088fd601fb0582f16461bc9 26130540 
libsmbios-doc_2.0.3.dfsg-1.1_all.deb
 523db7bf35a0ee31e037053be63c67c9beb4af73 210540 
libsmbios2_2.0.3.dfsg-1.1_amd64.deb
 da417aa7379133358243024959cbbc5ea344a7ed 494902 
libsmbios-dev_2.0.3.dfsg-1.1_amd64.deb
 a8691f1e45dfdb912746cf7f7cd5aa30d5493d88 116240 
libsmbios-bin_2.0.3.dfsg-1.1_amd64.deb
Checksums-Sha256: 
 2dd5c601b419e881ee2ad393ab5bc2548fa8fa50a9430409a2f27df2c05487c9 1197 
libsmbios_2.0.3.dfsg-1.1.dsc
 f418c79dcba8d3d1c45ca85ae483009b08c2719eb85562775bffb90db9588cf5 12343 
libsmbios_2.0.3.dfsg-1.1.diff.gz
 27a186cc0dfbcb11bf686688492f2520613b8b26f7b2477a9c23709d9fe97165 26130540 
libsmbios-doc_2.0.3.dfsg-1.1_all.deb
 56df213104c6b77ffe8d0d166261077faf0a4414aaf0240582d331bfd0ff1090 210540 
libsmbios2_2.0.3.dfsg-1.1_amd64.deb
 94c3143f1355210e022007ee245b7ced1fbed716f5622d3e553e470a0616e4a9 494902 
libsmbios-dev_2.0.3.dfsg-1.1_amd64.deb
 35755a25fe125e19ce549dad4c21068aa7745b91931a9c906db1893d7beb94a1 116240 
libsmbios-bin_2.0.3.dfsg-1.1_amd64.deb
Files: 
 38a7ebcb57cda2516c7f2cd1af347783 1197 libs optional 
libsmbios_2.0.3.dfsg-1.1.dsc
 4538bf8ab6f1256529d39dfae71ff194 12343 libs optional 
libsmbios_2.0.3.dfsg-1.1.diff.gz
 ca4572eb69f99c0ffb9448a332a85bec 26130540 libs optional 
libsmbios-doc_2.0.3.dfsg-1.1_all.deb
 7ac408b1d4d4bf9fec47f6caaa518270 210540 libs optional 
libsmbios2_2.0.3.dfsg-1.1_amd64.deb
 53b87ef128bcb21a8e9a5e76f067f131 494902 libdevel optional 
libsmbios-dev_2.0.3.dfsg-1.1_amd64.deb
 3530f091dd989033b49b599a90706a35 116240 admin optional 
libsmbios-bin_2.0.3.dfsg-1.1_amd64.deb

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

iEYEARECAAYFAkxxOVgACgkQ7Ro5M7LPzdiqdACeOrFMmftn6SZb8Yi7eXcz5GcC
t8AAnjGt4iRoEMTVWU7d5AZ4HFW+Prt3
=zjg/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to