NetBSD Problem Report #53427

From tsutsui@ceres.dti.ne.jp  Fri Jul  6 20:56:33 2018
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D70E37A154
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  6 Jul 2018 20:56:33 +0000 (UTC)
Message-Id: <201807061951.w66Jp4tK013651@ceres.dti.ne.jp>
Date: Sat, 7 Jul 2018 04:51:04 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: pkgsrc-2018Q2 editors/emacs has inconsistent version
X-Send-Pr-Version: 3.95

>Number:         53427
>Category:       pkg
>Synopsis:       pkgsrc-2018Q2 editors/emacs has inconsistent version
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    dholland
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 06 21:00:00 +0000 2018
>Last-Modified:  Sat Jul 07 10:22:41 +0000 2018
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0_RC2 + pkgsrc-2018Q2
>Organization:
>Environment:
System: NetBSD mirage 8.0_RC2 NetBSD 8.0_RC2 (GENERIC) #0: Mon Jun 25 13:01:26 UTC 2018 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
On pkgsrc-2018Q2 pkgsrc/editors/emacs build fails:

---
 :

=> Full dependency emacs-[0-9]*: NOT found
=> Verifying package-install for ../../editors/emacs
WARNING: [license.mk] Every package should define a LICENSE.
===> Installing dependencies for emacs-25.0.50
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency emacs26>=26: NOT found
=> Verifying package-install for ../../editors/emacs-snapshot
=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for emacs-snapshot_2015071614+bd8b5ac77250d9fe0634d58a30a3bf6d2497725a.orig.tar.xz
=> Checksum RMD160 OK for emacs-snapshot_2015071614+bd8b5ac77250d9fe0634d58a30a3bf6d2497725a.orig.tar.xz
=> Checksum SHA512 OK for emacs-snapshot_2015071614+bd8b5ac77250d9fe0634d58a30a3bf6d2497725a.orig.tar.xz
===> Invoking ``package-install'' after barrier for emacs25-25.0.50.2015071614nb23
===> Extracting for emacs25-25.0.50.2015071614nb23
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
cp /usr/pkgsrc/editors/emacs-snapshot/../../editors/emacs23/files/site-init.el /s/obj.x86_64/pkgsrc/editors/emacs-snapshot/work.x86_64/emacs-snapshot-2015071614+bd8b5ac77250d9fe0634d58a30a3bf6d2497725a/lisp
cp: /usr/pkgsrc/editors/emacs-snapshot/../../editors/emacs23/files/site-init.el: No such file or directory
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/editors/emacs-snapshot
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/editors/emacs-snapshot
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/editors/emacs
*** Error code 1

---

>How-To-Repeat:
cd pkgsrc/editors/emacs && make package

>Fix:
pkgsrc/editors/emacs26 has been imported and now
pkgsrc/mk/defaults/mk.conf has the following line
EMACS_TYPE?=    emacs26
so a snapshot version in emacs/Makefile.common should also be adjusted?

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/editors/emacs/Makefile.common,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile.common
--- Makefile.common	29 Sep 2017 12:40:27 -0000	1.42
+++ Makefile.common	6 Jul 2018 19:48:30 -0000
@@ -38,7 +38,7 @@ PKG_FAIL_REASON+=	"EMACS_TYPE is xemacs.
 # (Set these to avoid crashing out below.)
 EMACS_PKGDIR=		../../editors/xemacs
 EMACS_PACKAGE=		xemacs
-.elif ${MY_EMACS_TYPE} == "emacs26"
+.elif ${MY_EMACS_TYPE} == "emacs27"
 EMACS_PKGDIR=		../../editors/emacs-snapshot
 EMACS_PACKAGE=		${EMACS_BASE_TYPE}
 .elif !empty(MY_EMACS_TYPE:M*nox)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->dholland
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 07 Jul 2018 10:22:41 +0000
Responsible-Changed-Why:
Over to emacs maintainer


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.