Package: libsmbios
Version: 0.13.10-1
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 libsmbios_0.13.10-1 on em64t by sbuild/amd64 0.53
...
> mkdir libraries/memory/.libs
>  x86_64-linux-gnu-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=\"0.13.10\" -DPACKAGE_VERSION=\"0.13.10\" 
> "-DPACKAGE_STRING=\"libsmbios 0.13.10\"" -I. -I. -I./include -I./include 
> -I./libraries/common -I./libraries/common -g -O2 -MT 
> libraries/memory/libraries_libsmbios_la-Memory.lo -MD -MP -MF 
> libraries/memory/.deps/libraries_libsmbios_la-Memory.Tpo -c 
> libraries/memory/Memory.cpp  -fPIC -DPIC -o 
> libraries/memory/.libs/libraries_libsmbios_la-Memory.o
> libraries/memory/Memory.cpp: In constructor 
> 'memory::MemoryFile::MemoryFile(std::string)':
> libraries/memory/Memory.cpp:117: error: 'strerror' was not declared in this 
> scope
> libraries/memory/Memory.cpp: In member function 'virtual void 
> memory::MemoryFile::fillBuffer(u8*, u64, unsigned int) const':
> libraries/memory/Memory.cpp:156: error: 'strerror' was not declared in this 
> scope
> libraries/memory/Memory.cpp:166: error: 'strerror' was not declared in this 
> scope
> libraries/memory/Memory.cpp:184: error: 'strerror' was not declared in this 
> scope
> libraries/memory/Memory.cpp: In member function 'virtual void 
> memory::MemoryFile::putByte(u64, u8) const':
> libraries/memory/Memory.cpp:210: error: 'strerror' was not declared in this 
> scope
> libraries/memory/Memory.cpp:220: error: 'strerror' was not declared in this 
> scope
> libraries/memory/Memory.cpp:235: error: 'strerror' was not declared in this 
> scope
> make[2]: *** [libraries/memory/libraries_libsmbios_la-Memory.lo] Error 1
> make[2]: Leaving directory `/build/tbm/libsmbios-0.13.10'

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


Reply via email to