[Pkg-tcltk-devel] Bug#831167: tkblt: FTBFS with GCC 6: src/tkbltVecMath.C:1483:48: error: overloaded function with no contextual type information

Lucas Nussbaum lucas at debian.org
Thu Jul 14 07:28:11 UTC 2016


Source: tkblt
Version: 3.2.1-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"tkblt\" -DPACKAGE_TARNAME=\"tkblt\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"tkblt\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tkblt=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -I./src -I"/usr/include/tcl8.6/tcl-private/generic" -I"/usr/include/tcl8.6/tcl-private/unix" -I"/usr/include/tcl8.6/tk-private/generic" -I"/usr/include/tcl8.6/tk-private/unix" -I"/usr/include/tcl8.6/tk-private/generic/ttk"     -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo src/tkbltVecMath.C` -o src/tkbltVecMath.o
> src/tkbltVecMath.C:1483:48: error: overloaded function with no contextual type information
>      {"acos", (void*)ComponentFunc, (ClientData)acos},
>                                                 ^~~~
> src/tkbltVecMath.C:1484:48: error: overloaded function with no contextual type information
>      {"asin", (void*)ComponentFunc, (ClientData)asin},
>                                                 ^~~~
> src/tkbltVecMath.C:1485:48: error: overloaded function with no contextual type information
>      {"atan", (void*)ComponentFunc, (ClientData)atan},
>                                                 ^~~~
> src/tkbltVecMath.C:1487:48: error: overloaded function with no contextual type information
>      {"ceil", (void*)ComponentFunc, (ClientData)ceil},
>                                                 ^~~~
> src/tkbltVecMath.C:1488:47: error: overloaded function with no contextual type information
>      {"cos", (void*)ComponentFunc, (ClientData)cos},
>                                                ^~~
> src/tkbltVecMath.C:1489:48: error: overloaded function with no contextual type information
>      {"cosh", (void*)ComponentFunc, (ClientData)cosh},
>                                                 ^~~~
> src/tkbltVecMath.C:1490:47: error: overloaded function with no contextual type information
>      {"exp", (void*)ComponentFunc, (ClientData)exp},
>                                                ^~~
> src/tkbltVecMath.C:1491:49: error: overloaded function with no contextual type information
>      {"floor", (void*)ComponentFunc, (ClientData)floor},
>                                                  ^~~~~
> src/tkbltVecMath.C:1494:47: error: overloaded function with no contextual type information
>      {"log", (void*)ComponentFunc, (ClientData)log},
>                                                ^~~
> src/tkbltVecMath.C:1495:49: error: overloaded function with no contextual type information
>      {"log10", (void*)ComponentFunc, (ClientData)log10},
>                                                  ^~~~~
> src/tkbltVecMath.C:1508:47: error: overloaded function with no contextual type information
>      {"sin", (void*)ComponentFunc, (ClientData)sin},
>                                                ^~~
> src/tkbltVecMath.C:1509:48: error: overloaded function with no contextual type information
>      {"sinh", (void*)ComponentFunc, (ClientData)sinh},
>                                                 ^~~~
> src/tkbltVecMath.C:1512:48: error: overloaded function with no contextual type information
>      {"sqrt", (void*)ComponentFunc, (ClientData)sqrt},
>                                                 ^~~~
> src/tkbltVecMath.C:1514:47: error: overloaded function with no contextual type information
>      {"tan", (void*)ComponentFunc, (ClientData)tan},
>                                                ^~~
> src/tkbltVecMath.C:1515:48: error: overloaded function with no contextual type information
>      {"tanh", (void*)ComponentFunc, (ClientData)tanh},
>                                                 ^~~~
> make[1]: *** [src/tkbltVecMath.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/tkblt_3.2.1-2_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-tcltk-devel mailing list