Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324245 - app-cdr/backlite fails to build with >=media-video/ffmpeg-0.6
Summary: app-cdr/backlite fails to build with >=media-video/ffmpeg-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
: 324277 (view as bug list)
Depends on:
Blocks: ffmpeg-0.6
  Show dependency tree
 
Reported: 2010-06-16 10:23 UTC by Alexis Ballier
Modified: 2010-06-16 16:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.