Bug#667117: blender: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:00 UTC 2012


Package: blender
Version: 2.62-1
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

stddef.h:417:43: error: operator '&&' has no right operand

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/blender_2.62-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:206:32: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:210:5: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:210:33: warning: 'int avcodec_open(AVCodecContext*, AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:212:3: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:212:32: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:279:3: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:279:34: warning: 'void av_close_input_file(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function 'virtual void VideoFFmpeg::openFile(char*)':
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:549:40: warning: 'AVIOContext::is_streamed' is deprecated (declared at /usr/include/libavformat/avio.h:101) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:549:40: warning: 'AVIOContext::is_streamed' is deprecated (declared at /usr/include/libavformat/avio.h:101) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp: In member function 'virtual void VideoFFmpeg::openCam(char*, short int)':
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:640:16: warning: 'AVFormatParameters::standard' is deprecated (declared at /usr/include/libavformat/avformat.h:357) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:640:16: warning: 'AVFormatParameters::standard' is deprecated (declared at /usr/include/libavformat/avformat.h:357) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:649:15: warning: 'AVFormatParameters::time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:649:15: warning: 'AVFormatParameters::time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:650:15: warning: 'AVFormatParameters::time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:650:15: warning: 'AVFormatParameters::time_base' is deprecated (declared at /usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:651:15: warning: 'AVFormatParameters::width' is deprecated (declared at /usr/include/libavformat/avformat.h:353) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:651:15: warning: 'AVFormatParameters::width' is deprecated (declared at /usr/include/libavformat/avformat.h:353) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:652:15: warning: 'AVFormatParameters::height' is deprecated (declared at /usr/include/libavformat/avformat.h:354) [-Wdeprecated-declarations]
/«PKGBUILDDIR»/source/gameengine/VideoTexture/VideoFFmpeg.cpp:652:15: warning: 'AVFormatParameters::height' is deprecated (declared at /usr/include/libavformat/avformat.h:354) [-Wdeprecated-declarations]
make[3]: *** [source/gameengine/VideoTexture/CMakeFiles/ge_videotex.dir/VideoFFmpeg.cpp.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [source/gameengine/VideoTexture/CMakeFiles/ge_videotex.dir/all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the pkg-multimedia-maintainers mailing list