Bug 191793 - net-p2p/linuxdcpp needs a font package to run
Bug#: 191793 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: WORKSFORME Assigned To: net-p2p@gentoo.org Reported By: russ@eatnumber1.com
Component: Ebuilds
URL: 
Summary: net-p2p/linuxdcpp needs a font package to run
Keywords:  
Status Whiteboard: 
Opened: 2007-09-09 07:02 0000
Description:   Opened: 2007-09-09 07:02 0000
I tried installing linuxdcpp on a server which was compiled with -X, and after
compilation, it failed with an error that no fonts are found. I eventually
discovered that linuxdcpp has a missing dependency on a font package. I used
font-misc-misc which worked.

------- Comment #1 From Jakub Moc (RETIRED) 2007-09-09 07:23:26 0000 -------
Please, post the errors and emerge --info output and reopen then. Thanks.

------- Comment #2 From Russell Harmon 2007-09-09 07:28:00 0000 -------
forget it then... I fixed it myself and this was the cause of the problem. If
you don't believe me, you get to deal with the "wtf my 1337 hax arn't working"
bug reports this causes.

------- Comment #3 From Russell Harmon 2007-09-09 07:29:36 0000 -------
Here's the emerge info. I'm not going to break it again in order to get you the
error message.

Portage 2.1.2.12 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.5-r4,
2.6.19-ck2-r5 i686)
=================================================================
System uname: 2.6.19-ck2-r5 i686 Celeron (Mendocino)
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 05 Sep 2007 03:50:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol"
ARCH="x86"
AUTOCLEAN="yes"
AUTOPATCH="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS=""
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-v"
EMERGE_WARNING_DELAY="10"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE}
${URI}"
GCC_PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.2"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/home/russ"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info"
INPUT_DEVICES="keyboard mouse evdev"
I_KNOW_WHAT_I_AM_DOING="yes"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en en_US"
LOGNAME="russ"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAIL="/var/mail/russ"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man"
PAGER="/usr/bin/less"
PATCH_OVERLAY="/usr/portage/local/patches"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64
alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="eatnumber1@gmail.com
eatnumber1:qaz1qaz1@smtp.gmail.com:100025"
PORTAGE_ELOG_SYSTEM="mail_summary"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PWD="/home/russ"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE}
${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="129.21.60.26 65344 22"
SSH_CONNECTION="129.21.60.26 65344 129.21.60.155 22"
SSH_TTY="/dev/pts/1"
STAGE1_USE="nptl nptlonly unicode"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="xterm"
USE="apache2 bash-completion berkdb bindist bitmap-fonts bzip2 cli cracklib
crypt cups custom-cflags dri fortran gdbm iconv isdnlog mailwrapper midi mmx
mudflap mysql ncurses nfs nptl nptlonly offensive openmp pam pcre perl pppd
python readline reflection reiserfs samba session snmp spl sqlite ssl tcpd
threads truetype truetype-fonts type1-fonts unicode vim x86 xattr xml xorg
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa"
USER="russ"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS
ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL
LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="vesa"
XARGS="xargs -r"

------- Comment #4 From Russell Harmon 2007-09-09 07:31:56 0000 -------
I changed my gmail password once I noticed I posted it here

*hits myself on the head for doing something dumb* =)

------- Comment #5 From Russell Harmon 2007-09-09 07:35:21 0000 -------
Oh yea, I may have not stated correctly. It was not an emerge error. It was a
runtime error.

------- Comment #6 From Jakub Moc (RETIRED) 2007-09-09 07:37:30 0000 -------
(In reply to comment #5)
> Oh yea, I may have not stated correctly. It was not an emerge error. It was a
> runtime error.

See that's why I wanted the errors - because it's not reproducible at compile
it. 

------- Comment #7 From Russell Harmon 2007-09-09 07:46:40 0000 -------
arrrg... broke it again just for you =)

russ@saikano ~ $ linuxdcpp
Loading: Hash database
Loading: Shared Files
Loading: Download Queue
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

------- Comment #8 From Raúl Porcel 2007-09-11 11:40:56 0000 -------
Fixed, thanks.

------- Comment #9 From Russell Harmon 2007-09-11 20:15:00 0000 -------
I already had fontconfig installed, and that doesn't fix it. Like I said, an
actual font such as font-misc-misc needs to be pulled in for it to work.

------- Comment #10 From Raúl Porcel 2007-09-17 13:23:22 0000 -------
equery l font
[ Searching for package 'font' in all categories among: ]
 * installed packages
[I--] [  ] media-libs/fontconfig-2.4.2 (1.0)
[I--] [  ] x11-apps/mkfontdir-1.0.3 (0)
[I--] [  ] x11-apps/mkfontscale-1.0.3 (0)
[I--] [  ] x11-libs/libXfont-1.3.0 (0)
[I--] [  ] x11-libs/libXfontcache-1.0.4 (0)
[I--] [  ] x11-libs/libfontenc-1.0.4 (0)
[I--] [  ] x11-proto/fontcacheproto-0.1.2 (0)
[I--] [  ] x11-proto/fontsproto-2.0.2 (0)
[I--] [  ] x11-proto/xf86bigfontproto-1.1.2 (0)

I've got those only packages that contain the word 'font' and i can't reproduce
the problem. Need to note that i built linuxdcpp after i unmerged the fonts.