Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132370 - xdtv fails to start
Summary: xdtv fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on: 163706 250894
Blocks:
  Show dependency tree
 
Reported: 2006-05-05 12:33 UTC by Paul Chatzidimitriou
Modified: 2008-12-15 08:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Chatzidimitriou 2006-05-05 12:33:07 UTC
xdtv fails to launch after migrating to xorg 7.0-r1 with that error :
Warning: Cannot convert string "-xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-*-*,               -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Error: Aborting: no fontset found


emerge --info
medic etc-backup # emerge --info
Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://files.gentoo.gr http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/ http://ftp.physics.auth.gr/pub/mirrors/gentoo/"
LINGUAS="en el"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib alsa apache2 apm asf audiofile avi berkdb bitmap-fonts bonobo bzip2 cairo cdr cli crypt cups curl dbus dga divx4linux dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal fame fbcon ffmpeg fftw flac flash foomaticdb fortran gdbm gif gimp gimpprint glitz glut gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal howl idn imagemagick imlib ipv6 isdnlog jabber java jpeg kdeenablefinal kerberos kernel_linux krb4 lcms libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mplayer msn ncurses nls nptl nvidia ogg opengl oss pam pcre pdflib perl pic png ppds pppd python quicktime readline reflection samba scanner sdl session slang speex spell spl sqlite sse ssl subtitles svg tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev usb userland_GNU v4l v4l2 vorbis win32codecs wxwindows x86 xine xml xml2 xmms xorg xv xvid zlib input_devices_keyboard input_devices_mouse linguas_en linguas_el video_cards_vesa video_cards_fbdev video_cards_nvidia video_cards_nv video_cards_v4l video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Alexis Ballier gentoo-dev 2006-10-21 06:06:42 UTC
xdtv-2.3.3 ebuild states :

The OSD font has moved. You probably should add
this path to your X configuration:
   "/usr/share/fonts/xdtv"



I can reproduce this when I remove this line from xorg.conf, but with it, everything is fine.



Can you try this please ? 
You can do it by adding : 
    FontPath    "/usr/share/fonts/xdtv/"

to the Section "Files" in xorg.conf

Comment 2 Paul Chatzidimitriou 2006-10-21 10:13:53 UTC
I had FontPath    "/usr/share/fonts/xdtv/" to the Section "Files" in my xorg.conf  since then but it didn't work as i didn't etc-update because i am an idiot.After that 2.3.3 get masked i downgraded to xdtv-2.2.0-r1 and it kept failing with the same error.I unmask and emerge 2.3.3 etc-update and it work ok now.The only problem i have is that when i hit 'r' to record a movie i get Segmentation fault but i think that this doesn't have to do anything with this bug
Comment 3 Alexis Ballier gentoo-dev 2006-10-21 12:31:13 UTC
Ok, now I can reproduce it.
The workaround for this problem with 2.2.0-r1 would be to launch it by setting your locales to C : LC_ALL=C xdtv

It should work dy doing that.

The problem with 2.3.3 is that it ships a ffmpeg snapshot with it and it might be affected by ffmpeg bugs; in fact it does not even build with the latest x264 snapshots.

For now, removing internal ffmpeg in xdtv will break dvb support... so, unfortunately, there is no clean solution.
I've disabled dvb support and patched 2.3.3 to link against the ffmpeg library rather than building another one to statically link it.
xdtv-2.3.3 in now unmasked.


I'll leave that bug open because you, indeed, found a bug and for now 2.2.0-r1 is stable on x86.


Regards, 

Alexis.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2008-12-15 08:06:08 UTC
this bug should be fixed with having new ffmpeg and xdtv-2.4.0 now in stable, reopen if not