It appears that ifo_types.h in media-libs/libdvdread is missing the <inttypes.h> include. This causes the current SVN versions of net-misc/mediatomb to fail, as it uses libdvdread for the new DVD image parsing feature. The MediaTomb devs have confirmed this as a an issue with libdvdread and not their code. Interestingly, libdvdread works for the MediaTomb devs as they use Fedora, which has already issued a patch. The patch works as-is against media-libs/libdvdread and allows SVN MediaTomb to build successfully. Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=428910 Fedora patch: http://cvs.fedoraproject.org/viewvc/rpms/libdvdread/F-7/libdvdread-inttypes.patch Can you please confirm and fix this issue, as it will block the soon to be released MediaTomb 0.12.0 from entering Portage. Reproducible: Always Steps to Reproduce: 1. Download the test.c attachment. 2. Compile test.c: $ gcc -I/usr/include/dvdread test.c Actual Results: In file included from /usr/include/dvdread/ifo_read.h:24, from test.c:2: /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header." In file included from /usr/include/dvdread/ifo_read.h:24, from test.c:2: Expected Results: Successful compile of test.c media-libs/libdvdnav which has a patched internal copy of libdvdread, has the <inttypes.h> include in ifo_types.h.
Created attachment 164153 [details] test to reproduce libdvdread error test.c reproduces the MediaTomb libdvdread includes and resulting error.
Created attachment 164155 [details] MediaTomb build.log MediaTomb build.log with the libdvdread error.
Thanks for the report, assigning to maintainers
The MediaTomb developers have fixed this issue with a workaround on their end.