pkgsrc-Bugs archive

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

pkg/54584: emulators/compat50 PLIST Corrections



>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


Home | Main Index | Thread Index | Old Index