<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>32063</bug_id>
          
          <creation_ts>2003-10-26 15:02 0000</creation_ts>
          <short_desc>USE=&quot;doc&quot; make require both tetex and ptex, but tetex blocks ptex</short_desc>
          <delta_ts>2003-10-30 21:18:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>2tcso6e02@sneakemail.com</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          <cc>nerdboy@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>2tcso6e02@sneakemail.com</who>
            <bug_when>2003-10-26 15:02:17 0000</bug_when>
            <thetext>doxygen-1.3.3 requires tetex for its documentation (if the USE-flag &quot;doc&quot; 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 &quot;doc&quot; 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&apos;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&apos;m using a dialup connection, so I&apos;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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-g -O2&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-g -O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache autoaddcvs fixpackages sandbox userpriv nostrip&quot;
GENTOO_MIRRORS=&quot;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/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>obz@gentoo.org</who>
            <bug_when>2003-10-26 18:35:43 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-10-27 00:02:01 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-10-27 04:36:47 0000</bug_when>
            <thetext>doxygen should depend on virtual/tetex but canna shouldn&apos;t.  canna
tries to compile japanese tex files if doc USE flag is set but
app-text/tetex doesn&apos;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&apos;t want to be a maintainer of
the package either ;-p).  Thanks for the report.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>2tcso6e02@sneakemail.com</who>
            <bug_when>2003-10-30 21:18:47 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
      
    </bug>

</bugzilla>