[2375] in Kerberos-V5-bugs
krb5-admin/133: unit tests break due to rpcgen
daemon@ATHENA.MIT.EDU (tlyu@MIT.EDU)
Wed Oct 23 13:47:26 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: bjaspan@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, tlyu@MIT.EDU
Date: Wed, 23 Oct 1996 13:46:56 -0400
From: tlyu@MIT.EDU
Reply-To: tlyu@MIT.EDU
To: krb5-bugs@MIT.EDU
>Number: 133
>Category: krb5-admin
>Synopsis: unit tests break due to rpcgen
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: bjaspan
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Oct e 13:47:00 EDT 1996
>Last-Modified:
>Originator: Tom Yu
>Organization:
mit
>Release: 1.0-development
>Environment:
System: SunOS tesla-coil 5.4 Generic_101945-37 sun4m sparc
>Description:
In lib/rpc/unit-test, the generation of files from rpc_test.x
requires a working rpcgen. In addition, some makes (e.g. OSF/1 make)
try to be too clever about VPATH-located dependencies and substitutes
for them in the commands for the rule, causing other breakage because
rpc_test.x is found in VPATH and then rpcgen $(srcdir)/rpc_test.x gets
run despite there being a symlink in the current directory.
>How-To-Repeat:
Try building in lib/rpc with OSF/1 make or on a system without
rpcgen.
>Fix:
Generate the rpc_test*.[ch] files by running rpcgen on a
platform which has it, then check into the source tree.
>Audit-Trail:
>Unformatted: