NetBSD Problem Report #36286

From makoto@mail.ki.nu  Mon May  7 11:49:34 2007
Return-Path: <makoto@mail.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 16C4463B853
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  7 May 2007 11:49:34 +0000 (UTC)
Message-Id: <200705071114.l47BE3nt000922@bologna.ki.nu>
Date: Mon, 7 May 2007 20:14:03 +0900 (JST)
From: makoto@ki.nu
Reply-To: makoto@ki.nu
To: gnats-bugs@NetBSD.org
Subject: port-hp300
X-Send-Pr-Version: 3.95

>Number:         36286
>Category:       port-hp300
>Synopsis:       port-hp300
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hp300-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 07 11:50:00 +0000 2007
>Closed-Date:    Mon May 07 14:14:06 +0000 2007
>Last-Modified:  Mon May 07 14:14:06 +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));
 }

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: he@netbsd.org
State-Changed-When: Mon, 07 May 2007 14:14:06 +0000
State-Changed-Why:
This should be fixed with hpux_file.c revision 1.37 and
hpux_exec.c revision 1.52.


>Unformatted:

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.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.