Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81564 - emerging xawtv exits on error line 55, exitcode 2
Summary: emerging xawtv exits on error line 55, exitcode 2
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
: 84977 85768 89362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-10 19:01 UTC by Vincent
Modified: 2005-05-29 17:49 UTC (History)
3 users (show)

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


Attachments
xawtv-3.86-r2.ebuild (xawtv-3.86-r2.ebuild,2.17 KB, application/octet-stream)
2005-05-10 20:41 UTC, Francois Guimond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent 2005-02-10 19:01:11 UTC
Emerging xawtv on my 2 days old gentoo install fails.
This seems the relevent error part:

common/capture.c: In function `movie_writer_stop':
common/capture.c:529: warning: integer constant is too large for "long" type
common/capture.c:534: warning: integer constant is too large for "long" type
common/capture.c: In function `movie_print_timestamps':
common/capture.c:596: warning: integer constant is too large for "long" type
common/capture.c:600: warning: integer constant is too large for "long" type
common/capture.c: In function `movie_grab_put_video':
common/capture.c:625: warning: integer constant is too large for "long" type
  CC      common/event.o
  CC      libng/grab-ng.o
  CC      libng/devices.o
  CC      libng/writefile.o
  CC      libng/color_common.o
  CC      libng/color_packed.o
  CC      libng/color_lut.o
  CC      libng/color_yuv2rgb.o
  CC      libng/convert.o
  AR      libng/libng.a
ar: creating libng/libng.a
  LD      console/streamer
  CC      console/webcam.o
  CC      console/ftp.o
  LD      console/webcam
  CC      console/scantv.o
  CC      common/vbi-data.o
  LD      console/scantv
  CC      console/radio.o
  LD      console/radio
  CC      console/fbtv.o
In file included from console/fbtv.c:31:
libng/grab-ng.h:28:1: warning: "bool" redefined
In file included from /usr/include/curses.h:136,
                 from console/fbtv.c:24:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stdbool.h:36:1: warning: this is the location of the previous definition
  CC      console/fbtools.o
  CC      console/fs.o
  CC      console/matrox.o
  CC      common/lirc.o
  CC      common/joystick.o
  CC      common/midictrl.o
  LD      console/fbtv
console/fs.o(.text+0x587): In function `fs_connect':
: undefined reference to `FSOpenServer'
console/fs.o(.text+0x5a4): In function `fs_connect':
: undefined reference to `FSServerName'
console/fs.o(.text+0x5de): In function `fs_connect':
: undefined reference to `FSServerName'
console/fs.o(.text+0x652): In function `fs_open':
: undefined reference to `FSListFonts'
console/fs.o(.text+0x6c1): In function `fs_open':
: undefined reference to `FSOpenBitmapFont'
console/fs.o(.text+0x6cf): In function `fs_open':
: undefined reference to `FSFreeFontNames'
console/fs.o(.text+0x716): In function `fs_open':
: undefined reference to `FSQueryXInfo'
console/fs.o(.text+0x745): In function `fs_open':
: undefined reference to `FSQueryXExtents16'
console/fs.o(.text+0x788): In function `fs_open':
: undefined reference to `FSQueryXBitmaps16'
collect2: ld returned 1 exit status
make: *** [console/fbtv] Error 1

!!! ERROR: media-tv/xawtv-3.86-r2 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1. emerge xorg 6.8, kde
2. emerge xawtv
3.

Actual Results:  
Compiling failed with above error. 
I found ncurses to be installed. 
I use standard use flags : -gtk -gnome kde qt alsa dvd cdr . 
alsa tried with USE="gtk" emerge xawtv , it had the same result. 

Expected Results:  
clean emerge (I got a supported card.)  

Maybe this has something to do with it?:  
  
checking dev/ic/bt8xx.h usability... no  
checking dev/ic/bt8xx.h presence... no  
checking for dev/ic/bt8xx.h... no  
checking machine/ioctl_bt848.h usability... no  
checking machine/ioctl_bt848.h presence... no  
checking for machine/ioctl_bt848.h... no  
  
v4l is compiled as module and most subdriver as well, like bttv.  
kernel = 2.6.10-gentoo-r6 , using xorg 6.8 with latest ati-drivers
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-02-11 01:31:37 UTC
please attach "emerge info" and try with MAKEOPTS=-j1
Comment 2 Vincent 2005-02-11 05:07:31 UTC
I tried: 
MAKEOPTS="-j1" emerge xawtv    ->  exits on same error
After modifiing /etc/make.conf with the same thing, same error.


soz, couldn't find emerge info field (although remembered), it's here:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 20:58:15)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode f77 fam font-server foomaticdb fortran gdbm gif gpm gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 3 Vincent 2005-02-11 05:22:30 UTC
>>> media-tv/xawtv-3.94-r1 merged.
That works, although it gives the same warnings as 3.86-r2.
I emerged it straight from the /usr/portage/media-tv/xawtv dir.
(having other trouble though:
This is xawtv-3.94, running on Linux/i686 (2.6.10-gentoo-r6)
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
         configuration ("v4l-conf -a <addr>")
v4l2: open /dev/v4l/video0: Permission denied
v4l2: open /dev/v4l/video0: Permission denied
v4l: open /dev/v4l/video0: Permission denied
no video grabber device available)
Comment 4 Vincent 2005-02-11 07:50:28 UTC
After updating perl and  shadow problem remains.
Since my card is not working yet I will do a Suse install.
Here's the full output.
If you will need more info, I might put gentoo back on, but might take a few days :).

mdxp root # emerge  xawtv
Calculating dependencies ...done!
>>> emerge (1 of 1) media-tv/xawtv-3.86-r2 to /
>>> md5 src_uri ;-) xawtv_3.86.tar.gz
>>> md5 src_uri ;-) tv-fonts-1.0.tar.bz2
>>> md5 src_uri ;-) xaw-deinterlace-3.76-0.1.1.diff.bz2
>>> Unpacking source...
>>> Unpacking xawtv_3.86.tar.gz to /var/tmp/portage/xawtv-3.86-r2/work
>>> Unpacking tv-fonts-1.0.tar.bz2 to /var/tmp/portage/xawtv-3.86-r2/work
>>> Unpacking xaw-deinterlace-3.76-0.1.1.diff.bz2 to /var/tmp/portage/xawtv-3.86-r2/work
 * Applying alevtd-style-mozilla.diff ...                                 [ ok ]
>>> Source unpacked.
sed: can't read libng/plugins/linear_blend.c: No such file or directory
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-alsa --enable-gl --enable-quicktime --enable-motif --enable-aa --with-x --enable-xfree-ext --enable-xvideo --enable-zvbi
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for a BSD-compatible install... /bin/install -c
checking for gccmakedep... gccmakedep
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking linux/joystick.h usability... yes
checking linux/joystick.h presence... yes
checking for linux/joystick.h... yes
checking dev/ic/bt8xx.h usability... no
checking dev/ic/bt8xx.h presence... no
checking for dev/ic/bt8xx.h... no
checking machine/ioctl_bt848.h usability... no
checking machine/ioctl_bt848.h presence... no
checking for machine/ioctl_bt848.h... no
checking for ftello... yes
checking for fseeko... yes
checking for getpt... yes
checking for getnameinfo... yes
checking for getopt_long... yes
checking for strcasestr... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for ELF... yes
checking for pthread_create in -lpthread... yes
checking for main in -lossaudio... no
checking for initscr in -lncurses... yes
checking for X... libraries , headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for snd_seq_open in -lasound... yes
checking for lirc_init in -llirc_client... no
checking for vbi_capture_fd in -lzvbi... yes
checking for aa_autoinit in -laa... yes
checking for dv_decoder_new in -ldv... yes
checking for lqt_query_registry in -lquicktime... yes
checking for XF86DGAQueryExtension in -lXxf86dga... yes
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for DPMSQueryExtension in -lXext... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for XvQueryExtension in -lXv... yes
checking for XmStringGenerate in -lXm... yes
checking for glXChooseVisual in -lGL... yes
checking for X11 config directory... /etc/X11
checking for X11 app-defaults directory... /etc/X11/app-defaults
checking if mmx should be used... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xawtv.spec
config.status: creating config.h
  CC      console/dump-mixers.o
  LD      console/dump-mixers
  CC      console/record.o
  LD      console/record
  CC      console/showriff.o
  LD      console/showriff
  CC      console/showqt.o
console/showqt.c: In function `swap_classic_atom':
console/showqt.c:358: warning: integer constant is too large for "long" type
console/showqt.c:358: warning: integer constant is too large for "long" type
console/showqt.c:358: warning: integer constant is too large for "long" type
console/showqt.c:358: warning: integer constant is too large for "long" type
console/showqt.c: In function `dump_fields':
console/showqt.c:447: warning: integer constant is too large for "long" type
console/showqt.c:447: warning: integer constant is too large for "long" type
console/showqt.c:447: warning: integer constant is too large for "long" type
console/showqt.c:447: warning: integer constant is too large for "long" type
  LD      console/showqt
  CC      console/streamer.o
  CC      common/channel-no-x11.o
  CC      common/sound.o
  CC      common/webcam.o
  CC      common/frequencies.o
  CC      common/commands.o
  CC      common/parseconfig.o
  CC      common/capture.o
common/capture.c: In function `movie_writer_stop':
common/capture.c:529: warning: integer constant is too large for "long" type
common/capture.c:534: warning: integer constant is too large for "long" type
common/capture.c: In function `movie_print_timestamps':
common/capture.c:596: warning: integer constant is too large for "long" type
common/capture.c:600: warning: integer constant is too large for "long" type
common/capture.c: In function `movie_grab_put_video':
common/capture.c:625: warning: integer constant is too large for "long" type
  CC      common/event.o
  CC      libng/grab-ng.o
  CC      libng/devices.o
  CC      libng/writefile.o
  CC      libng/color_common.o
  CC      libng/color_packed.o
  CC      libng/color_lut.o
  CC      libng/color_yuv2rgb.o
  CC      libng/convert.o
  AR      libng/libng.a
