[Pkg-chromium-maint] Bug#853347: chromium-browser: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:30:18 UTC 2017


Package: src:chromium-browser
Version: 55.0.2883.75-6
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/chromium-browser_55.0.2883.75-6_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
                 from ../../third_party/WebKit/Source/platform/heap/GarbageCollected.h:8,
                 from ../../third_party/WebKit/Source/platform/heap/Visitor.h:35,
                 from ../../third_party/WebKit/Source/platform/heap/GCInfo.h:8,
                 from ../../third_party/WebKit/Source/platform/heap/Heap.h:35,
                 from ../../third_party/WebKit/Source/platform/heap/Handle.h:34,
                 from ../../third_party/WebKit/public/platform/WebPrivatePtr.h:38,
                 from ../../third_party/WebKit/public/platform/WebString.h:35,
                 from ../../third_party/WebKit/Source/platform/exported/WebString.cpp:31:
../../third_party/WebKit/Source/wtf/LinkedHashSet.h: In member function 'void WTF::LinkedHashSet<Value, HashFunctions, HashTraits, Allocator>::swap(WTF::LinkedHashSet<Value, HashFunctions, HashTraits, Allocator>&)':
../../third_party/WebKit/Source/wtf/LinkedHashSet.h:636:3: error: there are no arguments to 'swapAnchor' that depend on a template parameter, so a declaration of 'swapAnchor' must be available [-fpermissive]
   swapAnchor(m_anchor, other.m_anchor);
   ^~~~~~~~~~
../../third_party/WebKit/Source/wtf/LinkedHashSet.h:636:3: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ../../third_party/WebKit/Source/wtf/text/TextEncoding.h:32:0,
                 from ../../third_party/WebKit/Source/wtf/text/StringUTF8Adaptor.h:37,
                 from ../../third_party/WebKit/Source/platform/exported/WebString.cpp:35:
../../third_party/WebKit/Source/wtf/text/TextCodec.h: At global scope:
../../third_party/WebKit/Source/wtf/text/TextCodec.h:76:51: warning: enum constant in boolean context [-Wint-in-bool-context]
 static_assert(DataEOF, "DataEOF should be truthy");
                                                   ^
[7553/24748] ACTION //content:resources_grit(//build/toolchain/linux:x64)
[7554/24748] CXX obj/third_party/ots/ots/name.o
[7555/24748] CXX obj/third_party/zlib/zip/zip.o
[7556/24748] CXX obj/skia/public/interfaces/interfaces_cpp_sources/bitmap_skbitmap_struct_traits.o
[7557/24748] CXX obj/third_party/ots/ots/layout.o
[7558/24748] ACTION //chrome/browser/resources:settings_resources_grit(//build/toolchain/linux:x64)
[7559/24748] CXX obj/skia/skia/SkSLIRGenerator.o
[7560/24748] CXX obj/third_party/widevine/cdm/widevinecdmadapter/ppapi_cdm_adapter.o
[7561/24748] CXX obj/skia/public/interfaces/interfaces_cpp_sources/image_filter.mojom.o
[7562/24748] CXX obj/skia/public/interfaces/interfaces_cpp_sources/bitmap.mojom.o
[7563/24748] CXX obj/skia/skia/SkGpuDevice.o
[7564/24748] CXX obj/third_party/ots/ots/ots.o
[7565/24748] CXX obj/skia/skia/SkSLSPIRVCodeGenerator.o
[7566/24748] CXX obj/third_party/zlib/zip/zip_reader.o
[7567/24748] CXX obj/skia/skia/SkPDFDevice.o
[7568/24748] CXX obj/skia/skia/GrGLAssembleInterface.o
[7569/24748] ACTION //components/resources:about_credits(//build/toolchain/linux:x64)
[7570/24748] CXX obj/skia/skia/SkSLParser.o
[7571/24748] ACTION //chrome/app:google_chrome_strings_grit(//build/toolchain/linux:x64)
[7572/24748] ACTION //chrome/app:chromium_strings_grit(//build/toolchain/linux:x64)
[7573/24748] ACTION //chrome/browser/resources:options_resources_grit(//build/toolchain/linux:x64)
[7574/24748] ACTION //components/strings:components_strings_grit(//build/toolchain/linux:x64)
[7575/24748] ACTION //chrome/app:generated_resources_grit(//build/toolchain/linux:x64)
ninja: build stopped: subcommand failed.
debian/rules:89: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:74: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2



More information about the Pkg-chromium-maint mailing list