Bug#831155: vdr-plugin-sudoku: FTBFS with GCC 6: cstdlib:124:11: error: '::div_t' has not been declared
Lucas Nussbaum
lucas at debian.org
Thu Jul 14 07:29:28 UTC 2016
Source: vdr-plugin-sudoku
Version: 0.3.5-19
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):
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-z,relro -I/usr/include/vdr/include -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"sudoku"' -Wdate-time -D_FORTIFY_SOURCE=2 -c -o generator.o generator.cpp
> In file included from /usr/include/c++/6/stdlib.h:36:0,
> from sudoku.h:35,
> from generator.h:24,
> from generator.cpp:22:
> /usr/include/c++/6/cstdlib:124:11: error: '::div_t' has not been declared
> using ::div_t;
> ^~~~~
> /usr/include/c++/6/cstdlib:125:11: error: '::ldiv_t' has not been declared
> using ::ldiv_t;
> ^~~~~~
> /usr/include/c++/6/cstdlib:127:11: error: '::abort' has not been declared
> using ::abort;
> ^~~~~
> /usr/include/c++/6/cstdlib:128:11: error: '::abs' has not been declared
> using ::abs;
> ^~~
> /usr/include/c++/6/cstdlib:129:11: error: '::atexit' has not been declared
> using ::atexit;
> ^~~~~~
> /usr/include/c++/6/cstdlib:132:11: error: '::at_quick_exit' has not been declared
> using ::at_quick_exit;
> ^~~~~~~~~~~~~
> /usr/include/c++/6/cstdlib:135:11: error: '::atof' has not been declared
> using ::atof;
> ^~~~
> /usr/include/c++/6/cstdlib:136:11: error: '::atoi' has not been declared
> using ::atoi;
> ^~~~
> /usr/include/c++/6/cstdlib:137:11: error: '::atol' has not been declared
> using ::atol;
> ^~~~
> /usr/include/c++/6/cstdlib:138:11: error: '::bsearch' has not been declared
> using ::bsearch;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:139:11: error: '::calloc' has not been declared
> using ::calloc;
> ^~~~~~
> /usr/include/c++/6/cstdlib:140:11: error: '::div' has not been declared
> using ::div;
> ^~~
> /usr/include/c++/6/cstdlib:141:11: error: '::exit' has not been declared
> using ::exit;
> ^~~~
> /usr/include/c++/6/cstdlib:142:11: error: '::free' has not been declared
> using ::free;
> ^~~~
> /usr/include/c++/6/cstdlib:143:11: error: '::getenv' has not been declared
> using ::getenv;
> ^~~~~~
> /usr/include/c++/6/cstdlib:144:11: error: '::labs' has not been declared
> using ::labs;
> ^~~~
> /usr/include/c++/6/cstdlib:145:11: error: '::ldiv' has not been declared
> using ::ldiv;
> ^~~~
> /usr/include/c++/6/cstdlib:146:11: error: '::malloc' has not been declared
> using ::malloc;
> ^~~~~~
> /usr/include/c++/6/cstdlib:148:11: error: '::mblen' has not been declared
> using ::mblen;
> ^~~~~
> /usr/include/c++/6/cstdlib:149:11: error: '::mbstowcs' has not been declared
> using ::mbstowcs;
> ^~~~~~~~
> /usr/include/c++/6/cstdlib:150:11: error: '::mbtowc' has not been declared
> using ::mbtowc;
> ^~~~~~
> /usr/include/c++/6/cstdlib:152:11: error: '::qsort' has not been declared
> using ::qsort;
> ^~~~~
> /usr/include/c++/6/cstdlib:155:11: error: '::quick_exit' has not been declared
> using ::quick_exit;
> ^~~~~~~~~~
> /usr/include/c++/6/cstdlib:158:11: error: '::rand' has not been declared
> using ::rand;
> ^~~~
> /usr/include/c++/6/cstdlib:159:11: error: '::realloc' has not been declared
> using ::realloc;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:160:11: error: '::srand' has not been declared
> using ::srand;
> ^~~~~
> /usr/include/c++/6/cstdlib:161:11: error: '::strtod' has not been declared
> using ::strtod;
> ^~~~~~
> /usr/include/c++/6/cstdlib:162:11: error: '::strtol' has not been declared
> using ::strtol;
> ^~~~~~
> /usr/include/c++/6/cstdlib:163:11: error: '::strtoul' has not been declared
> using ::strtoul;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:164:11: error: '::system' has not been declared
> using ::system;
> ^~~~~~
> /usr/include/c++/6/cstdlib:166:11: error: '::wcstombs' has not been declared
> using ::wcstombs;
> ^~~~~~~~
> /usr/include/c++/6/cstdlib:167:11: error: '::wctomb' has not been declared
> using ::wctomb;
> ^~~~~~
> /usr/include/c++/6/cstdlib:220:11: error: '::lldiv_t' has not been declared
> using ::lldiv_t;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:226:11: error: '::_Exit' has not been declared
> using ::_Exit;
> ^~~~~
> /usr/include/c++/6/cstdlib:230:11: error: '::llabs' has not been declared
> using ::llabs;
> ^~~~~
> /usr/include/c++/6/cstdlib:236:11: error: '::lldiv' has not been declared
> using ::lldiv;
> ^~~~~
> /usr/include/c++/6/cstdlib:247:11: error: '::atoll' has not been declared
> using ::atoll;
> ^~~~~
> /usr/include/c++/6/cstdlib:248:11: error: '::strtoll' has not been declared
> using ::strtoll;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:249:11: error: '::strtoull' has not been declared
> using ::strtoull;
> ^~~~~~~~
> /usr/include/c++/6/cstdlib:251:11: error: '::strtof' has not been declared
> using ::strtof;
> ^~~~~~
> /usr/include/c++/6/cstdlib:252:11: error: '::strtold' has not been declared
> using ::strtold;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:260:22: error: '__gnu_cxx::lldiv_t' has not been declared
> using ::__gnu_cxx::lldiv_t;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:262:22: error: '__gnu_cxx::_Exit' has not been declared
> using ::__gnu_cxx::_Exit;
> ^~~~~
> /usr/include/c++/6/cstdlib:264:22: error: '__gnu_cxx::llabs' has not been declared
> using ::__gnu_cxx::llabs;
> ^~~~~
> /usr/include/c++/6/cstdlib:265:22: error: '__gnu_cxx::div' has not been declared
> using ::__gnu_cxx::div;
> ^~~
> /usr/include/c++/6/cstdlib:266:22: error: '__gnu_cxx::lldiv' has not been declared
> using ::__gnu_cxx::lldiv;
> ^~~~~
> /usr/include/c++/6/cstdlib:268:22: error: '__gnu_cxx::atoll' has not been declared
> using ::__gnu_cxx::atoll;
> ^~~~~
> /usr/include/c++/6/cstdlib:269:22: error: '__gnu_cxx::strtof' has not been declared
> using ::__gnu_cxx::strtof;
> ^~~~~~
> /usr/include/c++/6/cstdlib:270:22: error: '__gnu_cxx::strtoll' has not been declared
> using ::__gnu_cxx::strtoll;
> ^~~~~~~
> /usr/include/c++/6/cstdlib:271:22: error: '__gnu_cxx::strtoull' has not been declared
> using ::__gnu_cxx::strtoull;
> ^~~~~~~~
> /usr/include/c++/6/cstdlib:272:22: error: '__gnu_cxx::strtold' has not been declared
> using ::__gnu_cxx::strtold;
> ^~~~~~~
> In file included from sudoku.h:35:0,
> from generator.h:24,
> from generator.cpp:22:
> /usr/include/c++/6/stdlib.h:38:12: error: 'Sudoku::std::abort' has not been declared
> using std::abort;
> ^~~~~
> /usr/include/c++/6/stdlib.h:39:12: error: 'Sudoku::std::atexit' has not been declared
> using std::atexit;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:40:12: error: 'Sudoku::std::exit' has not been declared
> using std::exit;
> ^~~~
> /usr/include/c++/6/stdlib.h:43:14: error: 'Sudoku::std::at_quick_exit' has not been declared
> using std::at_quick_exit;
> ^~~~~~~~~~~~~
> /usr/include/c++/6/stdlib.h:46:14: error: 'Sudoku::std::quick_exit' has not been declared
> using std::quick_exit;
> ^~~~~~~~~~
> /usr/include/c++/6/stdlib.h:51:12: error: 'Sudoku::std::div_t' has not been declared
> using std::div_t;
> ^~~~~
> /usr/include/c++/6/stdlib.h:52:12: error: 'Sudoku::std::ldiv_t' has not been declared
> using std::ldiv_t;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:55:12: error: 'Sudoku::std::atof' has not been declared
> using std::atof;
> ^~~~
> /usr/include/c++/6/stdlib.h:56:12: error: 'Sudoku::std::atoi' has not been declared
> using std::atoi;
> ^~~~
> /usr/include/c++/6/stdlib.h:57:12: error: 'Sudoku::std::atol' has not been declared
> using std::atol;
> ^~~~
> /usr/include/c++/6/stdlib.h:58:12: error: 'Sudoku::std::bsearch' has not been declared
> using std::bsearch;
> ^~~~~~~
> /usr/include/c++/6/stdlib.h:59:12: error: 'Sudoku::std::calloc' has not been declared
> using std::calloc;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:61:12: error: 'Sudoku::std::free' has not been declared
> using std::free;
> ^~~~
> /usr/include/c++/6/stdlib.h:62:12: error: 'Sudoku::std::getenv' has not been declared
> using std::getenv;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:63:12: error: 'Sudoku::std::labs' has not been declared
> using std::labs;
> ^~~~
> /usr/include/c++/6/stdlib.h:64:12: error: 'Sudoku::std::ldiv' has not been declared
> using std::ldiv;
> ^~~~
> /usr/include/c++/6/stdlib.h:65:12: error: 'Sudoku::std::malloc' has not been declared
> using std::malloc;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:67:12: error: 'Sudoku::std::mblen' has not been declared
> using std::mblen;
> ^~~~~
> /usr/include/c++/6/stdlib.h:68:12: error: 'Sudoku::std::mbstowcs' has not been declared
> using std::mbstowcs;
> ^~~~~~~~
> /usr/include/c++/6/stdlib.h:69:12: error: 'Sudoku::std::mbtowc' has not been declared
> using std::mbtowc;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:71:12: error: 'Sudoku::std::qsort' has not been declared
> using std::qsort;
> ^~~~~
> /usr/include/c++/6/stdlib.h:72:12: error: 'Sudoku::std::rand' has not been declared
> using std::rand;
> ^~~~
> /usr/include/c++/6/stdlib.h:73:12: error: 'Sudoku::std::realloc' has not been declared
> using std::realloc;
> ^~~~~~~
> /usr/include/c++/6/stdlib.h:74:12: error: 'Sudoku::std::srand' has not been declared
> using std::srand;
> ^~~~~
> /usr/include/c++/6/stdlib.h:75:12: error: 'Sudoku::std::strtod' has not been declared
> using std::strtod;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:76:12: error: 'Sudoku::std::strtol' has not been declared
> using std::strtol;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:77:12: error: 'Sudoku::std::strtoul' has not been declared
> using std::strtoul;
> ^~~~~~~
> /usr/include/c++/6/stdlib.h:78:12: error: 'Sudoku::std::system' has not been declared
> using std::system;
> ^~~~~~
> /usr/include/c++/6/stdlib.h:80:12: error: 'Sudoku::std::wcstombs' has not been declared
> using std::wcstombs;
> ^~~~~~~~
> /usr/include/c++/6/stdlib.h:81:12: error: 'Sudoku::std::wctomb' has not been declared
> using std::wctomb;
> ^~~~~~
> make[2]: *** [generator.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/vdr-plugin-sudoku_0.3.5-19_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-vdr-dvb-devel
mailing list