ar: creating libng/libng.a
  LD      console/streamer
  CC      console/webcam.o
  CC      console/ftp.o
  LD      console/webcam
  CC      console/scantv.o
  CC      common/vbi-data.o
  LD      console/scantv
  CC      console/ttv.o
  LD      console/ttv
  CC      console/radio.o
  LD      console/radio
  CC      console/fbtv.o
In file included from console/fbtv.c:31:
libng/grab-ng.h:28:1: warning: "bool" redefined
In file included from /usr/include/curses.h:136,
                 from console/fbtv.c:24:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/stdbool.h:36:1: warning: this is the location of the previous definition
  CC      console/fbtools.o
  CC      console/fs.o
  CC      console/matrox.o
  CC      common/lirc.o
  CC      common/joystick.o
  CC      common/midictrl.o
  LD      console/fbtv
console/fs.o(.text+0x587): In function `fs_connect':
: undefined reference to `FSOpenServer'
console/fs.o(.text+0x5a4): In function `fs_connect':
: undefined reference to `FSServerName'
console/fs.o(.text+0x5de): In function `fs_connect':
: undefined reference to `FSServerName'
console/fs.o(.text+0x652): In function `fs_open':
: undefined reference to `FSListFonts'
console/fs.o(.text+0x6c1): In function `fs_open':
: undefined reference to `FSOpenBitmapFont'
console/fs.o(.text+0x6cf): In function `fs_open':
: undefined reference to `FSFreeFontNames'
console/fs.o(.text+0x716): In function `fs_open':
: undefined reference to `FSQueryXInfo'
console/fs.o(.text+0x745): In function `fs_open':
: undefined reference to `FSQueryXExtents16'
console/fs.o(.text+0x788): In function `fs_open':
: undefined reference to `FSQueryXBitmaps16'
collect2: ld returned 1 exit status
make: *** [console/fbtv] Error 1

!!! ERROR: media-tv/xawtv-3.86-r2 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 5 Christopher Zapart 2005-02-13 13:02:35 UTC
Yes I'm getting exactly the same error message upon emerging the current stable
 version of xawtv. And just as Vincent said the unstable version media-tv/xawtv-3.94-r1 emerged OK.
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-19 16:22:24 UTC
*** Bug 84977 has been marked as a duplicate of this bug. ***
Comment 7 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-19 16:22:55 UTC
*** Bug 85768 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-04-17 15:57:35 UTC
*** Bug 89362 has been marked as a duplicate of this bug. ***
Comment 9 Francois Guimond 2005-05-10 20:39:31 UTC
Was getting the exact same symptoms...  traced it to a patch missing in 3.86 that we apply to 3.94-r1. Ebuild attached should fix that issue.
Comment 10 Francois Guimond 2005-05-10 20:41:51 UTC
Created attachment 58641 [details]
xawtv-3.86-r2.ebuild
Comment 11 Ortwin Glueck 2005-05-19 11:53:24 UTC
The ebuild attached in comment #10 solves the problem for me.
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2005-05-29 17:49:12 UTC
Please test latest version in Portage.