NetBSD Problem Report #54584

From www@netbsd.org  Sun Sep 29 16:15:07 2019
Return-Path: <www@netbsd.org>
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 CA25A7A14B
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Sep 2019 16:15:07 +0000 (UTC)
Message-Id: <20190929161506.AD1337A243@mollari.NetBSD.org>
Date: Sun, 29 Sep 2019 16:15:06 +0000 (UTC)
From: dplassche@gmail.com
Reply-To: dplassche@gmail.com
To: gnats-bugs@NetBSD.org
Subject: emulators/compat50 PLIST Corrections
X-Send-Pr-Version: www-1.0

>Number:         54584
>Category:       pkg
>Synopsis:       emulators/compat50 PLIST Corrections
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 29 16:20:00 +0000 2019
>Originator:     Dan Plassche
>Release:        pkgsrc-2019Q2
>Organization:
>Environment:
NetBSD 7.0.2 GENERIC i386
>Description:
On NetBSD i386 6+ I get a file stat error on "make install" in
emulators/compat50 for the work files under 
"/usr/pkgsrc/emulators/compat50/work/.destdir/usr/pkg/emul/netbsd/usr/lib/i386/*".

The current PLIST contains duplicate entries for i386 and amd64 to
install under /emul/usr/lib/{$MACHINE_ARCH}, so I'm suggesting the
changes below to add architecture PLISTS; these changes match the
distfiles for compat50.
>How-To-Repeat:
Build on i386 and possibly sparc64.  The new PLISTs below worked for me to build 
and install the package on x86 and x86_64.
>Fix:
Here's a diff showing new files added for PLIST.i386, PLIST.x86_64,
and PLIST.sparc64 along with changes to the PLIST:

Common subdirectories: ../compat50.old/CVS and ../compat50/CVS
diff -N ../compat50.old/PLIST ../compat50/PLIST
1c1
< @comment $NetBSD: PLIST,v 1.1 2013/02/17 17:24:07 spz Exp $
---
> @comment $NetBSD: PLIST,v 1.2 2019/09/04 17:39:53 Exp $
4,6d3
< ${EMULSUBDIRSLASH}usr/lib/i386/libevent.so.2.0
< ${EMULSUBDIRSLASH}usr/lib/i386/libm.so.0.6
< ${EMULSUBDIRSLASH}usr/lib/i386/libpuffs.so.0.0
diff -N ../compat50.old/PLIST.i386 ../compat50/PLIST.i386
0a1,5
> ${EMULSUBDIRSLASH}lib/libevent.so.2.0
> ${EMULSUBDIRSLASH}lib/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/libevent.so.2.0
> ${EMULSUBDIRSLASH}usr/lib/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/libpuffs.so.0.0
diff -N ../compat50.old/PLIST.sparc64 ../compat50/PLIST.sparc64
0a1,8
> ${EMULSUBDIRSLASH}lib/libevent.so.2.0
> ${EMULSUBDIRSLASH}lib/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/sparc/libevent.so.2.0
> ${EMULSUBDIRSLASH}usr/lib/sparc/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/sparc/libpuffs.so.0.0
> ${EMULSUBDIRSLASH}usr/lib/libevent.so.2.0
> ${EMULSUBDIRSLASH}usr/lib/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/libpuffs.so.0.0
diff -N ../compat50.old/PLIST.x86_64 ../compat50/PLIST.x86_64
0a1,8
> ${EMULSUBDIRSLASH}lib/libevent.so.2.0
> ${EMULSUBDIRSLASH}lib/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/i386/libevent.so.2.0
> ${EMULSUBDIRSLASH}usr/lib/i386/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/i386/libpuffs.so.0.0
> ${EMULSUBDIRSLASH}usr/lib/libevent.so.2.0
> ${EMULSUBDIRSLASH}usr/lib/libm.so.0.6
> ${EMULSUBDIRSLASH}usr/lib/libpuffs.so.0.0

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.