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

Bug 19595

Summary: xawtv-3.88 build dies
Product: Gentoo Linux Reporter: Matt Taylor <liverbugg>
Component: Current packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED DUPLICATE    
Severity: normal CC: henti, leroutier, x86-kernel
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Move the videodev.h into include section
new ebuild with patch included

Description Matt Taylor 2003-04-19 01:49:09 UTC
x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic
x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic
x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic
x11/vbi-gui.c:660: warning: pointer of type `void *' used in arithmetic
In file included from /usr/include/linux/types.h:8,
                 from libng/videodev.h:4,
                 from x11/vbi-gui.c:913:
/usr/include/linux/posix_types.h: In function `vbi_station_cb':
/usr/include/linux/posix_types.h:36: parse error before `typedef'
x11/vbi-gui.c:896: warning: unused variable `vbi'
/usr/include/linux/posix_types.h: At top level:
/usr/include/linux/posix_types.h:38: warning: data definition has no type or
storage class
x11/vbi-gui.c:914: parse error before `if'
make: *** [x11/vbi-gui.o] Error 1

!!! ERROR: media-video/xawtv-3.88 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! (no error message)

it does this with zbvi-0.2.4 and 0.2.1-r1 and xawtv-3.86-r1 built fine with
either zbvi installed.

Reproducible: Always
Steps to Reproduce:
1.emerge xawtv
2.
3.

Actual Results:  
dies

Expected Results:  
compile

Portage 2.0.47-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8)
=================================================================
System uname: 2.4.19-gentoo-r10e i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://linux.oit.umass.edu/gentoo/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/home/liverbugg/portage"
USE="x86 oss 3dnow apm avi crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib
quicktime spell truetype xml2 xmms xv berkdb bonobo cdr directfb esd gdbm gif
gnome gnome-libs gpm gtk gtkhtml guile imlib libwww motif mozilla mysql nls
oggvorbis opengl pam perl png python readline sdl slang snmp ssl svga tcltk tcpd
tiff X -kde -qt -arts -java dvd encode gtk2"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache digest"
Comment 1 Matt Taylor 2003-04-23 14:59:23 UTC
I just noticed that I swaped the letters in zvbi.  It should say:

it does this with zvbi-0.2.4 and 0.2.1-r1 and xawtv-3.86-r1 built fine with
either zvbi installed.
Comment 2 Henti Smith 2003-05-15 15:33:04 UTC
Are you on 1.2 install base or 1.4 ? 

Henti 
Comment 3 Matt Taylor 2003-05-15 17:16:15 UTC
1.2, running almost all the newest ~x86 packages.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 07:41:39 UTC
it looks to me like there's something up with your linux header files, but don't touch that yet -- I'd like the opinion of someone on our kernel team. Jay, Bob, Brandon -- opinions, please?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 07:46:41 UTC
*** Bug 20923 has been marked as a duplicate of this bug. ***
Comment 6 Matt Taylor 2003-06-02 18:48:18 UTC
If there's anything you want me to try let me know soon...going to be upgrading my hardware and doing a fresh 1.4 install probably this weekend.
Comment 7 Henti Smith 2003-06-03 15:38:00 UTC
Hi all .. 

My hdd crashed on saterday so I have lost my whole system including the bug :P 
busy reinstalling complete machine with 1.4 build and gcc 3.2.2 so I'm sure the bug has dissapeared from my system.

I'm sourcing some old hardware again and going to try and recreate it .. but I'm not holding my thumbs. I still have the old hdd and will try a recovery as well if only for bugtracking.

Henti Smith
Comment 8 Jörg Gollnick 2003-07-05 08:40:16 UTC
Created attachment 14171 [details]
Move the videodev.h into include section

May be gcc 2.95.3 has a problem with include inside functions.
Comment 9 Jörg Gollnick 2003-07-05 08:41:55 UTC
Comment on attachment 14171 [details]
Move the videodev.h into include section

-- xawtv-3.88/x11/vbi-gui.c.orig       2003-04-14 20:06:25.000000000 +0200
+++ xawtv-3.88/x11/vbi-gui.c	2003-07-05 16:52:47.000000000 +0200
@@ -46,6 +46,10 @@

 #include "channel.h"

+#ifdef linux
+#include "videodev.h"
+#endif
+
 static int tt_debug = 1;
 static int tt_windows = 0;

@@ -910,7 +914,6 @@
 #endif

 #ifdef linux
-#include "videodev.h"
     if (-1 == ioctl(vbi->fd,VIDIOCSFREQ,&channels[i]->freq))
	perror("ioctl VIDIOCSFREQ");
 #endif
Comment 10 Jörg Gollnick 2003-07-05 08:46:40 UTC
Created attachment 14172 [details]
new ebuild with patch included
Comment 11 Matt Taylor 2003-08-05 20:09:58 UTC
Finally got my computer back up and running after a month of downtime.  Just tested this with the patch and it compiles.  Thanks!
Comment 12 Stephane Loeuillet 2003-10-02 03:35:34 UTC
so this bug can be closed i suppose as the patch worked ?!
Comment 13 Stephane Loeuillet 2003-10-02 03:48:36 UTC
related bug :
http://bugs.gentoo.org/show_bug.cgi?id=26723
Comment 14 Matt Taylor 2003-10-23 00:52:29 UTC
This patch is still needed for xawtv-3.90.
Comment 15 Martin Holzer (RETIRED) gentoo-dev 2004-07-18 03:49:27 UTC

*** This bug has been marked as a duplicate of 26723 ***