Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32063 - USE="doc" make require both tetex and ptex, but tetex blocks ptex
Summary: USE="doc" make require both tetex and ptex, but tetex blocks ptex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-26 15:02 UTC by Mark Purtill
Modified: 2003-10-30 21:18 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 Mark Purtill 2003-10-26 15:02:17 UTC
doxygen-1.3.3 requires tetex for its documentation (if the USE-flag "doc" is
set).  canna-3.6_p4 requires ptex for its documentation.  But ptex requires that
tetex not be present to be installed.

Reproducible: Always
Steps to Reproduce:
1. Add "doc" to USE flags
2. Emerge doxygen (say doxygen-1.3.3)
3. Emerge canna (canna-3.6_p4)

Actual Results:  
% emerge -pD --onlydeps app-i18n/canna
Calculating dependencies ...done!
[blocks B     ] app-text/tetex (from pkg app-text/ptex-3.1.2-r1)
[ebuild  N    ] app-text/ptex-3.1.2-r1
[blocks B     ] app-text/tetex (from pkg app-text/xdvik-22.40y-r1)
[blocks B     ] app-text/tetex (from pkg app-text/dvipdfmx-20030813)


Expected Results:  
I'm not sure, but either allowing ptex and tetex to coexist or allowing
documenatation to use either system (perhaps with a virtual/tex?) would be better.

I'm using a dialup connection, so I'm not able to see if I can actually merge
canna now or whether this prevents the merge entirely.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g -O2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-g -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs fixpackages sandbox userpriv nostrip"
GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://mirrors.tds.net/gentoo
ftp://gentoo.ccccom.com http://mirrors.tds.net/gentoo http://gentoo.ccccom.com
ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif gnome libg++ mad mikmod
ncurses nls pdflib quicktime spell xml2 xmms xv zlib gdbm berkdb slang svga java
guile sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk opengl mozilla
3dnow -alsa aalib arts canna cdr cjk debug doc dvd esd -firebird freetype
freewnn jpeg kde maildir matrox mbox -motif mozsvg mpeg mule perl png qt
readline ruby scanner sse tcltk tetex tiff truetype usb X Xaw3d"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-10-26 18:35:43 UTC
phosphan, usata, could you please check and see if doxygen and canna respectively
could be changed to use virtual/tetex instead of the specific tex packages?
thanks.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-27 00:02:01 UTC
doxygen belongs to dev-tools. nerdboy wrote the metadata.xml which listed
me as maintainer, but I never wanted this job - seems there was some misunderstanding.
Changing CC to nerdboy since there seems to be no alias for dev-tools.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-10-27 04:36:47 UTC
doxygen should depend on virtual/tetex but canna shouldn't.  canna
tries to compile japanese tex files if doc USE flag is set but
app-text/tetex doesn't support japanese input. canna needs to depend
on app-text/ptex instead of virtual/tetex.

I tested compiling doxygen with pTeX and it merged successfully, so I
committed the change to CVS (though I don't want to be a maintainer of
the package either ;-p).  Thanks for the report.
Comment 4 Mark Purtill 2003-10-30 21:18:47 UTC
THanks!  That solved my problem (once I unmerged tetex and merged ptex),
but note that there are several other packages that refer to app-text/tetex
rather than virtual/tetex; I found these (using the doc USE flags), and there
are more (some with the tetex flag):

app-misc/tdl-1.4.1.ebuild
dev-haskell/haddock-0.4.ebuild
dev-haskell/haddock-0.5.ebuild
dev-lisp/cmucl-18e.ebuild
dev-lisp/cl-tclink-3.3.1.ebuild
dev-util/darcs-0.9.10.ebuild
dev-util/darcs-0.9.11.ebuild
dev-util/darcs-0.9.12.ebuild
net-dialup/mgetty-1.1.28.ebuild
net-dialup/mgetty-1.1.30.ebuild
sys-devel/oskit-20020317.ebuild