emerge linuxtv-dvb-apps results in the following error: CC dvbvideo.o In file included from dvbvideo.c:28: /usr/include/linux/dvb/video.h:100: error: expected specifier-qualifier-list before รข make[2]: *** [dvbvideo.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/media-tv/linuxtv-dvb-apps-1.1.1.20070114/work/linuxtv-dvb-apps-20070114/lib/libdvbapi' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-tv/linuxtv-dvb-apps-1.1.1.20070114/work/linuxtv-dvb-apps-20070114/lib' make: *** [all] Error 2 * * ERROR: media-tv/linuxtv-dvb-apps-1.1.1.20070114 failed. * Call stack: Reproducible: Always Steps to Reproduce: 1.emerge linuxtv-dvb-apps 2. 3. Actual Results: failed emerge Expected Results: successful emerge
Created attachment 124880 [details] error log produced by emerge
Created attachment 124901 [details] emerge info
For newer kernel (2.6.22) you have to add #include <linux/types.h> to dvbvideo.c before including of video.h from linux-headers. Info in german http://www.vdr-portal.de/board/print.php?threadid=66358&page=1&sid=82f0d443ecb0218088f21c62be1a9dd9 This patch do this, save it in files dir and add epatch ${FILESDIR}/kernel-2.6.22.patch line in ebuild diff -uNr linuxtv-dvb-apps-20070114.orig/lib/libdvbapi/dvbvideo.c linuxtv-dvb-apps-20070114/lib/libdvbapi/dvbvideo.c --- linuxtv-dvb-apps-20070114.orig/lib/libdvbapi/dvbvideo.c 2007-07-18 08:43:30.968087841 +0200 +++ linuxtv-dvb-apps-20070114/lib/libdvbapi/dvbvideo.c 2007-07-18 08:42:40.272317488 +0200 @@ -25,6 +25,7 @@ #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> +#include <linux/types.h> #include <linux/dvb/video.h> #include <errno.h> #include "dvbvideo.h"
Fixed, thanks for reporting and patch.