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

Bug 349397

Summary: www-plugins/lightspark-0.4.5.1 fails to compile
Product: Gentoo Linux Reporter: Daniel Pielmeier <billie>
Component: Current packagesAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log
emerge --info

Description Daniel Pielmeier gentoo-dev 2010-12-22 18:05:41 UTC
[ 36%] Building CXX object CMakeFiles/spark.dir/parsing/amf3_generator.cpp.o
In file included from /usr/include/libavutil/avutil.h:97,
                 from /usr/include/libavcodec/avcodec.h:32,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.4.5.1/work/lightspark-0.4.5.1/backends/decoder.h:32,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.4.5.1/work/lightspark-0.4.5.1/scripting/flashnet.h:30,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.4.5.1/work/lightspark-0.4.5.1/swf.h:34,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.4.5.1/work/lightspark-0.4.5.1/scripting/class.h:23,
                 from /media/system/tmp/portage/www-plugins/lightspark-0.4.5.1/work/lightspark-0.4.5.1/parsing/amf3_generator.cpp:24:
/usr/include/libavutil/common.h: In function 'int32_t av_clipl_int32_c(int64_t)':
/usr/include/libavutil/common.h:168: error: 'UINT64_C' was not declared in this scope
make[2]: *** [CMakeFiles/spark.dir/parsing/amf3_generator.cpp.o] Error 1
make[1]: *** [CMakeFiles/spark.dir/all] Error 2
make: *** [all] Error 2
Comment 1 Daniel Pielmeier gentoo-dev 2010-12-22 18:06:04 UTC
Created attachment 257771 [details]
full build log
Comment 2 Daniel Pielmeier gentoo-dev 2010-12-22 18:06:19 UTC
Created attachment 257773 [details]
emerge --info
Comment 3 Daniel Pielmeier gentoo-dev 2010-12-22 18:14:04 UTC
CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" emerge lightspark makes it build.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-23 00:08:14 UTC
Fixed in CVS.