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

[Pkg-octave-devel] Bug#701327: mwrap: ftbfs with GCC-4.8



Package: src:mwrap
Version: 0.33-1
Severity: important
Tags: sid jessie
User: debian-gcc@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/mwrap_0.33-1_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.

[...]
/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr
7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></
usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/sh
are/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/te
xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti12.pfb></usr/share/texlive/
texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texlive/texmf-
dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb>
Output written on mwrap.pdf (14 pages, 177346 bytes).
Transcript written on mwrap.log.
Latexmk: Log file says output to 'mwrap.pdf'
Latexmk: All targets (mwrap.pdf) are up-to-date
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_test -a
make[1]: Entering directory `/«PKGBUILDDIR»'
(cd testing; make)
make[2]: Entering directory `/«PKGBUILDDIR»/testing'
../mwrap -mex test_transfersmex \
		-c test_transfersmex.cc \
		-m test_transfers.m test_transfers.mw
mkoctfile --mex test_transfersmex.cc
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 test_transfersmex.cc:123:
/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[2]: *** [test_transfers] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/testing'
make[1]: *** [test] Error 2
dh_auto_test: make -j1 test returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 29
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



Reply to: