Package: crtmpserver
Version: 1.0~dfsg-2
Severity: important
Tags: sid wheezy
User: debian-...@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.

mmapfile.cpp:40:27: error: 'getpagesize' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/crtmpserver_1.0~dfsg-2_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.

[...]
cd "/«PKGBUILDDIR»/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" "/«PKGBUILDDIR»" "/«PKGBUILDDIR»/common" 
"/«PKGBUILDDIR»/obj-x86_64-linux-gnu" 
"/«PKGBUILDDIR»/obj-x86_64-linux-gnu/common" 
"/«PKGBUILDDIR»/obj-x86_64-linux-gnu/common/CMakeFiles/common.dir/DependInfo.cmake"
 --color=
Scanning dependencies of target common
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make -f common/CMakeFiles/common.dir/build.make 
common/CMakeFiles/common.dir/build
make[3]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report 
"/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles" 
[  1%] Building CXX object 
common/CMakeFiles/common.dir/src/utils/mempool/mempool.cpp.o
cd "/«PKGBUILDDIR»/obj-x86_64-linux-gnu/common" && /usr/bin/c++   
-Dcommon_EXPORTS -DLITTLE_ENDIAN_BYTE_ALIGNED -DHAS_PROTOCOL_HTTP 
-DHAS_PROTOCOL_RTMP -DHAS_PROTOCOL_LIVEFLV -DHAS_PROTOCOL_RTP -DHAS_PROTOCOL_TS 
-DHAS_PROTOCOL_VAR -DHAS_PROTOCOL_CLI -DHAS_PROTOCOL_HLS -DHAS_MEDIA_MP3 
-DHAS_MEDIA_MP4 -DHAS_MEDIA_FLV 
-DCreateRTCPPacket=CreateRTCPPacket_mystyle_only_once 
-DFeedDataAudioMPEG4Generic=FeedDataAudioMPEG4Generic_one_by_one 
-DHandleTSVideoData=HandleVideoData_version3 -DHAS_LUA -D__USE_FILE_OFFSET64 
-D_FILE_OFFSET_BITS=64 -DLINUX -DNET_EPOLL -D_FORTIFY_SOURCE=2 -g  
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -fPIC -O3 -fno-strict-aliasing -fPIC 
-I/usr/include/lua5.1 -I"/«PKGBUILDDIR»/common/include"    
-I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/precompiled.gch/Release.c++ -include 
common -Winvalid-pch -o CMakeFiles/common.dir/src/utils/mempool/mempool.cpp.o 
-c "/«PKGBUILDDIR»/common/src/utils/mempool/mempool.cpp"
/usr/bin/cmake -E cmake_progress_report 
"/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles" 
[  1%] Building CXX object 
common/CMakeFiles/common.dir/src/utils/misc/variant.cpp.o
cd "/«PKGBUILDDIR»/obj-x86_64-linux-gnu/common" && /usr/bin/c++   
-Dcommon_EXPORTS -DLITTLE_ENDIAN_BYTE_ALIGNED -DHAS_PROTOCOL_HTTP 
-DHAS_PROTOCOL_RTMP -DHAS_PROTOCOL_LIVEFLV -DHAS_PROTOCOL_RTP -DHAS_PROTOCOL_TS 
-DHAS_PROTOCOL_VAR -DHAS_PROTOCOL_CLI -DHAS_PROTOCOL_HLS -DHAS_MEDIA_MP3 
-DHAS_MEDIA_MP4 -DHAS_MEDIA_FLV 
-DCreateRTCPPacket=CreateRTCPPacket_mystyle_only_once 
-DFeedDataAudioMPEG4Generic=FeedDataAudioMPEG4Generic_one_by_one 
-DHandleTSVideoData=HandleVideoData_version3 -DHAS_LUA -D__USE_FILE_OFFSET64 
-D_FILE_OFFSET_BITS=64 -DLINUX -DNET_EPOLL -D_FORTIFY_SOURCE=2 -g  
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -fPIC -O3 -fno-strict-aliasing -fPIC 
-I/usr/include/lua5.1 -I"/«PKGBUILDDIR»/common/include"    
-I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/precompiled.gch/Release.c++ -include 
common -Winvalid-pch -o CMakeFiles/common.dir/src/utils/misc/variant.cpp.o -c 
"/«PKGBUILDDIR»/common/src/utils/misc/variant.cpp"
/usr/bin/cmake -E cmake_progress_report 
"/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles" 14
[  2%] Building CXX object 
common/CMakeFiles/common.dir/src/utils/misc/mmapfile.cpp.o
cd "/«PKGBUILDDIR»/obj-x86_64-linux-gnu/common" && /usr/bin/c++   
-Dcommon_EXPORTS -DLITTLE_ENDIAN_BYTE_ALIGNED -DHAS_PROTOCOL_HTTP 
-DHAS_PROTOCOL_RTMP -DHAS_PROTOCOL_LIVEFLV -DHAS_PROTOCOL_RTP -DHAS_PROTOCOL_TS 
-DHAS_PROTOCOL_VAR -DHAS_PROTOCOL_CLI -DHAS_PROTOCOL_HLS -DHAS_MEDIA_MP3 
-DHAS_MEDIA_MP4 -DHAS_MEDIA_FLV 
-DCreateRTCPPacket=CreateRTCPPacket_mystyle_only_once 
-DFeedDataAudioMPEG4Generic=FeedDataAudioMPEG4Generic_one_by_one 
-DHandleTSVideoData=HandleVideoData_version3 -DHAS_LUA -D__USE_FILE_OFFSET64 
-D_FILE_OFFSET_BITS=64 -DLINUX -DNET_EPOLL -D_FORTIFY_SOURCE=2 -g  
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security 
-Werror=format-security -Wall -fPIC -O3 -fno-strict-aliasing -fPIC 
-I/usr/include/lua5.1 -I"/«PKGBUILDDIR»/common/include"    
-I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/precompiled.gch/Release.c++ -include 
common -Winvalid-pch -o CMakeFiles/common.dir/src/utils/misc/mmapfile.cpp.o -c 
"/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp"
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp: In constructor 
'MmapFile::MmapFile()':
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp:40:27: error: 'getpagesize' 
was not declared in this scope
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp: In destructor 'virtual 
MmapFile::~MmapFile()':
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp:55:24: error: 'close' was 
not declared in this scope
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp: In member function 'bool 
MmapFile::Initialize(std::string, uint32_t, bool)':
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp:181:16: error: 'close' was 
not declared in this scope
/«PKGBUILDDIR»/common/src/utils/misc/mmapfile.cpp:191:15: error: 'close' was 
not declared in this scope
make[3]: *** [common/CMakeFiles/common.dir/src/utils/misc/mmapfile.cpp.o] Error 
1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [common/CMakeFiles/common.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to