[Pkg-javascript-devel] Bug#667257: libv8: ftbfs with GCC-4.7

2012-04-03 Thread Matthias Klose
Package: libv8
Version: 3.7.12.22-3
Severity: important
Tags: sid wheezy
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.7

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

../src/string-search.h:401:3: error: assuming signed overflow does not occur 
when assuming that (X + c)  X is always false [-Werror=strict-overflow]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/libv8_3.7.12.22-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

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

[...]
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' 
'-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter 
-Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi 
-fvisibility=hidden -fPIC -fdata-sections -ffunction-sections 
-fomit-frame-pointer -O3  -MMD -MF 
/«PKGBUILDDIR»/out/x64.release/.deps//«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/hydrogen-instructions.o.d.raw
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -Wno-unused-but-set-variable -c -o 
/«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/hydrogen-instructions.o 
../src/hydrogen-instructions.cc
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' 
'-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter 
-Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi 
-fvisibility=hidden -fPIC -fdata-sections -ffunction-sections 
-fomit-frame-pointer -O3  -MMD -MF 
/«PKGBUILDDIR»/out/x64.release/.deps//«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/ic.o.d.raw
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -Wno-unused-but-set-variable -c -o 
/«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/ic.o ../src/ic.cc
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' 
'-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter 
-Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi 
-fvisibility=hidden -fPIC -fdata-sections -ffunction-sections 
-fomit-frame-pointer -O3  -MMD -MF 
/«PKGBUILDDIR»/out/x64.release/.deps//«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/incremental-marking.o.d.raw
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -Wno-unused-but-set-variable -c -o 
/«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/incremental-marking.o 
../src/incremental-marking.cc
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' 
'-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter 
-Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi 
-fvisibility=hidden -fPIC -fdata-sections -ffunction-sections 
-fomit-frame-pointer -O3  -MMD -MF 
/«PKGBUILDDIR»/out/x64.release/.deps//«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/inspector.o.d.raw
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -Wno-unused-but-set-variable -c -o 
/«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/inspector.o 
../src/inspector.cc
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' 
'-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter 
-Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi 
-fvisibility=hidden -fPIC -fdata-sections -ffunction-sections 
-fomit-frame-pointer -O3  -MMD -MF 
/«PKGBUILDDIR»/out/x64.release/.deps//«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/interpreter-irregexp.o.d.raw
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -Wno-unused-but-set-variable -c -o 
/«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/interpreter-irregexp.o 
../src/interpreter-irregexp.cc
  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' 
'-DV8_SHARED' -I../src -Wall -Werror -W -Wno-unused-parameter 
-Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi 
-fvisibility=hidden -fPIC -fdata-sections -ffunction-sections 
-fomit-frame-pointer -O3  -MMD -MF 
/«PKGBUILDDIR»/out/x64.release/.deps//«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/jsregexp.o.d.raw
 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -Wno-unused-but-set-variable -c -o 
/«PKGBUILDDIR»/out/x64.release/obj.target/v8_base/src/jsregexp.o 
../src/jsregexp.cc
  g++ 

[Pkg-javascript-devel] Bug#701312: libv8: ftbfs with GCC-4.8

2013-02-23 Thread Matthias Klose
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

[Pkg-javascript-devel] Bug#853573: nodejs: ftbfs with GCC-7

2017-01-31 Thread Matthias Klose
Package: src:nodejs
Version: 4.7.2~dfsg-1
Severity: normal
Tags: sid buster
User: debian-...@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/nodejs_4.7.2~dfsg-1_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

[...]
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra 
-Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3 
-ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++0x -MMD -MF 
/<>/out/Release/.deps//<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o.d.raw
 -g -O2 -fdebug-prefix-map=/<>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
/<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-filepath.o 
../deps/gtest/src/gtest-filepath.cc
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra 
-Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3 
-ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++0x -MMD -MF 
/<>/out/Release/.deps//<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-port.o.d.raw
 -g -O2 -fdebug-prefix-map=/<>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
/<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-port.o 
../deps/gtest/src/gtest-port.cc
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra 
-Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3 
-ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++0x -MMD -MF 
/<>/out/Release/.deps//<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-printers.o.d.raw
 -g -O2 -fdebug-prefix-map=/<>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
/<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-printers.o 
../deps/gtest/src/gtest-printers.cc
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra 
-Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3 
-ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++0x -MMD -MF 
/<>/out/Release/.deps//<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-test-part.o.d.raw
 -g -O2 -fdebug-prefix-map=/<>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
/<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-test-part.o 
../deps/gtest/src/gtest-test-part.cc
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra 
-Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3 
-ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++0x -MMD -MF 
/<>/out/Release/.deps//<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-typed-test.o.d.raw
 -g -O2 -fdebug-prefix-map=/<>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
/<>/out/Release/obj.target/gtest/deps/gtest/src/gtest-typed-test.o 
../deps/gtest/src/gtest-typed-test.cc
  g++  -I../deps/gtest -I../deps/gtest/include  -pthread -Wall -Wextra 
-Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3 
-ffunction-sections -fdata-sections -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++0x -MMD -MF 
/<>/out/Release/.deps//<>/out/Release/obj.target/gtest/deps/gtest/src/gtest.o.d.raw
 -g -O2 -fdebug-prefix-map=/<>=. 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
/<>/out/Release/obj.target/gtest/deps/gtest/src/gtest.o 
../deps/gtest/src/gtest.cc
  g++  -I../deps/gtest 

[Pkg-javascript-devel] Bug#853512: libv8-3.14: ftbfs with GCC-7

2017-01-31 Thread Matthias Klose
Package: src:libv8-3.14
Version: 3.14.5.8-11
Severity: normal
Tags: sid buster
User: debian-...@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/libv8-3.14_3.14.5.8-11_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

[...]
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/hydrogen-instructions.o'
 failed
make[2]: *** 
[/<>/out/x64.release/obj.target/v8_base/src/hydrogen-instructions.o]
 Error 1
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/lithium-allocator.o' 
failed
make[2]: *** 
[/<>/out/x64.release/obj.target/v8_base/src/lithium-allocator.o] 
Error 1
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/lithium.o' failed
make[2]: *** 
[/<>/out/x64.release/obj.target/v8_base/src/lithium.o] Error 1
../src/parser.cc: In member function 'v8::internal::Expression* 
v8::internal::Parser::ParsePrimaryExpression(bool*)':
../src/parser.cc:3648:33: error: this statement may fall through 
[-Werror=implicit-fallthrough=]
   if (allow_natives_syntax_ || extension_ != NULL) {
 ^
../src/parser.cc:3655:5: note: here
 default: {
 ^~~
../src/parser.cc: In member function 'v8::internal::RegExpTree* 
v8::internal::RegExpParser::ParseDisjunction()':
../src/parser.cc:5378:7: error: this statement may fall through 
[-Werror=implicit-fallthrough=]
   }
   ^
../src/parser.cc:5381:5: note: here
 default:
 ^~~
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/optimizing-compiler-thread.o'
 failed
make[2]: *** 
[/<>/out/x64.release/obj.target/v8_base/src/optimizing-compiler-thread.o]
 Error 1
cc1plus: all warnings being treated as errors
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/parser.o' failed
make[2]: *** [/<>/out/x64.release/obj.target/v8_base/src/parser.o] 
Error 1
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/hydrogen.o' failed
make[2]: *** 
[/<>/out/x64.release/obj.target/v8_base/src/hydrogen.o] Error 1
../src/objects.cc: In member function 'void 
v8::internal::JSObject::GetElementsCapacityAndUsage(int*, int*)':
../src/objects.cc:10298:7: error: this statement may fall through 
[-Werror=implicit-fallthrough=]
   if (IsJSArray()) {
   ^~
../src/objects.cc:10304:5: note: here
 case FAST_HOLEY_SMI_ELEMENTS:
 ^~~~
../src/objects.cc:10320:7: error: this statement may fall through 
[-Werror=implicit-fallthrough=]
   if (IsJSArray()) {
   ^~
../src/objects.cc:10326:5: note: here
 case FAST_HOLEY_DOUBLE_ELEMENTS: {
 ^~~~
cc1plus: all warnings being treated as errors
tools/gyp/v8_base.target.x64.mk:226: recipe for target 
'/<>/out/x64.release/obj.target/v8_base/src/objects.o' failed
make[2]: *** 
[/<>/out/x64.release/obj.target/v8_base/src/objects.o] Error 1
make[2]: Leaving directory '/<>/out'
Makefile:187: recipe for target 'x64.release' failed
make[1]: *** [x64.release] Error 2
make[1]: Leaving directory '/<>'
/usr/share/cdbs/1/class/makefile.mk:77: recipe for target 
'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build 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