Subject: pkg/22798: misc/lv install failed on MacOS X
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 09/15/2003 07:49:32
>Number:         22798
>Category:       pkg
>Synopsis:       misc/lv install failed on MacOS X
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 14 22:49:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        NetBSD 1.6W
>Organization:
	
>Environment:
	
	
System: NetBSD orinoco.my.domain 1.6W NetBSD 1.6W (Orinoco) #0: Sun Sep 7 19:13:40 JST 2003 hiramatsu@orinoco.my.domain:/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
make install in misc/lv failed because user "bin" does not exist on MacOS X.

/usr/bin/install -c -o root -g wheel -s -o bin -g bin -m 555 lv /Volumes/NetBSD/
pkg/bin
/usr/bin/install: unknown user bin
*** Error code 67

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/misc/lv/work/lv4495/build
*** Error code 1


>How-To-Repeat:
cd /Volumes/NetBSD/pkgsrc/misc/lv
make install

>Fix:

diff -buNr lv.orig/distinfo lv/distinfo
--- lv.orig/distinfo	Sat Sep 13 21:07:16 2003
+++ lv/distinfo	Sat Sep 13 21:06:52 2003
@@ -2,3 +2,4 @@
 
 SHA1 (lv4495.tar.gz) = 11f8daa4fd5818676ac06ab0a20d6f252d4dca6f
 Size (lv4495.tar.gz) = 597451 bytes
+SHA1 (patch-aa) = 44f2926c393e6a9bd20ee410f0f6fc3cd47717b4
diff -buNr lv.orig/patches/patch-aa lv/patches/patch-aa
--- lv.orig/patches/patch-aa	Thu Jan  1 09:00:00 1970
+++ lv/patches/patch-aa	Sat Sep 13 21:06:52 2003
@@ -0,0 +1,23 @@
+--- ../src/Makefile.in.orig	Fri May  9 22:40:04 2003
++++ ../src/Makefile.in	Sat Sep  6 12:25:17 2003
+@@ -64,7 +64,7 @@
+ #
+ 
+ install::
+-	$(INSTALL) -s -o bin -g bin -m 555 lv $(bindir)
++	$(INSTALL) -s -m 555 lv $(bindir)
+ 	if test -f $(bindir)/lgrep; then \
+ 		/bin/rm -f $(bindir)/lgrep; \
+ 	fi
+@@ -72,9 +72,9 @@
+ 	if test ! -d $(lvlibdir); then \
+ 		mkdir -p $(lvlibdir); \
+ 	fi
+-	$(INSTALL) -o bin -g bin -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
++	$(INSTALL) -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
+ 	if test -d $(mandir) -a -d $(mandir)/man1; then \
+-		$(INSTALL) -o bin -g bin -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
++		$(INSTALL) -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
+ 	fi
+ 
+ uninstall::
>Release-Note:
>Audit-Trail:
>Unformatted: