Bug#820866: r-cran-tgp: FTBFS: cmath:171:3: error: template with C linkage
Chris Lamb
lamby at debian.org
Wed Apr 13 09:11:37 UTC 2016
Source: r-cran-tgp
Version: 2.4-9-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
r-cran-tgp fails to build from source in unstable/amd64:
[..]
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:171:3: error: template with C linkage
template<typename _Tp, typename _Up>
^
/usr/include/c++/5/cmath: In function 'long double std::ceil(long double)':
/usr/include/c++/5/cmath:188:23: error: conflicting declaration of C function 'long double std::ceil(long double)'
ceil(long double __x)
^
/usr/include/c++/5/cmath:184:3: note: previous declaration 'float std::ceil(float)'
ceil(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:192:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::cos(long double)':
/usr/include/c++/5/cmath:207:22: error: conflicting declaration of C function 'long double std::cos(long double)'
cos(long double __x)
^
/usr/include/c++/5/cmath:203:3: note: previous declaration 'float std::cos(float)'
cos(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:211:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::cosh(long double)':
/usr/include/c++/5/cmath:226:23: error: conflicting declaration of C function 'long double std::cosh(long double)'
cosh(long double __x)
^
/usr/include/c++/5/cmath:222:3: note: previous declaration 'float std::cosh(float)'
cosh(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:230:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::exp(long double)':
/usr/include/c++/5/cmath:245:22: error: conflicting declaration of C function 'long double std::exp(long double)'
exp(long double __x)
^
/usr/include/c++/5/cmath:241:3: note: previous declaration 'float std::exp(float)'
exp(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:249:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::fabs(long double)':
/usr/include/c++/5/cmath:264:23: error: conflicting declaration of C function 'long double std::fabs(long double)'
fabs(long double __x)
^
/usr/include/c++/5/cmath:260:3: note: previous declaration 'float std::fabs(float)'
fabs(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:268:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::floor(long double)':
/usr/include/c++/5/cmath:283:24: error: conflicting declaration of C function 'long double std::floor(long double)'
floor(long double __x)
^
/usr/include/c++/5/cmath:279:3: note: previous declaration 'float std::floor(float)'
floor(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:287:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::fmod(long double, long double)':
/usr/include/c++/5/cmath:302:40: error: conflicting declaration of C function 'long double std::fmod(long double, long double)'
fmod(long double __x, long double __y)
^
/usr/include/c++/5/cmath:298:3: note: previous declaration 'float std::fmod(float, float)'
fmod(float __x, float __y)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:306:3: error: template with C linkage
template<typename _Tp, typename _Up>
^
/usr/include/c++/5/cmath: In function 'long double std::frexp(long double, int*)':
/usr/include/c++/5/cmath:323:36: error: conflicting declaration of C function 'long double std::frexp(long double, int*)'
frexp(long double __x, int* __exp)
^
/usr/include/c++/5/cmath:319:3: note: previous declaration 'float std::frexp(float, int*)'
frexp(float __x, int* __exp)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:327:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::ldexp(long double, int)':
/usr/include/c++/5/cmath:342:35: error: conflicting declaration of C function 'long double std::ldexp(long double, int)'
ldexp(long double __x, int __exp)
^
/usr/include/c++/5/cmath:338:3: note: previous declaration 'float std::ldexp(float, int)'
ldexp(float __x, int __exp)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:346:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::log(long double)':
/usr/include/c++/5/cmath:361:22: error: conflicting declaration of C function 'long double std::log(long double)'
log(long double __x)
^
/usr/include/c++/5/cmath:357:3: note: previous declaration 'float std::log(float)'
log(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:365:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::log10(long double)':
/usr/include/c++/5/cmath:380:24: error: conflicting declaration of C function 'long double std::log10(long double)'
log10(long double __x)
^
/usr/include/c++/5/cmath:376:3: note: previous declaration 'float std::log10(float)'
log10(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:384:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::modf(long double, long double*)':
/usr/include/c++/5/cmath:399:44: error: conflicting declaration of C function 'long double std::modf(long double, long double*)'
modf(long double __x, long double* __iptr)
^
/usr/include/c++/5/cmath:395:3: note: previous declaration 'float std::modf(float, float*)'
modf(float __x, float* __iptr)
^
/usr/include/c++/5/cmath: In function 'long double std::pow(long double, long double)':
/usr/include/c++/5/cmath:411:39: error: conflicting declaration of C function 'long double std::pow(long double, long double)'
pow(long double __x, long double __y)
^
/usr/include/c++/5/cmath:407:3: note: previous declaration 'float std::pow(float, float)'
pow(float __x, float __y)
^
/usr/include/c++/5/cmath: In function 'double std::pow(double, int)':
/usr/include/c++/5/cmath:418:26: error: conflicting declaration of C function 'double std::pow(double, int)'
pow(double __x, int __i)
^
/usr/include/c++/5/cmath:411:3: note: previous declaration 'long double std::pow(long double, long double)'
pow(long double __x, long double __y)
^
/usr/include/c++/5/cmath:418:26: error: conflicting declaration of C function 'double std::pow(double, int)'
pow(double __x, int __i)
^
/usr/include/c++/5/cmath:407:3: note: previous declaration 'float std::pow(float, float)'
pow(float __x, float __y)
^
/usr/include/c++/5/cmath: In function 'float std::pow(float, int)':
/usr/include/c++/5/cmath:422:25: error: conflicting declaration of C function 'float std::pow(float, int)'
pow(float __x, int __n)
^
/usr/include/c++/5/cmath:418:3: note: previous declaration 'double std::pow(double, int)'
pow(double __x, int __i)
^
/usr/include/c++/5/cmath:422:25: error: conflicting declaration of C function 'float std::pow(float, int)'
pow(float __x, int __n)
^
/usr/include/c++/5/cmath:411:3: note: previous declaration 'long double std::pow(long double, long double)'
pow(long double __x, long double __y)
^
/usr/include/c++/5/cmath:422:25: error: conflicting declaration of C function 'float std::pow(float, int)'
pow(float __x, int __n)
^
/usr/include/c++/5/cmath:407:3: note: previous declaration 'float std::pow(float, float)'
pow(float __x, float __y)
^
/usr/include/c++/5/cmath: In function 'long double std::pow(long double, int)':
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function 'long double std::pow(long double, int)'
pow(long double __x, int __n)
^
/usr/include/c++/5/cmath:422:3: note: previous declaration 'float std::pow(float, int)'
pow(float __x, int __n)
^
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function 'long double std::pow(long double, int)'
pow(long double __x, int __n)
^
/usr/include/c++/5/cmath:418:3: note: previous declaration 'double std::pow(double, int)'
pow(double __x, int __i)
^
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function 'long double std::pow(long double, int)'
pow(long double __x, int __n)
^
/usr/include/c++/5/cmath:411:3: note: previous declaration 'long double std::pow(long double, long double)'
pow(long double __x, long double __y)
^
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function 'long double std::pow(long double, int)'
pow(long double __x, int __n)
^
/usr/include/c++/5/cmath:407:3: note: previous declaration 'float std::pow(float, float)'
pow(float __x, float __y)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:431:3: error: template with C linkage
template<typename _Tp, typename _Up>
^
/usr/include/c++/5/cmath: In function 'long double std::sin(long double)':
/usr/include/c++/5/cmath:448:22: error: conflicting declaration of C function 'long double std::sin(long double)'
sin(long double __x)
^
/usr/include/c++/5/cmath:444:3: note: previous declaration 'float std::sin(float)'
sin(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:452:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::sinh(long double)':
/usr/include/c++/5/cmath:467:23: error: conflicting declaration of C function 'long double std::sinh(long double)'
sinh(long double __x)
^
/usr/include/c++/5/cmath:463:3: note: previous declaration 'float std::sinh(float)'
sinh(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:471:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::sqrt(long double)':
/usr/include/c++/5/cmath:486:23: error: conflicting declaration of C function 'long double std::sqrt(long double)'
sqrt(long double __x)
^
/usr/include/c++/5/cmath:482:3: note: previous declaration 'float std::sqrt(float)'
sqrt(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:490:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::tan(long double)':
/usr/include/c++/5/cmath:505:22: error: conflicting declaration of C function 'long double std::tan(long double)'
tan(long double __x)
^
/usr/include/c++/5/cmath:501:3: note: previous declaration 'float std::tan(float)'
tan(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:509:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath: In function 'long double std::tanh(long double)':
/usr/include/c++/5/cmath:524:23: error: conflicting declaration of C function 'long double std::tanh(long double)'
tanh(long double __x)
^
/usr/include/c++/5/cmath:520:3: note: previous declaration 'float std::tanh(float)'
tanh(float __x)
^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:528:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:831:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:841:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:850:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:859:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:868:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:877:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:890:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:899:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:908:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:917:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:926:3: error: template with C linkage
template<typename _Tp>
^
/usr/include/c++/5/cmath:935:3: error: template with C linkage
template<typename _Tp>
^
/usr/lib/R/etc/Makeconf:139: recipe for target 'base.o' failed
make[1]: *** [base.o] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160413100854.Po7RDyxvZA.r-cran-tgp/r-cran-tgp-2.4-9/src'
make[1]: Entering directory '/home/lamby/temp/cdt.20160413100854.Po7RDyxvZA.r-cran-tgp/r-cran-tgp-2.4-9/src'
make[1]: Leaving directory '/home/lamby/temp/cdt.20160413100854.Po7RDyxvZA.r-cran-tgp/r-cran-tgp-2.4-9/src'
ERROR: compilation failed for package 'tgp'
* removing '/home/lamby/temp/cdt.20160413100854.Po7RDyxvZA.r-cran-tgp/r-cran-tgp-2.4-9/debian/r-cran-tgp/usr/lib/R/site-library/tgp'
/usr/share/R/debian/r-cran.mk:98: recipe for target 'R_any_arch' failed
make: *** [R_any_arch] Error 1
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r-cran-tgp.2.4-9-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 9137 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160413/c840dafc/attachment-0001.obj>
More information about the debian-science-maintainers
mailing list