Package: src:llvm-2.9 Version: 2.9+dfsg-6 Severity: serious Tags: sid wheezy User: debian-...@lists.debian.org Usertags: kfreebsd User: debian-...@lists.debian.org Usertags: ftbfs-gcc-4.7 X-Debbugs-Cc: debian-...@lists.debian.org Justification: fails to build from source (but built successfully in the past)
Hi, Related to #673266, there is some remaining code that FTBFS on kfreebsd-* and hurd-i386 with gcc-4.7: > if i486-kfreebsd-gnu-g++ > -I/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include > -Wno-missing-field-initializers -Wno-variadic-macros -DGTEST_HAS_RTTI=0 > -DGTEST_USE_OWN_TR1_TUPLE > -I/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/include > > -I/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest > > -I/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/include > > -I/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest > -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g > -O2 -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -pedantic > -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP > -MF > "/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.d.tmp" > -MT "/bu ild/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.o" -MT "/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.d" /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/gtest.cc -o /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.o ; \ > then /bin/mv -f > "/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.d.tmp" > > "/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.d"; > else /bin/rm > "/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.d.tmp"; > exit 1; fi > In file included from > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:40:0, > from > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/gtest.h:57, > from > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/gtest.cc:34: > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::IsATTY(int)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1318:45: > error: 'isatty' was not declared in this scope > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::RmDir(const char*)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1324:53: > error: 'rmdir' was not declared in this scope > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::ChDir(const char*)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1346:53: > error: 'chdir' was not declared in this scope > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::Read(int, void*, unsigned int)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1360:46: > error: 'read' was not declared in this scope > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::Write(int, const void*, unsigned > int)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1363:47: > error: 'write' was not declared in this scope > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::Close(int)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1365:43: > error: 'close' was not declared in this scope > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h: > In function 'int testing::internal::posix::IsATTY(int)': > /build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1318:48: > warning: control reaches end of non-void function [-Wreturn-type] > /bin/rm: cannot remove > `/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.d.tmp': > No such file or directory > make[4]: *** > [/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest/Release/gtest.o] > Error 1 > make[4]: Leaving directory > `/build/buildd-llvm-2.9_2.9+dfsg-6-kfreebsd-i386-VMyhG8/llvm-2.9-2.9+dfsg/build-llvm/utils/unittest/googletest' > make[3]: *** [googletest/.makeall] Error 2 Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org