pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41853: mail/mew and emacs versions (default build fails)



>Number:         41853
>Category:       pkg
>Synopsis:       mail/mew and emacs versions (default build fails)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 08:50:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        mail/mew defines a list of acceptable versions of emacs, none
        of which is the default EMACS_TYPE

        The way editors/emacs/modules.mk is written, if EMACS_TYPE
                "The user's favorite version of emacs"
        (an oxymoron if there ever was one) is not one of the
        acceptable versions, compilation simply fails (why all the
        logic in that modules.mk is needed to require precisely one
        version of emacs I cannot fathom).   That is, it won't see
        if it is possible to install some other (acceptable) version
        instead.

>How-To-Repeat:
        Remove all versions of emacs and mew (a good thing to do, just
        on general principles)

        Then
                cd ...../pkgsrc/mail/mew
                make package

        Expect to see ...

===> Binary install for mew-5.2nb2
=> Installing mew-5.2nb2 from /pkg_comp/packages/All
pkg_add: no pkg found for 'mew-5.2nb2', sorry.
pkg_add: 1 package addition failed
=> No binary package found for mew-5.2nb2; installing from source.
WARNING: [license.mk] Every package should define a LICENSE.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Accepted versions are: emacs22 emacs22nox emacs21 emacs21nox emacs20 
xemacs214 xemacs215
ERROR: No valid Emacs version installed found
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/mew

        That particular output is because I use pkg_comp (with libkver
        to similate a NetBSD 4.0 release system environment, but that's
        not relevant for this problem) and have it prefer to install
        binary packages whenever they exist (since mew just had a
        revbump, there was none to install).

        Note, no attempt to even check for an installed version of emacs
        was made.

>Fix:
        Rewrite editors/emacs/modules.mk to be rational is probably the
        best fix.  Quicker might be to make mail/mew work with the
        (new) default EMACS_TYPE (emacs23).

        Note, setting EMACS_TYPE in /etc/mk.conf is not a solution for
        me (it might be a workaround for others) as I most certainly do
        not have a "favourite version of emacs" (just in case that was not
        obvious above...) and refuse to pretend that I do...



Home | Main Index | Thread Index | Old Index