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

Bug#831182: qtcreator: FTBFS with GCC 6: cstdlib:75:25: fatal error: stdlib.h: No such file or directory



Source: qtcreator
Version: 4.0.2-1
Severity: serious
Tags: stretch sid
User: debian-qa@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++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DIDE_LIBRARY_BASENAME=\"lib/x86_64-linux-gnu\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_SETENV -DQBS_VERSION=\"1.5.1\" -DQBS_ENABLE_PROJECT_FILE_UPDATES -DQBS_VERSION=\"1.5.1\" -DQBS_ENABLE_PROJECT_FILE_UPDATES -DQBS_INSTALL_DIR=\"/usr\" -DQBSPROJECTMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_CORE_LIB -I../../../src -I/«PKGBUILDDIR»/src/libs -I/«PKGBUILDDIR»/tools -I/«PKGBUILDDIR»/src/plugins -I/«PKGBUILDDIR»/src/shared -I/«PKGBUILDDIR»/src/libs/3rdparty -I. -isystem /usr/include/qbs -isystem /usr/include -isystem /usr/include/qbs -isystem /usr/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc/release-shared -I.uic -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o .obj/release-shared/customqbspropertiesdialog.o /«PKGBUILDDIR»/src/plugins/qbsprojectmanager/customqbspropertiesdialog.cpp
> In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:88,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:34,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:37,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVariantMap:1,
>                  from /«PKGBUILDDIR»/src/plugins/qbsprojectmanager/customqbspropertiesdialog.h:29,
>                  from /«PKGBUILDDIR»/src/plugins/qbsprojectmanager/customqbspropertiesdialog.cpp:26:
> /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
>  #include_next <stdlib.h>
>                          ^
> compilation terminated.
> make[4]: *** [.obj/release-shared/customqbspropertiesdialog.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/qtcreator_4.0.2-1_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.


Reply to: