Summary: | Why hylafax requires xterm? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | mren <bugs> |
Component: | Current packages | Assignee: | Steve Arnold <nerdboy> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
mren
2005-12-11 12:06:00 UTC
If I do a depgraph (equery g hylafax) on a machine with X (and associated USE flags such as tk, gtk, etc) I see xorg and a few related packages, but xterm doesn't appear directly. If USE="gtk" is in effect when ghostscript is pulled in, then so is xorg, xterm, etc. However, if I emerge hylafax-4.2.1-r2 on a server machine (with no X installed and a "server" set of USE flags) I get the following deps; notice the gs USE flags include -gtk: $ USE="faxonly gs" sudo emerge hylafax -vp These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-fonts/gnu-gs-fonts-std-8.11 0 kB [ebuild N ] app-text/ghostscript-7.07.1-r8 -X -cjk +cups +emacs -gtk 0 kB [ebuild N ] media-libs/urt-3.1b-r1 -X +gif +gs +tiff 992 kB [ebuild N ] media-libs/jbigkit-1.4 0 kB [ebuild N ] media-libs/jasper-1.701.0 +jpeg -opengl 0 kB [ebuild N ] media-libs/netpbm-10.30-r1 +jpeg +png -svga +tiff +zlib 2,542 kB [ebuild N ] app-misc/mime-types-4 0 kB [ebuild N ] net-mail/metamail-2.7.45.3 0 kB [ebuild N ] net-misc/hylafax-4.2.1-r2 +faxonly +jpeg -mgetty +pam 0 kB Total size of downloads: 3,535 kB The above machine has no X, no gtk, no tk, etc. Otherwise, I don't know what to tell you, since I can't find another dep that pulls in xterm; I assume you have X-related USE flags set to "-foo" in your make.conf? The einfo for this machine: $ emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11.6 i686) ================================================================= System uname: 2.6.11.6 i686 AMD Duron(tm) processor Gentoo Base System version 1.6.10 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.1.3-r1, 2.2.3-r6, 2.3.4-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -mtune=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://trumpetti.atm.tut.fi/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo http://gentoo.binarycompass.org/ ftp://mirror.nutsmaas.nl/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow aalib acl acpi alsa apache2 apm avi bitmap-fonts bzip2 cdr crypt cups directfb dvdr eds emacs emboss encode expat f77 fam fbcon foomaticdb fortran freetype freetype2 gb gcj gd gdbm gif gmp gpm gstreamer hal imap imlib innodb ipv6 java jbig jpeg jpg junit lame ldap libg++ libwww mad maildir memlimit mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis oss pam pdflib perl pg-hier plotutils png postgres python quicktime readline samba sasl sdl slang snmp spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS It's weird: # equery g hylafax [ Searching for packages matching hylafax... ] * dependency graph for net-misc/hylafax-4.2.1-r2 `-- net-misc/hylafax-4.2.1-r2 `-- net-dialup/mgetty-1.1.30-r2 `-- sys-apps/portage-2.0.51.22-r3 `-- sys-apps/sed-4.1.4 `-- dev-python/python-fchksum-1.7.1 `-- dev-lang/python-2.4.2 `-- sys-libs/zlib-1.2.3 `-- sys-libs/ncurses-5.4-r6 `-- sys-libs/gpm-1.20.1 `-- sys-devel/autoconf-2.59-r6 `-- sys-apps/texinfo-4.8-r2 `-- sys-devel/autoconf-wrapper-3-r1 `-- sys-devel/autoconf-2.13 `-- sys-devel/m4-1.4.3 `-- dev-lang/perl-5.8.6-r8 `-- sys-devel/libperl-5.8.6-r1 `-- sys-libs/db-4.2.52_p2-r1 `-- dev-lang/tcl-8.3.4 `-- sys-libs/gdbm-1.8.3-r2 `-- sys-libs/readline-5.0-r2 `-- dev-libs/openssl-0.9.7e-r2 `-- dev-libs/expat-1.95.8 `-- sys-apps/debianutils-2.14.1-r1 `-- app-shells/bash-3.0-r12 `-- sys-apps/sandbox-1.2.12 `-- sys-apps/gawk-3.1.4-r4 `-- app-text/ghostscript-7.07.1-r8 (virtual/ghostscript) `-- sys-libs/glibc-2.3.5-r2 (virtual/libc) `-- sys-devel/gettext-0.14.4 `-- media-libs/jpeg-6b-r5 `-- media-libs/libpng-1.2.8 `-- media-fonts/gnu-gs-fonts-std-8.11 `-- media-libs/tiff-3.7.3 `-- sys-libs/pam-0.78-r3 (virtual/pam) [ pam ] `-- sys-libs/cracklib-2.8.3-r1 `-- sys-libs/pwdb-0.62 `-- net-mail/metamail-2.7.45.3 `-- app-misc/mime-types-3 [ net-misc/hylafax-4.2.1-r2 stats: packages (38), max depth (13) ] Nothing with X here, but: # emerge -epv world These are the packages that I would merge, in order: Calculating world dependencies \ !!! All ebuilds that could satisfy "x11-terms/xterm" have been masked. !!! One of the following masked packages is required to complete your request: - x11-terms/xterm-205 (masked by: package.mask, ~x86 keyword) - x11-terms/xterm-204 (masked by: package.mask) - x11-terms/xterm-207 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! Problem with ebuild net-misc/hylafax-4.2.1-r2 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. And my USE in /etc/make.conf: USE="apache2 clamav fbcon imap maildir mcal nocardbus oav samba sasl sse \ -oss -arts -cups -encode -gtk -java -kde -gnome -qt -X ldap \ ssl -gpm nptl pic innodb jikes javamail pcre unicode php \ libclamav -acl userlocales -ipv6 -alsa" I've added "-gtk2" but it didn't help. I guess the work-around is to use --nodeps when you update Hylafax. Other than that, I can't think of anything else to add (other than it doesn't appear to be a Hylafax problem). Maybe a portage bug if you want to try to track it down... The workaround maybe working if I only want to update hylafax, but as I wrote in the opening entry I have to `emerge -ev world` - after the gcc-update. I don't think '--nodeps' is an option for that. I'm not sure what you expect hylafax to do for you, since it seems to be an obscure interaction between your USE flags and some other package(s). The only thing I can suggest is forcing more USE flags off with explicit "-foo". I'm not which ones just yet, but try starting with the tcl/tk ones if you can. OK, the USE-flag causes the problem is "opengl" which was set from the default (and I haven't seen it in the "emerge info"-output). But why is this flag causing hylafax to depend on xterm? Merry christmas. (In reply to comment #6) > OK, the USE-flag causes the problem is "opengl" which was set from the default > (and I haven't seen it in the "emerge info"-output). > But why is this flag causing hylafax to depend on xterm? Because media-libs/jasper depends on virtual/opengl with USE="opengl" and virtual/opengl is provided by xorg-x11 by default. Closing. |