Re: Need help: buildworld for CURRENT while under STABLE is not working

From: Barry Bouwsma <freebsd-misuser_at_remove-NOSPAM-to-reply.NOSPAM.dyndns.dk>
Date: Sun, 8 Aug 2004 19:30:23 +0200 (CEST)
[keep replies to the list and I'll catch up later, thanks]

> > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep getting the 
> > following error

> Do you get the same error if you run `make buildworld' without
> -DDESTDIR=/ad1 ?

I get the same error (new, since a successful build or at least
a build way past that point, several days ago).

<stdint.h> is not present in my -stable.  I'm able to work around
this requirement in the newly-updated bsnmp by adding the following
dirty hack:


--- /stand/obj/hacks/FreeBSD-CURRENT-src/source-hacks/tools/build/Makefile-ORIG	Mon Mar  1 18:47:38 2004
+++ /stand/obj/hacks/FreeBSD-CURRENT-src/source-hacks/tools/build/Makefile	Sun Aug  8 18:32:44 2004
_at__at_ -63,6 +63,11 _at__at_
 INCS+=		regex.h
 .endif
 
+### HACK  -stable crossbuilds (at least mine) don't have <stdint.h>
+.if !exists(/usr/include/stdint.h)
+INCS+=		stdint.h
+.endif
+
 .if empty(SRCS)
 SRCS=		dummy.c
 .endif



(shoot me if it's /usr/include/something/stdint.h; I don't have a
successful build for any OS in front of me.  anyway...)

For -stable, the mere presence of this file is enough to make the
build progress past this point.  Attempting to create a useful
stdint.h file in tools/build didn't quite do the job, so I took
the easy way out.

Of course someone who knows what they're doing can properly
unbreak crossbuilds on -stable; I can do little more than a hack.

(whether my build breaks further down the line, time will tell,
my machine is slow and old, like me)


thanks
barry bouwsma
Received on Sun Aug 08 2004 - 15:30:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC