Package: firefox-esr Version: 45.0.2esr-1 Severity: normal User: [email protected] Usertags: ftbfs-gcc-6
This package fails to build with GCC 6. GCC 6 has not been released yet, but will probably come out this week. You can find GCC 6 in unstable (gcc-6). To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > Unified_cpp_intl_uconv0.o > (deps) /<<PKGBUILDDIR>>/intl/icu/source/common/uloc_keytype.cpp > g++ -o mozStorageConnection.o -c > -I/<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers > -I/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers -include > /<<PKGBUILDDIR>>/config/gcc_hidden.h -DOS_POSIX=1 -DOS_LINUX=1 > -DSQLITE_MAX_LIKE_PATTERN_LENGTH=50000 -DSTATIC_EXPORTABLE_JS_API > -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/<<PKGBUILDDIR>>/storage -I. > -I../ipc/ipdl/_ipdlheaders -I/<<PKGBUILDDIR>>/ipc/chromium/src > -I/<<PKGBUILDDIR>>/ipc/glue -I/<<PKGBUILDDIR>>/db/sqlite3/src > -I/<<PKGBUILDDIR>>/dom/base -I../dist/include -I/usr/include/nspr > -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include ../mozilla-config.h > -MD -MP -MF .deps/mozStorageConnection.o.pp -Wdate-time -D_FORTIFY_SOURCE=2 > -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings > -Wno-invalid-offsetof -Wcast-align -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>>/storage/mozStorageConnection.cpp > Unified_cpp_storage0.o > In file included from > /<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers/cstdlib:34:0, > from /usr/include/c++/6/stdlib.h:36, > from > /<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/stdlib.h:3, > from /usr/lib/gcc/x86_64-linux-gnu/6/include/mm_malloc.h:27, > from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:34, > from /usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:31, > from /<<PKGBUILDDIR>>/intl/uconv/nsUTF8ToUnicodeSSE2.cpp:8: > ../../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); > ^ > (deps) /<<PKGBUILDDIR>>/intl/icu/source/common/unifiedcache.cpp > /<<PKGBUILDDIR>>/config/rules.mk:956: recipe for target > 'nsUTF8ToUnicodeSSE2.o' failed > make[5]: *** [nsUTF8ToUnicodeSSE2.o] Error 1 > make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-browser/intl/uconv' > /<<PKGBUILDDIR>>/config/recurse.mk:71: recipe for target 'intl/uconv/target' > failed > make[4]: *** [intl/uconv/target] Error 2 > make[4]: *** Waiting for unfinished jobs.... > g++ -o Unified_cpp_netwerk_base2.o -c > -I/<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers > -I/<<PKGBUILDDIR>>/build-browser/dist/system_wrappers -include > /<<PKGBUILDDIR>>/config/gcc_hidden.h -DOS_POSIX=1 -DOS_LINUX=1 > -DPREDICTOR_TESTS -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API > -DIMPL_LIBXUL -I/<<PKGBUILDDIR>>/netwerk/base -I. > -I../../ipc/ipdl/_ipdlheaders -I/<<PKGBUILDDIR>>/ipc/chromium/src > -I/<<PKGBUILDDIR>>/ipc/glue -I/<<PKGBUILDDIR>>/dom/base > -I/<<PKGBUILDDIR>>/netwerk/protocol/http -I../../dist/include > -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include > ../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_netwerk_base2.o.pp > -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Woverloaded-virtual > -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align > -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++0 > x -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -Os > -fomit-frame-pointer > /<<PKGBUILDDIR>>/build-browser/netwerk/base/Unified_cpp_netwerk_base2.cpp > Unified_cpp_netwerk_base3.o > In file included from > /<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers/cstdlib:34:0, > from /usr/include/c++/6/stdlib.h:36, > from > /<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/stdlib.h:3, > from > /<<PKGBUILDDIR>>/toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.cc:35, > from > /<<PKGBUILDDIR>>/build-browser/toolkit/crashreporter/google-breakpad/src/common/linux/Unified_cpp_src_common_linux0.cpp:11: > ../../../../../../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); > ^ > In file included from > /<<PKGBUILDDIR>>/build-browser/dist/stl_wrappers/cstdlib:34:0, > from /usr/include/c++/6/stdlib.h:36, > from > /<<PKGBUILDDIR>>/build-browser/dist/system_wrappers/stdlib.h:3, > from > /<<PKGBUILDDIR>>/image/decoders/icon/gtk/nsIconChannel.cpp:6: > ../../../../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); > ^ -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

