NetBSD Problem Report #39886

From cheusov@tut.by  Sun Nov  9 17:36:40 2008
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 48AE563B8C7
	for <gnats-bugs@gnats.netbsd.org>; Sun,  9 Nov 2008 17:36:40 +0000 (UTC)
Message-Id: <s931vxkreba.fsf@chen.chizhovka.net>
Date: Sun, 09 Nov 2008 19:37:13 +0200
From: cheusov@tut.by
Reply-To:
To: gnats-bugs@gnats.NetBSD.org
Subject: GNU emacs and XEmacs modules should not conflict
X-Send-Pr-Version: 3.95

>Number:         39886
>Category:       pkg
>Synopsis:       GNU emacs and XEmacs modules should not conflict
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 09 17:40:00 +0000 2008
>Closed-Date:    Sat May 14 22:00:43 +0000 2022
>Last-Modified:  Wed May 25 08:10:01 +0000 2022
>Originator:     cheusov@tut.by
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3: Sun Oct 19 20:54:51 EEST 2008 cheusov@chen.chizhovka.net:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Most emacs modules/packages have no common files when they are built
with EMACS_TYPE=xemacsXXX and EMACS_TYPE=emacsYY

But they are always marked as conflicting by default.

I think this mark should be removed and really conflicting packages
should be either marked as such individually or conflict should be
resolved homehow.

Full description of the problem with a proof of the above statement
is available here.

http://mail-index.netbsd.org/tech-pkg/2008/11/03/msg001935.html

>How-To-Repeat:

>Fix:

Problematic code is here: editors/emacs/modules.mk

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39886: GNU emacs and XEmacs modules should not conflict
Date: Thu, 18 Jun 2015 05:04:57 +0000

 On Sun, Nov 09, 2008 at 05:40:00PM +0000, cheusov@tut.by wrote:
  > Most emacs modules/packages have no common files when they are built
  > with EMACS_TYPE=xemacsXXX and EMACS_TYPE=emacsYY
  > 
  > But they are always marked as conflicting by default.
  > 
  > I think this mark should be removed and really conflicting packages
  > should be either marked as such individually or conflict should be
  > resolved homehow.

 The offending logic is still there (AFAICT)... however, it seems to me
 that this should be sorted out as part of a general rehab of emacs
 modules to support proper multiversion builds. Then one would be able
 to install the various versions reliably without making a mess.

 Does that seem reasonable?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>,
        David Holland <dholland-pbugs@netbsd.org>
Subject: Re: pkg/39886: GNU emacs and XEmacs modules should not conflict
Date: Mon, 12 Dec 2016 15:50:28 +0100

 >  The offending logic is still there (AFAICT)... however, it seems to me
 >  that this should be sorted out as part of a general rehab of emacs
 >  modules to support proper multiversion builds. Then one would be able
 >  to install the various versions reliably without making a mess.

 I guess the main fault line is between Emacsen and XEmacsen - the 
 various Emacsen are much more likely to store things in the same place. 
 Looking at emacs/modules.mk, the {x,}e* variables are clearly 
 distinguished, paths all different, and there is an xemacs prefix pre-set.

 Wouldn't it be enough to just remove the CONFLICTS settings, then deal 
 with the fallout from conflicting PLISTs as it happens?

 Cheerio,
 hauke

 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email	        Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-3281

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39886: GNU emacs and XEmacs modules should not conflict
Date: Tue, 13 Dec 2016 19:26:43 +0000

 On Mon, Dec 12, 2016 at 02:55:01PM +0000, Hauke Fath wrote:
  >  >  The offending logic is still there (AFAICT)... however, it seems to me
  >  >  that this should be sorted out as part of a general rehab of emacs
  >  >  modules to support proper multiversion builds. Then one would be able
  >  >  to install the various versions reliably without making a mess.
  >  
  >  I guess the main fault line is between Emacsen and XEmacsen - the 
  >  various Emacsen are much more likely to store things in the same place. 
  >  Looking at emacs/modules.mk, the {x,}e* variables are clearly 
  >  distinguished, paths all different, and there is an xemacs prefix pre-set.
  >  
  >  Wouldn't it be enough to just remove the CONFLICTS settings, then deal 
  >  with the fallout from conflicting PLISTs as it happens?

 Probably... go ahead :-)

 I think we ought to have proper multiversion builds for elisp packages
 anyway, for various reasons (one being that then the emacs and xemacs
 versions can both be build-tested by pkgbuild) but there's no reason
 that should prevent sorting out things that can be done without it.

 -- 
 David A. Holland
 dholland@netbsd.org

From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39886 CVS commit: pkgsrc/editors/emacs
Date: Sat, 14 May 2022 21:57:01 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Sat May 14 21:57:01 UTC 2022

 Modified Files:
 	pkgsrc/editors/emacs: modules.mk

 Log Message:
 editors/emacs/modules.mk: remove explicit CONFLICTS

 There's no need for CONFLICTS between the xemacs and emacs versions of
 the same elisp package unless the PLISTs overlap, and if they do (most
 don't because they install into different subtrees), that fact is
 sufficient.

 As suggested by PR 39886, a long long time ago.


 To generate a diff of this commit:
 cvs rdiff -u -r1.30 -r1.31 pkgsrc/editors/emacs/modules.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 14 May 2022 22:00:43 +0000
State-Changed-Why:
I went ahead and committed the change.


From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org, dholland@NetBSD.org
Cc: 
Subject: Re: pkg/39886 (GNU emacs and XEmacs modules should not conflict)
Date: Wed, 25 May 2022 10:08:54 +0200

 On 5/15/22 12:00 AM, dholland@NetBSD.org wrote:
 > I went ahead and committed the change.

 Thanks.  :)

 Cheerio,
 Hauke

 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email	        Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-21344

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.