Subject: pkg/22168: emacs-packages broken with emacs-nox11
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tls@panix.com>
List: netbsd-bugs
Date: 07/17/2003 15:14:51
>Number:         22168
>Category:       pkg
>Synopsis:       emacs-packages can't cope with /usr/X11R6's absence
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 19:15:02 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thor Lancelot Simon
>Release:        NetBSD 1.6.1, pkgsrc as of 2003-07-17
>Organization:
>Environment:
NetBSD not-yet-cvs.netbsd.org 1.6.1 NetBSD 1.6.1 (NBCVS) #0: Thu Jul 17 11:19:16 UTC 2003 root@not-yet-cvs.netbsd.org:/usr/src/sys/arch/i386/compile/NBCVS i386
Architecture: i386
Machine: i386
>Description:
	The "emacs-packages" package doesn't work with the emacs-nox11
installation of emacs, because some packages included by "emacs-packages"
(notably emacs-dict-client) have a hardcoded dependency on "emacs >= 21.2"
or the like; the build then attempts to install that version of emacs even
though emacs-nox11-21.3 is already installed, then splodes because, as will
usually be the case if emacs-nox11 is installed, /usr/X11R6 is not present.
>How-To-Repeat:
On a system without /usr/X11R6, install emacs-nox11 then attempt to install
emacs-packages.  Boom!
>Fix:
Either the pkgsrc >= operator must be special-cased to deal with emacs-nox11
or all emacs packages must be fixed to not use >=.

>Release-Note:
>Audit-Trail:
>Unformatted: