[krbdev.mit.edu #6830] "make clean" or "make distclean" leaves an object file behind

The RT System itself via RT rt-comment at krbdev.mit.edu
Thu Dec 2 18:49:00 EST 2010


>From krb5-bugs-incoming-bounces at PCH.mit.edu  Thu Dec  2 18:48:59 2010
Return-Path: <krb5-bugs-incoming-bounces at PCH.mit.edu>
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90])
	by krbdev.mit.edu (Postfix) with ESMTP id 62D4B3E642;
	Thu,  2 Dec 2010 18:48:59 -0500 (EST)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
	by pch.mit.edu (8.13.6/8.12.8) with ESMTP id oB2NmxVX030970;
	Thu, 2 Dec 2010 18:48:59 -0500
Received: from mailhub-dmz-4.mit.edu (MAILHUB-DMZ-4.MIT.EDU [18.7.62.38])
	by pch.mit.edu (8.13.6/8.12.8) with ESMTP id oB2BGtAR021940
	for <krb5-bugs-incoming at PCH.mit.edu>; Thu, 2 Dec 2010 06:16:55 -0500
Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU
	[18.9.25.15])
	by mailhub-dmz-4.mit.edu (8.13.8/8.9.2) with ESMTP id oB2BFx50029644
	for <krb5-bugs at mit.edu>; Thu, 2 Dec 2010 06:16:55 -0500
X-AuditID: 1209190f-b7c1dae000000a2b-e1-4cf7802666fa
Received: from mansell.bath.ac.uk ( [138.38.0.35])
	by dmz-mailsec-scanner-4.mit.edu (Symantec Brightmail Gateway) with
	SMTP id E5.59.02603.62087FC4; Thu,  2 Dec 2010 06:16:55 -0500 (EST)
Received: from bahamontes.bath.ac.uk ([138.38.56.200])
	by mansell.bath.ac.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
	(Exim 4) (envelope-from <ccsdhd at bahamontes.bath.ac.uk>)
	id 1PO79i-00074e-3p; Thu, 02 Dec 2010 11:16:54 +0000
Received: from ccsdhd by bahamontes.bath.ac.uk with local 
	(envelope-from <ccsdhd at bahamontes.bath.ac.uk>)
	id 1PO79h-0008C5-BJ; Thu, 02 Dec 2010 11:16:53 +0000
Message-Id: <E1PO79h-0008C5-BJ at bahamontes.bath.ac.uk>
From: Dennis Davis <D.H.Davis at bath.ac.uk>
To: krb5-bugs at mit.edu
Date: Thu, 2 Dec 2010 11:04:25
Subject: "make clean" or "make distclean" problem with krb5-1.8.3
X-Scanner: 4d475e0ed2415f5d87934551f8c2c925efd196b1
X-Brightmail-Tracker: AAAAAA==
X-Mailman-Approved-At: Thu, 02 Dec 2010 18:48:56 -0500
Cc: Dennis Davis <d.h.davis at bath.ac.uk>
X-BeenThere: krb5-bugs-incoming at mailman.mit.edu
X-Mailman-Version: 2.1.6
Precedence: list
Sender: krb5-bugs-incoming-bounces at PCH.mit.edu
Errors-To: krb5-bugs-incoming-bounces at PCH.mit.edu


>Submitter-Id:	net
>Originator:	Dennis Davis
>Organization:
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis at bath.ac.uk
>Confidential:	no
>Synopsis: "make clean" or "make distclean" leaves an object file behind
>Severity:	non-critical
>Priority:	low
>Category:	krb5-build
>Class:		sw-bug
>Release:	1.8.3
>Environment:
	
System: SunOS dangermouse.bath.ac.uk 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Blade-1000
Architecture: sun4

>Description:
After building krb5-1.8.3 and then typing "make clean" or
"make distclean", the file src/tests/gssapi/t_spnego.o is left
behind.

This caused me a bit of head scratching when I moved a patched &
built version of krb5-1.8.3 on the Solaris/sparc platform to
the Solaris/i386 platform.  The configure & build failed after
a "make distclean" because the object file left behind was for a
different platform.  The fix is trivial, see below.

>How-To-Repeat:
See above.

>Fix:
Apply the diff:

*** src/tests/gssapi/Makefile.in.orig	Fri Feb 12 20:28:47 2010
--- src/tests/gssapi/Makefile.in	Thu Dec  2 10:34:27 2010
***************
*** 6,12 ****
  
  SRCS= $(srcdir)/t_imp_name.c $(srcdir)/t_s4u.c $(srcdir)/t_namingexts.c $(srcdir)/t_gssexts.c
  
! OBJS= t_imp_name.o t_s4u.o t_namingexts.o t_gssexts.o
  
  all:: t_imp_name t_s4u t_namingexts t_gssexts t_spnego
  
--- 6,12 ----
  
  SRCS= $(srcdir)/t_imp_name.c $(srcdir)/t_s4u.c $(srcdir)/t_namingexts.c $(srcdir)/t_gssexts.c
  
! OBJS= t_imp_name.o t_s4u.o t_namingexts.o t_gssexts.o t_spnego.o
  
  all:: t_imp_name t_s4u t_namingexts t_gssexts t_spnego
  




More information about the krb5-bugs mailing list