[Pkg-octave-devel] Bug#701329: octave-nan: ftbfs with GCC-4.8
Matthias Klose
doko at debian.org
Sat Feb 23 11:21:32 UTC 2013
Package: src:octave-nan
Version: 2.5.5-2
Severity: important
Tags: sid jessie
User: debian-gcc at 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.
cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with
The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/octave-nan_2.5.5-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.
[...]
Checking the Octave version... ok
mkdir -p /«PKGBUILDDIR»/debian/octave-nan/usr/share/octave/packages \
/«PKGBUILDDIR»/debian/octave-nan/usr/lib/x86_64-linux-gnu/octave/packages
[ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak
make: [install-pkg] Error 1 (ignored)
/usr/bin/octave --no-history --silent --no-init-file --eval \
"pkg ('prefix', [pwd(),'/debian/octave-nan/usr/share/octave/packages'], \
[pwd(),'/debian/octave-nan/usr/lib/x86_64-linux-gnu/octave/packages']); \
pkg ('local_list', [pwd(),'/local-list']); \
pkg ('global_list', [pwd(),'/global-list']); \
if (exist ('PKG_ADD.bak') == 2), \
movefile ('PKG_ADD.bak', 'PKG_ADD'); \
endif; \
pkg -verbose -nodeps install ."
warning: X11 DISPLAY environment variable not set
mkdir (/tmp/oct-sllDKr)
Copying directory (., /tmp/oct-sllDKr)
In file included from /usr/include/octave-3.6.2/octave/mexproto.h:52:0,
from /usr/include/octave-3.6.2/octave/mex.h:77,
from histo_mex.cpp:47:
/usr/include/c++/4.8/cstdlib: In function 'long long int std::abs(long long int)':
/usr/include/c++/4.8/cstdlib:174:20: error: declaration of C function 'long long int std::abs(long long int)' conflicts with
abs(long long __x) { return __builtin_llabs (__x); }
^
/usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here
abs(long __i) { return __builtin_labs(__i); }
^
/usr/include/c++/4.8/cstdlib: In function '__int128 std::abs(__int128)':
/usr/include/c++/4.8/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with
abs(__int128 __x) { return __x >= 0 ? __x : -__x; }
^
/usr/include/c++/4.8/cstdlib:174:3: error: previous declaration 'long long int std::abs(long long int)' here
abs(long long __x) { return __builtin_llabs (__x); }
^
/usr/include/c++/4.8/cstdlib:179:19: error: declaration of C function '__int128 std::abs(__int128)' conflicts with
abs(__int128 __x) { return __x >= 0 ? __x : -__x; }
^
/usr/include/c++/4.8/cstdlib:166:3: error: previous declaration 'long int std::abs(long int)' here
abs(long __i) { return __builtin_labs(__i); }
^
make[1]: *** [histo_mex.mex] Error 1
'make' returned the following error: make[1]: Entering directory `/tmp/oct-sllDKr/src'
mkoctfile --mex histo_mex.cpp -lgomp ## Octave
make[1]: Leaving directory `/tmp/oct-sllDKr/src'
error: called from `pkg>configure_make' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1391, column 9
error: called from:
error: /usr/share/octave/3.6.2/m/pkg/pkg.m at line 834, column 5
error: /usr/share/octave/3.6.2/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