Summary: | www-misc/zoneminder fails to build with ffmpeg > 0.6 (different failure than = 0.6) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, web-apps |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | [dilfridge overlay] | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 359605 | ||
Bug Blocks: | |||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2010-10-10 22:20:50 UTC
Created attachment 250179 [details]
Build log
The problem is that libavutil/common.h is being included in C++ souce files, but constants like UINT64_C used in libavutil/common.h are in under a #define in stdint.h: /* The ISO C99 standard specifies that in C++ implementations these should only be defined if explicitly requested. */ #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS A workaround is set the CPPFLAGS while emerging to add -D__STDC_CONSTANT_MACROS like this: env CPPFLAGS=-D__STDC_CONSTANT_MACROS emerge -av zoneminder A fix is to patch configure.ac to add this flag to CPPFLAGS when --with-ffmpeg is passed to configure. Removed from main tree. Reopened for tracking and hopefully zoneminder revival Trivially fixed in zoneminder-1.25.0 ebuild |