Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 324317

Summary: net-im/qutecom-2.2_p20100309 fails to build with >=media-video/ffmpeg-0.6
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: RESOLVED FIXED    
Severity: normal CC: voip+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 324255    

Description Alexis Ballier gentoo-dev 2010-06-16 15:32:04 UTC
cd /var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309_build/libs/pixertool && /usr/bin/x86_64-pc-linux-gnu-g++  -D_FORTIFY_SOURCE=2 -DHAVE_SWSCALE=1  -DNDEBUG -march=core2 -mssse3 -msse4.1 -O2 -pipe -ggdb  -I/var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309/libs/owutil -I/var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309/libs/pixertool/include -I/var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309_build/libs/pixertool -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libavutil -I/usr/include/libswscale   -fPIC -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter -fmessage-length=0 -o CMakeFiles/pixertool.dir/src/pixertool.o -c /var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309/libs/pixertool/src/pixertool.cpp
In file included from /usr/include/libavutil/avutil.h:81:0,
                 from /usr/include/libswscale/swscale.h:30,
                 from /var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309/libs/pixertool/include/pixertool/ffmpeg-pixertool.h:31,
                 from /var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309/libs/pixertool/src/pixertool.cpp:24:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154:47: error: ‘UINT64_C’ was not declared in this scope
make[2]: *** [libs/pixertool/CMakeFiles/pixertool.dir/src/pixertool.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-im/qutecom-2.2_p20100309/work/qutecom-2.2_p20100309_build'


easy fix:

append-flags -D__STDC_CONSTANT_MACROS

(UINT64_C isnt standard in C++ unless this macro is defined, and ffmpeg headers
require it)
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-06-16 15:54:39 UTC
I think it is already fixed upstream. I will make a new snapshot soon.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-06-21 12:01:38 UTC
Fixed in CVS by latest upstream snapshot with ffmpeg-0.6 support.