Package: src:libv8
Version: 3.8.9.20-2
Severity: important
Tags: sid jessie
User: debian-...@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.

  ../src/checks.h:259:22: error: typedef '__StaticAssertTypedef__440' locally 
defined but not used [-Werror=unused-local-typedefs]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/libv8_3.8.9.20-2_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.

[...]
../src/checks.h:291:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
../src/preparse-data.cc:75:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3);
   ^
cc1plus: all warnings being treated as errors
make[2]: *** 
[/«PKGBUILDDIR»/out/x64.release/obj.target/preparser_lib/src/preparse-data.o] 
Error 1
In file included from ../src/preparser-api.cc:36:0:
../src/scanner.h: In member function 'void v8::internal::Scanner::Init()':
../src/checks.h:259:22: error: typedef '__StaticAssertTypedef__440' locally 
defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
../src/checks.h:249:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
../src/checks.h:259:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
../src/checks.h:291:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
../src/scanner.h:440:5: note: in expansion of macro 'STATIC_ASSERT'
     STATIC_ASSERT(kCharacterLookaheadBufferSize == 1);
     ^
cc1plus: all warnings being treated as errors
In file included from ../src/preparser.cc:33:0:
../src/scanner.h: In member function 'void v8::internal::Scanner::Init()':
../src/checks.h:259:22: error: typedef '__StaticAssertTypedef__440' locally 
defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
../src/checks.h:249:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
../src/checks.h:259:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
../src/checks.h:291:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
../src/scanner.h:440:5: note: in expansion of macro 'STATIC_ASSERT'
     STATIC_ASSERT(kCharacterLookaheadBufferSize == 1);
     ^
make[2]: *** 
[/«PKGBUILDDIR»/out/x64.release/obj.target/preparser_lib/src/preparser-api.o] 
Error 1
cc1plus: all warnings being treated as errors
make[2]: *** 
[/«PKGBUILDDIR»/out/x64.release/obj.target/preparser_lib/src/preparser.o] 
Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/out'
make[1]: *** [x64.release] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to