Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290753 - net-mail/mailgraph or net-analyzer/rrdtool missing dependency information
Summary: net-mail/mailgraph or net-analyzer/rrdtool missing dependency information
Status: RESOLVED DUPLICATE of bug 284678
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 14:20 UTC by Aljoscha Vollmerhaus
Modified: 2010-02-01 00:46 UTC (History)
1 user (show)

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


Attachments
Broken mailgraph output (fehler.jpg,11.15 KB, image/jpeg)
2009-10-27 14:24 UTC, Aljoscha Vollmerhaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aljoscha Vollmerhaus 2009-10-27 14:20:55 UTC
net-mail/mailgraph (or net-analyzer/rrdtool ?) has incorrect dependency information.

The graphs drawn by mailgraph ony showed only weird boxes where the text should have been, i suspected this to be a problem with missing fonts, because the affected server has only a very limited number of packages installed, and /usr/share/fonts/ didn't even exist.

I created it and copied the fonts from a desktop gentoo system, and the mailgraph images went from "weird boxes instead of text" to "normal".

So, i think maybe either mailgraph or rrdtool is missing dependency information on something in the media-font category.

The affected system is using the amd64-hardened-nomultilib profile.

Any more info needed?
Comment 1 Aljoscha Vollmerhaus 2009-10-27 14:24:13 UTC
Created attachment 208429 [details]
Broken mailgraph output
Comment 2 Aljoscha Vollmerhaus 2009-10-27 14:55:47 UTC
Maybe i should mention the specific versions involved:

net-mail/mailgraph-1.14
net-analyzer/rrdtool-1.3.8

emerge --info:

GentooSMB fonts # emerge --info
Portage 2.1.6.13 (hardened/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Celeron-R-_CPU_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 27 Oct 2009 06:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fforce-addr -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 authdaemond bash-completion berkdb bzip2 cli cracklib crypt ctype dri fam gdbm hardened iconv imap isdnlog justify kerberos libclamav libwww maildir mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection sasl session spl sse sse2 ssl sysfs tcpd unicode urandom winbind xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Sebastian Luther (few) 2009-10-28 16:34:11 UTC
pkg_postinst() {
[...]
ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if you've"
ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
}
Comment 4 Aljoscha Vollmerhaus 2009-10-28 16:37:45 UTC
(In reply to comment #3)
> pkg_postinst() {
> [...]
> ewarn "Note: rrdtool-1.3.x doesn't have any default font bundled. Thus if
> you've"
> ewarn "upgraded from rrdtool-1.2.x and don't have any font installed to make"
> ewarn "lables visible, please, install some font, e.g. media-fonts/dejavu."
> }

Shouldn´t this just depend on media-fonts/dejavu then? If you manage to miss the postinst-notes (like i apparently did), your new shiny rrdtool is pretty much useless...
Comment 5 Christian Baumhof 2009-10-28 19:46:50 UTC
Maybe a virtual should be created for packages like this who need fonts.

In my humble opinion, a package with all dependencies installed should work without more steps by the user. The current situation is sub-par.
Comment 6 Sebastian Luther (few) 2009-10-28 19:57:14 UTC
(In reply to comment #4)
> Shouldn´t this just depend on media-fonts/dejavu then? 

No, maybe someone wants another font.

> If you manage to miss
> the postinst-notes (like i apparently did), your new shiny rrdtool is pretty
> much useless...
> 

Users are supposed to read these messages. If you don't read them at install time, use the elog facility to save them. See man make.conf.

>Maybe a virtual should be created for packages like this who need fonts.
>In my humble opinion, a package with all dependencies installed should work
>without more steps by the user. The current situation is sub-par.

I'll reopen this bug, to give the maintainer the chance to consider this.
Comment 7 Aljoscha Vollmerhaus 2009-10-28 21:13:36 UTC
> Users are supposed to read these messages. If you don't read them at install
> time, use the elog facility to save them. See man make.conf.

I´ll take the blame for this one, but i don´t see why we shouldn´t depend on a font, or a virtual for some font? Even if there´s some esotheric use case where you don´t need rrdtool to draw text, it shouldn´t hurt that much to have a lone font laying around.
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-01 00:46:28 UTC
See bug 284678, comment #4

*** This bug has been marked as a duplicate of bug 284678 ***