Subject: port-hp300/36286: port-hp300
To: None <port-hp300-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <makoto@ki.nu>
List: netbsd-bugs
Date: 05/07/2007 11:50:00
	Note: There was a bad value `' for the field `Priority'.
	It was set to the default value of `medium'.

	Note: There was a bad value `' for the field `Severity'.
	It was set to the default value of `serious'.

	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         36286
>Category:       port-hp300
>Synopsis:       port-hp300
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    port-hp300-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 07 11:50:00 +0000 2007
>Originator:     makoto@ki.nu
>Release:        NetBSD 4.99.19
>Organization:
KINU Corporation
Makoto Fujiwara
makoto@ki.nu
>Environment:
	
	
System: NetBSD tc2120.ki.nu 4.99.9 NetBSD 4.99.9 (GENERIC) #0: Sun Jan 21 18:47:05 UTC 2007  builds@b0.netbsd.org:/home/builds/ab/HEAD/i386/200701200000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
Architecture: m68k
Machine: hp300
>Description:
For these days, say 2007/04/23 to 2007/05/05, hp300 does not complete build.sh
>How-To-Repeat:
	cd /usr/src
	sudo ./build.sh -m hp300 release >& ../log-hp300
>Fix:
Removing unused definition made build.sh to complete
Index: sys/compat/hpux/hpux_exec.c
===================================================================
RCS file: /e/cvsync/cvsync/src/sys/compat/hpux/hpux_exec.c,v
retrieving revision 1.51
diff -u -r1.51 hpux_exec.c
--- sys/compat/hpux/hpux_exec.c	22 Apr 2007 08:29:56 -0000	1.51
+++ sys/compat/hpux/hpux_exec.c	7 May 2007 03:17:15 -0000
@@ -170,7 +170,9 @@
 		syscallarg(const char *) path;
 		syscallarg(char **) argv;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 	struct sys_execve_args ap;
 
 	SCARG(&ap, path) = SCARG(uap, path);
@@ -191,7 +193,9 @@
 		syscallarg(char **) argv;
 		syscallarg(char **) envp;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 	struct sys_execve_args ap;
 
 	SCARG(&ap, path) = SCARG(uap, path);
Index: sys/compat/hpux/hpux_file.c
===================================================================
RCS file: /e/cvsync/cvsync/src/sys/compat/hpux/hpux_file.c,v
retrieving revision 1.36
diff -u -r1.36 hpux_file.c
--- sys/compat/hpux/hpux_file.c	30 Apr 2007 09:20:18 -0000	1.36
+++ sys/compat/hpux/hpux_file.c	7 May 2007 08:02:58 -0000
@@ -175,7 +175,9 @@
 		syscallarg(const char *) path;
 		syscallarg(int) mode;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 	struct sys_open_args oa;
 
 	SCARG(&oa, path) = SCARG(uap, path);
@@ -631,7 +633,9 @@
 		syscallarg(const char *) path;
 		syscallarg(int) flags;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_access(l, uap, retval));
 }
@@ -648,7 +652,9 @@
 	struct hpux_sys_unlink_args /* {
 		syscallarg(char *) path;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_unlink(l, uap, retval));
 }
@@ -665,7 +671,9 @@
 	struct hpux_sys_chdir_args /* {
 		syscallarg(const char *) path;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_chdir(l, uap, retval));
 }
@@ -684,7 +692,9 @@
 		syscallarg(int) mode;
 		syscallarf(int) dev;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 	struct sys_mkfifo_args bma;
 
 	/*
@@ -711,7 +721,9 @@
 		syscallarg(const char *) path;
 		syscallarg(int) mode;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_chmod(l, uap, retval));
 }
@@ -730,7 +742,9 @@
 		syscallarg(int) uid;
 		syscallarg(int) gid;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	/* XXX What about older HP-UX executables? */
 
@@ -750,7 +764,9 @@
 		syscallarg(const char *) from;
 		syscallarg(const char *) to;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys___posix_rename(l, uap, retval));
 }
@@ -768,7 +784,9 @@
 		syscallarg(char *) path;
 		syscallarg(int) mode;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_mkdir(l, uap, retval));
 }
@@ -785,7 +803,9 @@
 	struct hpux_sys_rmdir_args /* {
 		syscallarg(const char *) path;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_rmdir(l, uap, retval));
 }
@@ -803,7 +823,9 @@
 		syscallarg(const char *) path;
 		syscallarg(const char *) link;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_symlink(l, uap, retval));
 }
@@ -822,7 +844,9 @@
 		syscallarg(char *) buf;
 		syscallarg(int) count;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (sys_readlink(l, uap, retval));
 }
@@ -840,7 +864,9 @@
 		syscallarg(const char *) path;
 		syscallarg(long) length;
 	} */ *uap = v;
+#if 0
 	struct proc *p = l->l_proc;
+#endif
 
 	return (compat_43_sys_truncate(l, uap, retval));
 }

>Unformatted: