Bug 76812 - tetex and texinfo both provide texi2pdf
Bug#: 76812 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: text-markup@gentoo.org Reported By: genone@gentoo.org
Component: Applications
URL: 
Summary: tetex and texinfo both provide texi2pdf
Keywords:  
Status Whiteboard: 
Opened: 2005-01-05 13:25 0000
Description:   Opened: 2005-01-05 13:25 0000
>>> Completed installing into /var/tmp/portage/texinfo-4.8/image/

processing merge

* checking 33 files for package collisions
existing file /usr/bin/texi2pdf is not owned by this package
* spent 0.05 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it 
* as a bug for this package on http://bugs.gentoo.org

package sys-apps/texinfo-4.8 NOT merged

# equery b /usr/bin/texi2pdf
[ Searching for file(s) /usr/bin/texi2pdf in *... ]
app-text/tetex-2.0.2-r4 (/usr/bin/texi2pdf)

------- Comment #1 From SpanKY 2005-01-30 12:51:36 0000 -------
texinfo-4.7 didnt install it so i've updated 4.8 to not install it either

------- Comment #2 From Derek Dolney 2005-04-15 18:29:39 0000 -------
I'd like to reopen this. It looks like tetex-3 no longer provides texi2pdf. I
just commented out

rm -f "${D}"/usr/bin/texi2pdf

from texinfo-4.8.ebuild and I get a working texi2pdf.

------- Comment #3 From Marius Mauch (RETIRED) 2005-04-15 19:01:18 0000 -------
please open a new bug in that case.

------- Comment #4 From Jakub Moc (RETIRED) 2005-11-11 04:56:48 0000 -------
*** Bug 112164 has been marked as a duplicate of this bug. ***

------- Comment #5 From Nicolas MASSE 2005-11-11 05:13:53 0000 -------
(In reply to comment #2)  
> I'd like to reopen this. It looks like tetex-3 no longer provides texi2pdf. I  
just commented out  
>   
> rm -f "${D}"/usr/bin/texi2pdf  
>   
> from texinfo-4.8.ebuild and I get a working texi2pdf.  
  
The solution provided in texinfo-4.8-r2.ebuild doesn't work if you install 
tetex-2 AFTER texinfo. 
 
Extract of texinfo-4.8-r2.ebuild 
 
# tetex installs this guy #76812 
has_version '<app-text/tetex-3' && rm -f "${D}"/usr/bin/texi2pdf 
 
Should we re-open the bug ? 

------- Comment #6 From Jakub Moc (RETIRED) 2005-11-11 05:20:32 0000 -------
This is not really solved, because <=app-text/tetex-2* ebuilds or tetex-2
eclass
need to check for the same thing, i.e., something like:

has_version 'sys-apps/texinfo' && rm -f "${D}"/usr/bin/texi2pdf

Reopened. 

------- Comment #7 From Alexandre Buisse (RETIRED) 2005-11-11 05:58:25 0000 -------
I think this would solve the situation. Can you provide a patch, please ?

------- Comment #8 From Jakub Moc (RETIRED) 2005-11-15 23:34:28 0000 -------
*** Bug 112657 has been marked as a duplicate of this bug. ***

------- Comment #9 From Lares Moreau 2005-11-28 16:25:55 0000 -------
*** Bug 113853 has been marked as a duplicate of this bug. ***

------- Comment #10 From Lares Moreau 2005-11-28 16:26:06 0000 -------
*** Bug 113855 has been marked as a duplicate of this bug. ***

------- Comment #11 From Alexandre Buisse (RETIRED) 2005-12-04 14:20:09 0000 -------
The fix of jakub has been commited in tetex-2.eclass. Thanks.