xawtv compiles and links with xorg-x11-6.7.0-r3. It breaks as documented below. The link problem looks similar to bug 80239. The compiler warnings seem to indicate that somehow the header files are broken by xorg-x11-6.8.0-r4. This bug is to report the break of included header files. Reproducible: Always Steps to Reproduce: 1.emerge xawtv 2.Compile has warnings and link fails 3. Actual Results: bash-2.05b# emerge xawtv PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. Calculating dependencies ...done! >>> emerge (1 of 1) media-tv/xawtv-3.86-r2 to / >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) xawtv-3.86-r2.ebuild >>> md5 files ;-) xawtv-3.94.ebuild >>> md5 files ;-) xawtv-3.94-r1.ebuild >>> md5 files ;-) files/webcamrc >>> md5 files ;-) files/alevtd-style-mozilla.diff >>> md5 files ;-) files/digest-xawtv-3.86-r2 >>> md5 files ;-) files/digest-xawtv-3.94 >>> md5 files ;-) files/tv-fonts-1.0-gentoo.diff >>> md5 files ;-) files/digest-xawtv-3.94-r1 >>> md5 files ;-) files/xawtv-3.94-allow-xlibs-in-normal-search-path.patch >>> 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. ./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... no 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+0x385): In function `fs_open': console/fs.c:226: undefined reference to `FSListFonts' console/fs.o(.text+0x3f6):console/fs.c:235: undefined reference to `FSOpenBitmapFont' console/fs.o(.text+0x403):console/fs.c:236: undefined reference to `FSFreeFontNames' console/fs.o(.text+0x448):console/fs.c:240: undefined reference to `FSQueryXInfo' console/fs.o(.text+0x481):console/fs.c:243: undefined reference to `FSQueryXExtents16' console/fs.o(.text+0x4c7):console/fs.c:244: undefined reference to `FSQueryXBitmaps16' console/fs.o(.text+0xc98): In function `fs_connect': console/fs.c:196: undefined reference to `FSOpenServer' console/fs.o(.text+0xcb4):console/fs.c:198: undefined reference to `FSServerName' console/fs.o(.text+0xced):console/fs.c:201: undefined reference to `FSServerName' 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. Expected Results: installed xawtv bash-2.05b# emerge info PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES. Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 10:41:22)] dev-lang/python: 2.2.3-r5, 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.19-r1, 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -g -pipe -fforce-addr -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -mno-sse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -g -pipe -fforce-addr -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -mno-sse2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks gpg moo nostrip sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo ftp://mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apm arts avi berkdb bitmap-fonts cdr cjk crypt cscope cups directfb dvd emacs encodeesd f77 fam fbcon flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gtk2 imagemagick imap imlib ipv6jack java jikes jpeg junit kde ladcca libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb x86 xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
That stuff is all in libFS. Do you have /usr/lib/libFS*? Also, readlink -f /usr/X11R6/lib.
I, too, am having this same problem. fl-gentoo-build root # ls /usr/lib/libFS* /usr/lib/libFS.a /usr/lib/libFS.so /usr/lib/libFS.so.6 /usr/lib/libFS.so.6.0 fl-gentoo-build root # readlink -f /usr/X11R6/lib /usr/lib fl-gentoo-build root # qpkg -I -f /usr/lib/libFS.so.6.0 x11-base/xorg-x11 *
See if you can find the actual compilation log somewhere instead of this stuff veiled behind CC's and LD's. Look for the line where it's linking console/fs.o into console/fbtv and paste it.
I found a log at /var/usr/portage/5187-xawtv-3.86-r2.log that has exactly the same information that I already posted. If you can tell me what emerge options or environment variables to set I'll be glad to compile it again to get you more information.
No, it would be something xawtv produces, not something portage produces. Look in /var/tmp/portage/xawtv*/work/
Created attachment 51345 [details] dependencies for console_fbtv
Created attachment 51346 [details] dependencies for console_fs
I searched all the files in /var/tmp/portage/xawtv-3.86-r2/work/xawtv-3.86 and subdirectories using grep for a make log without success. I found a couple of dependency files that might be useful in the mk subdirectory. I added them as attachments.
Hm.. Try a newer version of xawtv -- 3.94-r1. Looks like older stuff may not have gotten the necessary fixes.
xawtv version 3.94-r1 fixes the bug in that xawtv compiles and links. But version 3.94-r1 is masked. I also notice some warnings in version 3.94-r1 that could indicate a problem: 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 CC common/capture.o common/capture.c: In function `movie_writer_stop': common/capture.c:530: warning: integer constant is too large for "long" type common/capture.c:535: warning: integer constant is too large for "long" type common/capture.c: In function `movie_print_timestamps': common/capture.c:597: warning: integer constant is too large for "long" type common/capture.c:601: warning: integer constant is too large for "long" type common/capture.c: In function `movie_grab_put_video': common/capture.c:626: warning: integer constant is too large for "long" type
TV people, can you please stable 3.94-r1? It's broken with stable xorg-x11.
("It" is the stable xawtv)
I just did: emerge sync emerge -s xawtv * media-tv/xawtv Latest version available: 3.86-r2 I don't have authority to change the unmasked version to 3.94-r1, but it is bound to be giving other people problems.
Fixed for x86. But other arches need to mark it stable too.. Also 3.94-r1 isn't too good... -r2 is the target candidate. I'd open a new bug requesting stable testing on -r2 and make this depend on that.
Why isn't the files/tv-fonts-1.0-gentoo.diff used? The commands used in the makefile aren't valid anymore. Please accept this humble patch to please the community ;) --- xawtv-3.94-r2.ebuild 2005-11-12 22:02:39.000000000 +0000 +++ xawtv-3.94-r3.ebuild 2005-11-12 22:01:44.000000000 +0000 @@ -72,6 +72,7 @@ if use X; then cd ${WORKDIR}/${MY_FONT} + epatch ${FILESDIR}/${MY_FONT}-gentoo.diff DISPLAY="" Xmake || die "tvfonts failed" fi } Works now! :D
Created attachment 72775 [details, diff] tv-fonts-1.1-gentoo.patch Got a look at http://bugs.gentoo.org/show_bug.cgi?id=94547 and added this new patch for tv-fonts-1.1. This is the patch for the ebuild: --- xawtv-3.94-r2.ebuild 2005-11-12 22:02:39.000000000 +0000 +++ xawtv-3.94-r3.ebuild 2005-11-12 22:25:10.000000000 +0000 @@ -7,7 +7,7 @@ IUSE="aalib alsa dv lirc mmx motif nls opengl quicktime X xv zvbi" MY_PATCH="xaw-deinterlace-3.76-0.1.1.diff.bz2" -MY_FONT=tv-fonts-1.0 +MY_FONT=tv-fonts-1.1 DESCRIPTION="TV application for the bttv driver" HOMEPAGE="http://bytesex.org/xawtv/" SRC_URI="http://dl.bytesex.org/releases/xawtv/${P}.tar.gz @@ -72,6 +72,7 @@ if use X; then cd ${WORKDIR}/${MY_FONT} + epatch ${FILESDIR}/${MY_FONT}-gentoo.patch DISPLAY="" Xmake || die "tvfonts failed" fi } compiled fine here. Please test it and commit it to portage. Regards.
(In reply to comment #16) > Created an attachment (id=72775) [edit] > tv-fonts-1.1-gentoo.patch > > Got a look at http://bugs.gentoo.org/show_bug.cgi?id=94547 and added this new > patch for tv-fonts-1.1. Also came acros http://bugs.gentoo.org/show_bug.cgi?id=96848 and - if added - the patch would result in: --- xawtv-3.94-r2.ebuild 2005-11-12 22:02:39.000000000 +0000 +++ xawtv-3.94-r3.ebuild 2005-11-12 23:32:22.000000000 +0000 @@ -7,7 +7,7 @@ IUSE="aalib alsa dv lirc mmx motif nls opengl quicktime X xv zvbi" MY_PATCH="xaw-deinterlace-3.76-0.1.1.diff.bz2" -MY_FONT=tv-fonts-1.0 +MY_FONT=tv-fonts-1.1 DESCRIPTION="TV application for the bttv driver" HOMEPAGE="http://bytesex.org/xawtv/" SRC_URI="http://dl.bytesex.org/releases/xawtv/${P}.tar.gz @@ -48,6 +48,7 @@ epatch ${FILESDIR}/${P}-allow-xlibs-in-normal-search-path.patch epatch ${FILESDIR}/${P}-gcc4.patch epatch ${FILESDIR}/${P}-no-x11.patch + epatch ${FILESDIR}/${P}-autocolor.patch cd ${S} autoreconf || "reconf failed" } @@ -72,6 +73,7 @@ if use X; then cd ${WORKDIR}/${MY_FONT} + epatch ${FILESDIR}/${MY_FONT}-gentoo.patch DISPLAY="" Xmake || die "tvfonts failed" fi } > compiled fine here. Still goes Please test it and commit it to portage. Regards.
Fixed in 3.95.