Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139565 - net-analyzer/rrdtool broken with freetype-2.1.10-r2
Summary: net-analyzer/rrdtool broken with freetype-2.1.10-r2
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Netmon project
URL: http://http://www.linux.org.ru/profil...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-07 08:36 UTC by Nickolay L. Selikhov
Modified: 2007-02-15 21:32 UTC (History)
2 users (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 Nickolay L. Selikhov 2006-07-07 08:36:48 UTC
I've script:
cat /usr/local/sbin/monitoring/temperature
================ НАЧАЛО ===================
#!/bin/sh
export RRD_DEFAULT_FONT=/usr/share/fonts/WIN_TTF/times.ttf

# Graphics size
size_v=500
size_h=850
size_h_year=2048

# DB file
db_file=/var/www/localhost/htdocs/rrd/temp0.rrd

value=`digitemp -t 0 -q -o "%.3C" -c /etc/digitemp`
rrdtool update ${db_file} N:$value

# 1 Hour graph
rrdtool graph /var/www/localhost/htdocs/rrd/temp0_hour.png \
-s -3600 -e now -i -a PNG -v "Temperature, C" -w ${size_h} -h ${size_v} -R mono \
-x MINUTE:1:MINUTE:10:MINUTE:5:0:%H:%M \
DEF:av_temp=${db_file}:value:AVERAGE \
VDEF:last=av_temp,LAST \
VDEF:min=av_temp,MINIMUM \
VDEF:av=av_temp,AVERAGE \
VDEF:max=av_temp,MAXIMUM \
AREA:av_temp#00FF00:"C" \
LINE:min#0000FF:"C, Min" \
LINE:av#FF00FF:"C, Average" \
LINE:max#FF0000:"C, Max" \
LINE:av_temp#000000: \
COMMENT:"\n" \
GPRINT:last:"Last\: %.2lf C" \
GPRINT:min:"Minimal\: %.2lf C" \
GPRINT:av:"Average\: %.2lf C" \
GPRINT:max:"Maximal\: %.2lf C"
================ ОСМЫСЛЕННЫЙ КОНЕЦ ============

After update:

$ /usr/local/sbin/monitoring/temperature
couldn't convert glyph to bitmap
...
couldn't convert glyph to bitmap

After:
cat /etc/portage/package.mask
=media-libs/freetype-2.1.10-r2

# /usr/local/sbin/monitoring/temperature
941x582
941x582
941x582
2139x582
Comment 1 Nickolay L. Selikhov 2006-07-07 08:37:21 UTC
Additional information:
 emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.16 i586)
=================================================================
System uname: 2.6.16.16 i586 Pentium MMX
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i586 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm avi berkdb bitmap-fonts bzlib cli crypt ctype dlloader dri eds emboss encode esd extensions foomaticdb fortran gd gdbm gif gpm gstreamer iconv imagemagick imap imlib isdnlog jpeg libg++ libwww linguas_ru mad math mikmod mmx motif mp3 mpeg mppe-mppc ncurses network nls nptl nptlonly odbc ogg pam pcre pdflib perl php png posix pppd python qt3 qt4 quicktime readline reflection ruby sdl session shared sockets spell spl ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml xml2 xmms xorg xsl zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-07 09:44:57 UTC
You didn't post any error...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-07 16:50:01 UTC
Sigh... this bugzilla jumping on next bug in the list is really annoying. Reopen.
Comment 4 Nickolay L. Selikhov 2006-07-07 20:06:50 UTC
I regret, the Mistake that after updating freetype ceases to work rrdtool.

>couldn't convert glyph to bitmap
Comment 5 cilly 2006-10-12 14:21:03 UTC
which version of rrdtool?
Comment 6 Nickolay L. Selikhov 2006-10-12 20:04:22 UTC
]$ rrdtool --version
RRDtool 1.2.6  Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Comment 7 Cédric Krier gentoo-dev 2006-11-20 14:31:40 UTC
Did you try to run revdep-rebuild ?
Comment 8 Cédric Krier gentoo-dev 2007-01-20 21:35:29 UTC
Is this bug always available ?