Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68814

Summary: emerge preview-latex requires emacs even if xemacs is installed
Product: Gentoo Linux Reporter: Martin Pohlack <mp26>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED CANTFIX    
Severity: blocker CC: xemacs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?t=235412&highlight=
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Pohlack 2004-10-25 04:45:17 UTC
When I try to emerge preview-latex, a dependency to emacs is created, even if xemacs should suffice.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge emacs
2. emerge xemacs
3. emerge -p preview-latex

Actual Results:  
[ebuild  N    ] gnome-base/gnome-desktop-2.6.2
[ebuild  N    ] app-editors/emacs-21.3-r3
[ebuild  N    ] app-emacs/auctex-11.53
[ebuild  N    ] dev-tex/preview-latex-0.8.1 

Expected Results:  
[ebuild  N    ] dev-tex/preview-latex-0.8.1 

I removed all the emacs deps. in the ebuild manually and could emerge preview-latex
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-27 20:16:54 UTC
Yes, you need either emacs or xemacs, but portage
cannot handle dependencies relative to your system.
Portage is only able to process USE flag based conditional
dependencies, and you need to turn on xemacs USE
flag to get preview-latex for xemacs installed.

emerge -pv preview-latex

shows you that preview-latex has emacs and xemacs
USE flags.

See also bug #54183.