[Pkg-chromium-maint] Bug#701256: chromium-browser: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:20:16 UTC 2013


Package: src:chromium-browser
Version: 24.0.1312.68-1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/chromium-browser_24.0.1312.68-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
		done ; \
	fi
if test -e /usr/share/gnulib/build-aux/config.rpath ; then \
		for i in ./src/third_party/yasm/source/patched-yasm/config/config.rpath ./src/third_party/libmtp/config.rpath ; do \
			if ! test -e $i.cdbs-orig ; then \
				mv $i $i.cdbs-orig ; \
				cp --remove-destination /usr/share/gnulib/build-aux/config.rpath $i ; \
			fi ; \
		done ; \
	fi
cd /«PKGBUILDDIR»/src && GYP_GENERATORS=make GYP_DEFINES="disable_sse2=1 google_api_key='AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k' google_default_client_id='811574891467.apps.googleusercontent.com' google_default_client_secret='kdloedMFGdGla2P1zacGjAQh' proprietary_codecs=1 use_gnome_keyring=1 linux_link_gnome_keyring=1 use_gconf=1 use_gio=1 disable_nacl=1 linux_use_gold_binary=0 linux_use_gold_flags=0 werror= linux_use_tcmalloc=0 linux_link_gsettings=1 target_arch=x64 ffmpeg_branding=Chrome use_system_bzip2=1 use_system_libjpeg=1 use_system_libpng=0 use_system_sqlite=0 use_system_libxml=1 use_system_libxslt=1 use_system_zlib=0 use_system_libevent=1 use_system_icu=0 use_system_yasm=1 use_system_ffmpeg=0 use_system_libvpx=1 use_system_xdg_utils=1 use_system_flac=1 use_system_libwebp=0 use_system_speex=1  use_pulseaudio=1 linux_sandbox_path=/usr/lib/chromium/chromium-sandbox linux_sandbox_chrome_path=/usr/lib/chromium/chromium " python build/gyp_chromium --no-circular-check build/all.gyp
Updating projects from gyp files...
touch debian/configure-stamp
# Populate the LASTCHANGE file template as we no longer have the VCS
# files at this point
echo "24.0.1312.68-1" > /«PKGBUILDDIR»/src/build/LASTCHANGE.in
# BUILD_ARGS=SYMBOLS=1 BUILDTYPE=Release
cp -p /usr/share/misc/config.guess src/third_party/yasm/source/patched-yasm/config
cp -p /usr/share/misc/config.sub src/third_party/yasm/source/patched-yasm/config
MAKEFLAGS=-j10 /usr/bin/make  -C /«PKGBUILDDIR»/src CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro"  SYMBOLS=1 BUILDTYPE=Release chrome chrome_sandbox 
make[1]: Entering directory `/«PKGBUILDDIR»/src'
  ACTION Generating version information out/Release/obj/gen/chrome/common/chrome_version_info_posix.h
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/substitute.o
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.o
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.o
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.pb.o
cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1plus: some warnings being treated as errors
make[1]: *** [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CXX(host) out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor_database.o
cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1plus: some warnings being treated as errors
cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1plus: some warnings being treated as errors
make[1]: *** [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/substitute.o] Error 1
make[1]: *** [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/structurally_valid.o] Error 1
cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1plus: some warnings being treated as errors
cc1plus: some warnings being treated as errors
cc1plus: some warnings being treated as errors
make[1]: *** [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.pb.o] Error 1
make[1]: *** [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor_database.o] Error 1
make[1]: *** [out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/descriptor.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»/src'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-chromium-maint mailing list