[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667095: adept: ftbfs with GCC-4.7



Package: adept
Version: 3.0~beta7.2+qa1
Severity: important
Tags: sid wheezy
User: debian-gcc@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.

vocabulary.cc:140:40: error: 'lseek' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/adept_3.0~beta7.2+qa1_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.

[...]
/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/core/xapian.h: In constructor 'ept::core::xapian::List::List(Xapian::Enquire)':
/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/core/xapian.h:87:26: warning: unused variable 'e' [-Wunused-variable]
/usr/bin/cmake -E cmake_progress_report "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/CMakeFiles" 26
[  3%] Building CXX object ept/CMakeFiles/ept.dir/core/apt/recordparser.o
cd "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/ept" && /usr/bin/c++   -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -O2 -g -DNDEBUG -DQT_NO_DEBUG -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1" -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu" -I/usr/include/tagcoll-2.0.13    -fexceptions -fPIC -fvisibility=default -o CMakeFiles/ept.dir/core/apt/recordparser.o -c "/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/core/apt/recordparser.cpp"
/usr/bin/cmake -E cmake_progress_report "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/CMakeFiles" 27
[  4%] Building CXX object ept/CMakeFiles/ept.dir/core/apt/record.o
cd "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/ept" && /usr/bin/c++   -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -O2 -g -DNDEBUG -DQT_NO_DEBUG -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1" -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu" -I/usr/include/tagcoll-2.0.13    -fexceptions -fPIC -fvisibility=default -o CMakeFiles/ept.dir/core/apt/record.o -c "/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/core/apt/record.cpp"
/usr/bin/cmake -E cmake_progress_report "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/CMakeFiles" 28
[  5%] Building CXX object ept/CMakeFiles/ept.dir/progresscallback.o
cd "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/ept" && /usr/bin/c++   -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -O2 -g -DNDEBUG -DQT_NO_DEBUG -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1" -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu" -I/usr/include/tagcoll-2.0.13    -fexceptions -fPIC -fvisibility=default -o CMakeFiles/ept.dir/progresscallback.o -c "/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/progresscallback.cpp"
/usr/bin/cmake -E cmake_progress_report "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/CMakeFiles" 29
[  6%] Building CXX object ept/CMakeFiles/ept.dir/test.o
cd "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/ept" && /usr/bin/c++   -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -O2 -g -DNDEBUG -DQT_NO_DEBUG -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1" -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu" -I/usr/include/tagcoll-2.0.13    -fexceptions -fPIC -fvisibility=default -o CMakeFiles/ept.dir/test.o -c "/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/test.cpp"
/usr/bin/cmake -E cmake_progress_report "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/CMakeFiles" 30
[  7%] Building CXX object ept/CMakeFiles/ept.dir/debtags/vocabulary.o
cd "/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu/ept" && /usr/bin/c++   -D_BSD_SOURCE -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -O2 -g -DNDEBUG -DQT_NO_DEBUG -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1" -I"/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu" -I/usr/include/tagcoll-2.0.13    -fexceptions -fPIC -fvisibility=default -o CMakeFiles/ept.dir/debtags/vocabulary.o -c "/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/debtags/vocabulary.cc"
/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/debtags/vocabulary.cc: In constructor 'ept::debtags::Vocabulary::Vocabulary()':
/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/debtags/vocabulary.cc:140:40: error: 'lseek' was not declared in this scope
/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/debtags/vocabulary.cc: In destructor 'ept::debtags::Vocabulary::~Vocabulary()':
/«BUILDDIR»/adept-3.0~beta7.2+qa1/ept/debtags/vocabulary.cc:156:15: error: 'close' was not declared in this scope
make[3]: *** [ept/CMakeFiles/ept.dir/debtags/vocabulary.o] Error 1
make[3]: Leaving directory `/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu'
make[2]: *** [ept/CMakeFiles/ept.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«BUILDDIR»/adept-3.0~beta7.2+qa1/obj-x86_64-linux-gnu'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



Reply to: