Source: doomsday Version: 1.15.5-1 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, doomsday fails to build from source in unstable/amd64: [..] src/vector1.c:933:19: error: incompatible type for argument 2 of 'V3d_Set' V3d_Set(dest, srcf[VX], srcf[VY], srcf[VZ]); ^ src/vector1.c:885:6: note: expected 'vectorcompd_t {aka double}' but argument is of type 'const float *' void V3d_Set(pvec3d_t vec, vectorcompd_t x, vectorcompd_t y, vectorcompd_t z) ^ src/vector1.c:933:29: error: incompatible type for argument 3 of 'V3d_Set' V3d_Set(dest, srcf[VX], srcf[VY], srcf[VZ]); ^ src/vector1.c:885:6: note: expected 'vectorcompd_t {aka double}' but argument is of type 'const float *' void V3d_Set(pvec3d_t vec, vectorcompd_t x, vectorcompd_t y, vectorcompd_t z) ^ src/vector1.c:933:39: error: incompatible type for argument 4 of 'V3d_Set' V3d_Set(dest, srcf[VX], srcf[VY], srcf[VZ]); ^ src/vector1.c:885:6: note: expected 'vectorcompd_t {aka double}' but argument is of type 'const float *' void V3d_Set(pvec3d_t vec, vectorcompd_t x, vectorcompd_t y, vectorcompd_t z) ^ src/vector1.c: In function 'V3d_Sum': src/vector1.c:945:25: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[VX] = src1[VX] + src2[VX]; ^ src/vector1.c:946:25: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[VY] = src1[VY] + src2[VY]; ^ src/vector1.c:947:25: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[VZ] = src1[VZ] + src2[VZ]; ^ src/vector1.c: In function 'V3d_DotProduct': src/vector1.c:959:18: error: invalid operands to binary * (have 'const double *' and 'const double *') return a[VX] * b[VX] + a[VY] * b[VY] + a[VZ] * b[VZ]; ^ src/vector1.c:959:34: error: invalid operands to binary * (have 'const double *' and 'const double *') return a[VX] * b[VX] + a[VY] * b[VY] + a[VZ] * b[VZ]; ^ src/vector1.c:959:50: error: invalid operands to binary * (have 'const double *' and 'const double *') return a[VX] * b[VX] + a[VY] * b[VY] + a[VZ] * b[VZ]; ^ src/vector1.c: In function 'V3d_DotProductf': src/vector1.c:966:30: warning: passing argument 2 of 'V3d_DotProduct' from incompatible pointer type [-Wincompatible-pointer-types] return V3d_DotProduct(a, b); ^ src/vector1.c:957:8: note: expected 'const double (*)[3]' but argument is of type 'vectorcompd_t * {aka double *}' double V3d_DotProduct(const_pvec3d_t a, const_pvec3d_t b) ^ src/vector1.c: In function 'V3d_CrossProduct': src/vector1.c:971:25: error: invalid operands to binary * (have 'const double *' and 'const double *') dest[VX] = src1[VY] * src2[VZ] - src1[VZ] * src2[VY]; ^ src/vector1.c:971:47: error: invalid operands to binary * (have 'const double *' and 'const double *') dest[VX] = src1[VY] * src2[VZ] - src1[VZ] * src2[VY]; ^ src/vector1.c:972:25: error: invalid operands to binary * (have 'const double *' and 'const double *') dest[VY] = src1[VZ] * src2[VX] - src1[VX] * src2[VZ]; ^ src/vector1.c:972:47: error: invalid operands to binary * (have 'const double *' and 'const double *') dest[VY] = src1[VZ] * src2[VX] - src1[VX] * src2[VZ]; ^ src/vector1.c:973:25: error: invalid operands to binary * (have 'const double *' and 'const double *') dest[VZ] = src1[VX] * src2[VY] - src1[VY] * src2[VX]; ^ src/vector1.c:973:47: error: invalid operands to binary * (have 'const double *' and 'const double *') dest[VZ] = src1[VX] * src2[VY] - src1[VY] * src2[VX]; ^ src/vector1.c: In function 'V3d_PointCrossProduct': src/vector1.c:982:28: warning: passing argument 2 of 'V3d_CrossProduct' from incompatible pointer type [-Wincompatible-pointer-types] V3d_CrossProduct(dest, a, b); ^ src/vector1.c:969:6: note: expected 'const double (*)[3]' but argument is of type 'vectorcompd_t * {aka double *}' void V3d_CrossProduct(pvec3d_t dest, const_pvec3d_t src1, const_pvec3d_t src2) ^ src/vector1.c:982:31: warning: passing argument 3 of 'V3d_CrossProduct' from incompatible pointer type [-Wincompatible-pointer-types] V3d_CrossProduct(dest, a, b); ^ src/vector1.c:969:6: note: expected 'const double (*)[3]' but argument is of type 'vectorcompd_t * {aka double *}' void V3d_CrossProduct(pvec3d_t dest, const_pvec3d_t src1, const_pvec3d_t src2) ^ src/vector1.c: In function 'V3d_ClosestPointOnPlane': src/vector1.c:992:44: warning: passing argument 2 of 'V3d_DotProduct' from incompatible pointer type [-Wincompatible-pointer-types] distance = V3d_DotProduct(planeNormal, pvec); ^ src/vector1.c:957:8: note: expected 'const double (*)[3]' but argument is of type 'vectorcompd_t * {aka double *}' double V3d_DotProduct(const_pvec3d_t a, const_pvec3d_t b) ^ src/vector1.c:996:34: warning: passing argument 3 of 'V3d_Subtract' from incompatible pointer type [-Wincompatible-pointer-types] V3d_Subtract(dest, arbPoint, dest); ^ src/vector1.c:950:6: note: expected 'const double (*)[3]' but argument is of type 'pvec3d_t {aka double *}' void V3d_Subtract(pvec3d_t dest, const_pvec3d_t src1, const_pvec3d_t src2) ^ src/vector1.c: In function 'V3d_ClosestPointOnPlanef': src/vector1.c:1006:42: warning: passing argument 2 of 'V3d_ClosestPointOnPlane' from incompatible pointer type [-Wincompatible-pointer-types] return V3d_ClosestPointOnPlane(dest, planeNormal, planePoint, arbPoint); ^ src/vector1.c:985:8: note: expected 'const double (*)[3]' but argument is of type 'vectorcompd_t * {aka double *}' double V3d_ClosestPointOnPlane(pvec3d_t dest, const_pvec3d_t planeNormal, ^ src/vector1.c: In function 'V3d_MajorAxis': src/vector1.c:1014:22: error: incompatible type for argument 1 of 'fabs' V3d_Set(fn, fabs(vec[VX]), fabs(vec[VY]), fabs(vec[VZ])); ^ In file included from /usr/include/features.h:361:0, from /usr/include/math.h:26, from src/vector1.c:22: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:181:1: note: expected 'double' but argument is of type 'const double *' __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); ^ src/vector1.c:1014:37: error: incompatible type for argument 1 of 'fabs' V3d_Set(fn, fabs(vec[VX]), fabs(vec[VY]), fabs(vec[VZ])); ^ In file included from /usr/include/features.h:361:0, from /usr/include/math.h:26, from src/vector1.c:22: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:181:1: note: expected 'double' but argument is of type 'const double *' __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); ^ src/vector1.c:1014:52: error: incompatible type for argument 1 of 'fabs' V3d_Set(fn, fabs(vec[VX]), fabs(vec[VY]), fabs(vec[VZ])); ^ In file included from /usr/include/features.h:361:0, from /usr/include/math.h:26, from src/vector1.c:22: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:181:1: note: expected 'double' but argument is of type 'const double *' __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); ^ src/vector1.c: In function 'V3d_Lerp': src/vector1.c:1035:24: error: invalid operands to binary + (have 'const double *' and 'double') dest[i] = a[i] + c * (b[i] - a[i]); ^ src/vector1.c: In function 'V3d_BuildTangents': src/vector1.c:1049:22: error: incompatible type for argument 1 of 'fabs' V3d_Set(fn, fabs(normal[VX]), fabs(normal[VY]), fabs(normal[VZ])); ^ In file included from /usr/include/features.h:361:0, from /usr/include/math.h:26, from src/vector1.c:22: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:181:1: note: expected 'double' but argument is of type 'const double *' __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); ^ src/vector1.c:1049:40: error: incompatible type for argument 1 of 'fabs' V3d_Set(fn, fabs(normal[VX]), fabs(normal[VY]), fabs(normal[VZ])); ^ In file included from /usr/include/features.h:361:0, from /usr/include/math.h:26, from src/vector1.c:22: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:181:1: note: expected 'double' but argument is of type 'const double *' __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); ^ src/vector1.c:1049:58: error: incompatible type for argument 1 of 'fabs' V3d_Set(fn, fabs(normal[VX]), fabs(normal[VY]), fabs(normal[VZ])); ^ In file included from /usr/include/features.h:361:0, from /usr/include/math.h:26, from src/vector1.c:22: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:181:1: note: expected 'double' but argument is of type 'const double *' __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); ^ src/vector1.c:1061:37: error: invalid operands to binary > (have 'const double *' and 'float') if(axis == VX && normal[VX] > 0.f) ^ src/vector1.c:1070:37: error: invalid operands to binary > (have 'const double *' and 'float') if(axis == VY && normal[VY] > 0.f) ^ src/vector1.c:1087:35: warning: passing argument 2 of 'V3d_CrossProduct' from incompatible pointer type [-Wincompatible-pointer-types] V3d_CrossProduct(tangent, (pvec3d_t)rotm[axis], normal); ^ src/vector1.c:969:6: note: expected 'const double (*)[3]' but argument is of type 'vectorcompd_t * {aka double *}' void V3d_CrossProduct(pvec3d_t dest, const_pvec3d_t src1, const_pvec3d_t src2) ^ src/vector1.c:1091:33: warning: passing argument 2 of 'V3d_CrossProduct' from incompatible pointer type [-Wincompatible-pointer-types] V3d_CrossProduct(bitangent, tangent, normal); ^ src/vector1.c:969:6: note: expected 'const double (*)[3]' but argument is of type 'pvec3d_t {aka double *}' void V3d_CrossProduct(pvec3d_t dest, const_pvec3d_t src1, const_pvec3d_t src2) ^ src/vector1.c: In function 'V4f_Length': src/vector1.c:1114:32: error: invalid operands to binary * (have 'const float *' and 'const float *') return (float) sqrt(vec[0] * vec[0] + vec[1] * vec[1] + ^ src/vector1.c:1114:50: error: invalid operands to binary * (have 'const float *' and 'const float *') return (float) sqrt(vec[0] * vec[0] + vec[1] * vec[1] + ^ src/vector1.c:1115:32: error: invalid operands to binary * (have 'const float *' and 'const float *') vec[2] * vec[2] + vec[3] * vec[3]); ^ src/vector1.c:1115:50: error: invalid operands to binary * (have 'const float *' and 'const float *') vec[2] * vec[2] + vec[3] * vec[3]); ^ src/vector1.c: In function 'V4f_Distance': src/vector1.c:1122:23: warning: passing argument 1 of 'V4f_Length' from incompatible pointer type [-Wincompatible-pointer-types] return V4f_Length(vec); ^ src/vector1.c:1111:7: note: expected 'const float (*)[4]' but argument is of type 'vectorcompf_t * {aka float *}' float V4f_Length(const_pvec4f_t vec) ^ src/vector1.c: In function 'V4f_Normalize': src/vector1.c:1127:28: warning: passing argument 1 of 'V4f_Length' from incompatible pointer type [-Wincompatible-pointer-types] float len = V4f_Length(vec); ^ src/vector1.c:1111:7: note: expected 'const float (*)[4]' but argument is of type 'pvec4f_t {aka float *}' float V4f_Length(const_pvec4f_t vec) ^ src/vector1.c: In function 'V4f_Copy': src/vector1.c:1140:13: error: incompatible types when assigning to type 'vectorcompf_t {aka float}' from type 'const float *' dest[0] = src[0]; ^ src/vector1.c:1141:13: error: incompatible types when assigning to type 'vectorcompf_t {aka float}' from type 'const float *' dest[1] = src[1]; ^ src/vector1.c:1142:13: error: incompatible types when assigning to type 'vectorcompf_t {aka float}' from type 'const float *' dest[2] = src[2]; ^ src/vector1.c:1143:13: error: incompatible types when assigning to type 'vectorcompf_t {aka float}' from type 'const float *' dest[3] = src[3]; ^ src/vector1.c: In function 'V4f_Sum': src/vector1.c:1156:23: error: invalid operands to binary + (have 'const float *' and 'const float *') dest[0] = src1[0] + src2[0]; ^ src/vector1.c:1157:23: error: invalid operands to binary + (have 'const float *' and 'const float *') dest[1] = src1[1] + src2[1]; ^ src/vector1.c:1158:23: error: invalid operands to binary + (have 'const float *' and 'const float *') dest[2] = src1[2] + src2[2]; ^ src/vector1.c:1159:23: error: invalid operands to binary + (have 'const float *' and 'const float *') dest[3] = src1[3] + src2[3]; ^ src/vector1.c: In function 'V4f_Lerp': src/vector1.c:1180:24: error: invalid operands to binary + (have 'const float *' and 'float') dest[i] = a[i] + c * (b[i] - a[i]); ^ src/vector1.c: In function 'V4d_Length': src/vector1.c:1203:24: error: invalid operands to binary * (have 'const double *' and 'const double *') return sqrt(vec[0] * vec[0] + vec[1] * vec[1] + ^ src/vector1.c:1203:42: error: invalid operands to binary * (have 'const double *' and 'const double *') return sqrt(vec[0] * vec[0] + vec[1] * vec[1] + ^ src/vector1.c:1204:24: error: invalid operands to binary * (have 'const double *' and 'const double *') vec[2] * vec[2] + vec[3] * vec[3]); ^ src/vector1.c:1204:42: error: invalid operands to binary * (have 'const double *' and 'const double *') vec[2] * vec[2] + vec[3] * vec[3]); ^ src/vector1.c: In function 'V4d_Distance': src/vector1.c:1211:23: warning: passing argument 1 of 'V4d_Length' from incompatible pointer type [-Wincompatible-pointer-types] return V4d_Length(vec); ^ src/vector1.c:1200:8: note: expected 'const double (*)[4]' but argument is of type 'vectorcompd_t * {aka double *}' double V4d_Length(const_pvec4d_t vec) ^ src/vector1.c: In function 'V4d_Normalize': src/vector1.c:1216:29: warning: passing argument 1 of 'V4d_Length' from incompatible pointer type [-Wincompatible-pointer-types] double len = V4d_Length(vec); ^ src/vector1.c:1200:8: note: expected 'const double (*)[4]' but argument is of type 'pvec4d_t {aka double *}' double V4d_Length(const_pvec4d_t vec) ^ src/vector1.c: In function 'V4d_Copy': src/vector1.c:1229:13: error: incompatible types when assigning to type 'vectorcompd_t {aka double}' from type 'const double *' dest[0] = src[0]; ^ src/vector1.c:1230:13: error: incompatible types when assigning to type 'vectorcompd_t {aka double}' from type 'const double *' dest[1] = src[1]; ^ src/vector1.c:1231:13: error: incompatible types when assigning to type 'vectorcompd_t {aka double}' from type 'const double *' dest[2] = src[2]; ^ src/vector1.c:1232:13: error: incompatible types when assigning to type 'vectorcompd_t {aka double}' from type 'const double *' dest[3] = src[3]; ^ src/vector1.c: In function 'V4d_Sum': src/vector1.c:1245:23: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[0] = src1[0] + src2[0]; ^ src/vector1.c:1246:23: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[1] = src1[1] + src2[1]; ^ src/vector1.c:1247:23: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[2] = src1[2] + src2[2]; ^ src/vector1.c:1248:23: error: invalid operands to binary + (have 'const double *' and 'const double *') dest[3] = src1[3] + src2[3]; ^ src/vector1.c: In function 'V4d_Lerp': src/vector1.c:1269:24: error: invalid operands to binary + (have 'const double *' and 'double') dest[i] = a[i] + c * (b[i] - a[i]); ^ Makefile:348: recipe for target 'vector1.o' failed make[2]: *** [vector1.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/lamby/temp/cdt.20151228221550.b2CJabzvj2/doomsday-1.15.5/doomsday/liblegacy' Makefile:123: recipe for target 'sub-liblegacy-make_default-ordered' failed make[1]: *** [sub-liblegacy-make_default-ordered] Error 2 make[1]: Leaving directory '/home/lamby/temp/cdt.20151228221550.b2CJabzvj2/doomsday-1.15.5/doomsday' dh_auto_build: make -j8 returned exit code 2 cd /home/lamby/temp/cdt.20151228221550.b2CJabzvj2/doomsday-1.15.5 debian/rules:16: recipe for target 'build' failed make: *** [build] Error 25 [..] The full build log is attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
doomsday.1.15.5-1.unstable.amd64.log.txt.gz
Description: Binary data