[Pkg-octave-devel] Bug#667304: octave-parallel: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:17 UTC 2012


Package: octave-parallel
Version: 2.0.5-2
Severity: important
Tags: sid wheezy
User: debian-gcc at 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.

connect.cc:41:29: error: 'read' 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/octave-parallel_2.0.5-2_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.

[...]
checking for gethostbyname... yes
checking for gethostname... yes
checking for modf... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking whether Octave version is <= 3.2.4... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
connect.cc: In function 'void read_if_no_error(int, void*, size_t, int)':
connect.cc:41:29: error: 'read' was not declared in this scope
connect.cc: In function 'void write_if_no_error(int, const void*, size_t, int)':
connect.cc:49:30: error: 'write' was not declared in this scope
connect.cc: In function 'octave_value_list Fconnect(const octave_value_list&, int)':
connect.cc:111:17: error: 'usleep' was not declared in this scope
connect.cc:128:17: error: 'getpid' was not declared in this scope
connect.cc:168:17: error: 'usleep' was not declared in this scope
connect.cc:247:18: error: 'close' was not declared in this scope
make[1]: *** [connect.oct] Error 1
'make' returned the following error: make[1]: Entering directory `/tmp/oct-uDgmPz/src'
/usr/bin/mkoctfile -s sclose.cc sock-stream.cc
/usr/bin/mkoctfile -s connect.cc sock-stream.cc
make[1]: Leaving directory `/tmp/oct-uDgmPz/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.6.1/m/pkg/pkg.m near line 1391, column 9
error: called from:
error:   /usr/share/octave/3.6.1/m/pkg/pkg.m at line 834, column 5
error:   /usr/share/octave/3.6.1/m/pkg/pkg.m at line 383, column 9
make: *** [install-pkg] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2





More information about the Pkg-octave-devel mailing list