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

Bug 324245

Summary: app-cdr/backlite fails to build with >=media-video/ffmpeg-0.6
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: Daniel Pielmeier <billie>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes
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 10:23:32 UTC
make: *** [k9newdvd.o] Error 1
In file included from src/devices/k9cddrive.h:1:0,
                 from src/main/k9copy.h:20,
                 from src/import/k9import.h:17,
                 from src/import/k9newtitle.cpp:15:
src/devices/k9cddrives.h:50:9: warning: unused parameter ‘device’
src/devices/k9cddrives.h:50:9: warning: unused parameter ‘label’
src/devices/k9cddrives.h:50:9: warning: unused parameter ‘burnDevice’
In file included from /usr/include/libavutil/avutil.h:81:0,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from /usr/include/libavformat/avformat.h:56,
                 from src/import/k9avidecode.h:17,
                 from src/import/k9newdvd.h:21,
                 from src/import/k9import.h:19,
                 from src/import/k9newtitle.cpp:15:
/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: *** [k9newtitle.o] Error 1
 * ERROR: app-cdr/backlite-1.0.0-r1 failed:
 *   died running emake, base_src_make
 * 



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 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-06-16 12:52:39 UTC
*** Bug 324277 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-06-16 16:45:20 UTC
+  16 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+  backlite-1.0.0-r1.ebuild:
+  Fix building with FFmpeg >= 0.6 wrt #324245 by Alexis Ballier.