Source: icedove
Version: 1:45.2.0-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> c++ -o jemalloc_config.o -c -I/«PKGBUILDDIR»/obj-icedove/dist/stl_wrappers 
> -I/«PKGBUILDDIR»/obj-icedove/dist/system_wrappers -include 
> /«PKGBUILDDIR»/mozilla/config/gcc_hidden.h -DMOZ_MEMORY_IMPL 
> -I/«PKGBUILDDIR»/mozilla/memory/build -I.  -I../../dist/include  
> -I/usr/include/nspr -I/usr/include/nss   -I/usr/include 
> -I/usr/include/pixman-1   -fPIC  -DMOZILLA_CLIENT -include 
> ../../mozilla-config.h -MD -MP -MF .deps/jemalloc_config.o.pp -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare 
> -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions 
> -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections 
> -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG 
> -DTRIMMED -g -freorder-blocks -Os -fomit-frame-pointer     
> /«PKGBUILDDIR»/mozilla/memory/build/jemalloc_config.cpp
> In file included from 
> /«PKGBUILDDIR»/obj-icedove/dist/stl_wrappers/cstdlib:34:0,
>                  from /usr/include/c++/6/stdlib.h:36,
>                  from 
> /«PKGBUILDDIR»/obj-icedove/dist/system_wrappers/stdlib.h:3,
>                  from ../../dist/include/mozilla/Assertions.h:43,
>                  from 
> /«PKGBUILDDIR»/mozilla/memory/build/jemalloc_config.cpp:158:
> ../../dist/include/mozilla/mozalloc.h: In function 'void* operator 
> new(size_t, const std::nothrow_t&)':
> ../../dist/include/mozilla/mozalloc.h:192:28: error: 'malloc' was not 
> declared in this scope
>      return malloc_impl(size);
>                             ^
> ../../dist/include/mozilla/mozalloc.h: In function 'void* operator new 
> [](size_t, const std::nothrow_t&)':
> ../../dist/include/mozilla/mozalloc.h:204:28: error: 'malloc' was not 
> declared in this scope
>      return malloc_impl(size);
>                             ^
> ../../dist/include/mozilla/mozalloc.h: In function 'void operator 
> delete(void*)':
> ../../dist/include/mozilla/mozalloc.h:210:25: error: 'free' was not declared 
> in this scope
>      return free_impl(ptr);
>                          ^
> ../../dist/include/mozilla/mozalloc.h:210:25: error: return-statement with a 
> value, in function returning 'void' [-fpermissive]
> ../../dist/include/mozilla/mozalloc.h: In function 'void operator 
> delete(void*, const std::nothrow_t&)':
> ../../dist/include/mozilla/mozalloc.h:216:25: error: 'free' was not declared 
> in this scope
>      return free_impl(ptr);
>                          ^
> ../../dist/include/mozilla/mozalloc.h:216:25: error: return-statement with a 
> value, in function returning 'void' [-fpermissive]
> ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete 
> [](void*)':
> ../../dist/include/mozilla/mozalloc.h:222:25: error: 'free' was not declared 
> in this scope
>      return free_impl(ptr);
>                          ^
> ../../dist/include/mozilla/mozalloc.h:222:25: error: return-statement with a 
> value, in function returning 'void' [-fpermissive]
> ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete 
> [](void*, const std::nothrow_t&)':
> ../../dist/include/mozilla/mozalloc.h:228:25: error: 'free' was not declared 
> in this scope
>      return free_impl(ptr);
>                          ^
> ../../dist/include/mozilla/mozalloc.h:228:25: error: return-statement with a 
> value, in function returning 'void' [-fpermissive]
> ../../dist/include/mozilla/mozalloc.h: In function 'void* operator 
> new(size_t, const mozilla::fallible_t&)':
> ../../dist/include/mozilla/mozalloc.h:254:28: error: 'malloc' was not 
> declared in this scope
>      return malloc_impl(size);
>                             ^
> ../../dist/include/mozilla/mozalloc.h: In function 'void* operator new 
> [](size_t, const mozilla::fallible_t&)':
> ../../dist/include/mozilla/mozalloc.h:260:28: error: 'malloc' was not 
> declared in this scope
>      return malloc_impl(size);
>                             ^
> ../../dist/include/mozilla/mozalloc.h: In function 'void operator 
> delete(void*, const mozilla::fallible_t&)':
> ../../dist/include/mozilla/mozalloc.h:266:18: error: 'free' was not declared 
> in this scope
>      free_impl(ptr);
>                   ^
> ../../dist/include/mozilla/mozalloc.h: In function 'void operator delete 
> [](void*, const mozilla::fallible_t&)':
> ../../dist/include/mozilla/mozalloc.h:272:18: error: 'free' was not declared 
> in this scope
>      free_impl(ptr);
>                   ^
> ../../dist/include/mozilla/mozalloc.h: In member function 'void 
> InfallibleAllocPolicy::free_(void*)':
> ../../dist/include/mozilla/mozalloc.h:310:23: error: 'free' was not declared 
> in this scope
>          free_impl(aPtr);
>                        ^
> make[6]: *** [jemalloc_config.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/icedove_45.2.0-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to