On Wed, Nov 13, 2013 at 08:28:14PM +0100, Stefan Sperling wrote:
> On Wed, Nov 13, 2013 at 09:07:48PM +0200, Ville Valkonen wrote:
> > ahem.. you are not revealing all the needed information "Tried to
> > compile, but got an error". Please specify all the commands you used
> > in compiling, thanks. Wild guess, you forgot to make depend?
> 
> No he didn't. 'make depend' is the failing build target.
> 
>   > *** Error 1 in lib (<bsd.subdir.mk>:48 'depend')
>   (from http://marc.info/?l=openbsd-bugs&m=137447893908485&w=2)
> 
> The info is spread across several posts so it takes some time to
> hunt it down. Janis later provided the build commands he used:
> http://marc.info/?l=openbsd-bugs&m=137448659410735&w=2
> 
> I can reproduce the problem on a 5.3 sparc64 system.
> Janis, if you'd like, contact me off-list, and I'll try to
> help you with the bisection process.

The problem is caused by CVS.

A date-based checkout gets wrong file versions in kerberosV.
See the diff between a tag-based and a date-based checkout below.
This is probably due to of bugs^Wfeatures in CVS's vendor branch handling.

Janis, this will fix it:

  cd /usr/src/kerberosV
  make clean
  cvs -R up -rOPENBSD_5_3 -dP
  make obj
  make depend


--- kerberosV-5.3-base/src/lib/hdb/libasn1.h    Wed Feb  6 09:55:12 2002
+++ kerberosV-2013-06-05/src/lib/hdb/libasn1.h  Fri May 25 09:50:17 2001
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997 - 2001 Kungliga Tekniska H<F6>gskolan
+ * Copyright (c) 1997 Kungliga Tekniska H<F6>gskolan
  * (Royal Institute of Technology, Stockholm, Sweden). 
  * All rights reserved. 
  *
@@ -31,7 +31,7 @@
  * SUCH DAMAGE. 
  */
 
-/* $KTH: libasn1.h,v 1.7 2001/06/23 23:18:50 assar Exp $ */
+/* $KTH: libasn1.h,v 1.4 1999/12/02 17:05:05 joda Exp $ */
 
 #ifndef __LIBASN1_H__
 #define __LIBASN1_H__
@@ -41,9 +41,8 @@
 #endif
 
 #include <stdlib.h>
-#include <string.h>
 #include <errno.h>
-#include <krb5_asn1.h>
+#include <asn1.h>
 #include <der.h>
 #include "hdb_asn1.h"
 #include <asn1_err.h>

Reply via email to