Package: crtmpserver
Version: 1.0~dfsg-4
Severity: serious

The crtmpserver package fails on both kfreebsd architectures:

For kfreebsd-amd64, the log is here:
https://buildd.debian.org/status/fetch.php?pkg=crtmpserver&arch=kfreebsd-amd64&ver=1.0~dfsg-4&stamp=1371919703

>From that log:

[  6%] Building CXX object
common/CMakeFiles/common.dir/src/utils/logging/fileloglocation.cpp.o
cd "/«PKGBUILDDIR»/obj-x86_64-kfreebsd-gnu/common" && /usr/bin/c++
-DCreateRTCPPacket=CreateRTCPPacket_mystyle_only_once -DDFREEBSD
-DFeedDataAudioMPEG4Generic=FeedDataAudioMPEG4Generic_one_by_one
-DHAS_LUA -DHAS_MEDIA_FLV -DHAS_MEDIA_MP3 -DHAS_MEDIA_MP4
-DHAS_PROTOCOL_CLI -DHAS_PROTOCOL_HLS -DHAS_PROTOCOL_HTTP
-DHAS_PROTOCOL_LIVEFLV -DHAS_PROTOCOL_RTMP -DHAS_PROTOCOL_RTP
-DHAS_PROTOCOL_TS -DHAS_PROTOCOL_VAR
-DHandleTSVideoData=HandleVideoData_version3
-DLITTLE_ENDIAN_BYTE_ALIGNED -DNET_KQUEUE -D_FILE_OFFSET_BITS=64
-D__USE_FILE_OFFSET64 -Dcommon_EXPORTS -D_FORTIFY_SOURCE=2 -g
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -fPIC -O3 -fno-strict-aliasing -fPIC
-I/usr/include/lua5.1 -I"/«PKGBUILDDIR»/common/include"
-I/«PKGBUILDDIR»/obj-x86_64-kfreebsd-gnu/precompiled.gch/Release.c++
-include common -Winvalid-pch -o
CMakeFiles/common.dir/src/utils/logging/fileloglocation.cpp.o -c
"/«PKGBUILDDIR»/common/src/utils/logging/fileloglocation.cpp"
/«PKGBUILDDIR»/common/src/utils/logging/fileloglocation.cpp: In member
function 'bool FileLogLocation::OpenFile()':
/«PKGBUILDDIR»/common/src/utils/logging/fileloglocation.cpp:118:81:
error: 'getpid' was not declared in this scope
  string temp = format("%s.%"PRIu64".%"PRIu64, STR(_fileName),
(uint64_t) getpid(), (uint64_t) ts);

          ^
make[3]: *** 
[common/CMakeFiles/common.dir/src/utils/logging/fileloglocation.cpp.o]
Error 1

I guess that all that's needed is to include the appropriate header file.


-- 
regards,
    Reinhard


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to