Re: Is HEAD broken for anybody else?

From: Giorgos Keramidas <keramida_at_ceid.upatras.gr>
Date: Sun, 19 Feb 2006 05:18:00 +0200
On 2006-02-19 03:09, Giorgos Keramidas <keramida_at_freebsd.org> wrote:
> I get the following build error when I try to build HEAD on a snapshot
> of 20-Jan-2006.
>
> 2006-02-19 00:56:33.078914 - ===> sbin/atm/atmconfig (depend)
> 2006-02-19 00:56:33.180210 - cat /home/build/src/sbin/atm/atmconfig/../../../contrib/ngatm/snmp_atm/atm_tree.def         /home/build/src/sbin/atm/atmconfig/../../../usr.sbin/bsnmpd/modules/snmp_atm/atm_freebsd.def | gensnmptree -e `tail -n +2 /home/build/src/sbin/atm/atmconfig/atm_oid.list`  > /home/build/obj/home/build/src/sbin/atm/atmconfig/oid.h
> 2006-02-19 00:56:33.218435 - gensnmptree: not found
> 2006-02-19 00:56:33.219570 - *** Error code 127
> 2006-02-19 00:56:33.219705 -
> 2006-02-19 00:56:33.219826 - Stop in /home/build/src/sbin/atm/atmconfig.
> 2006-02-19 00:56:33.220762 - *** Error code 1
> 2006-02-19 00:56:33.220883 -
> 2006-02-19 00:56:33.221004 - Stop in /home/build/src/sbin/atm.
> 2006-02-19 00:56:33.222062 - *** Error code 1
> 2006-02-19 00:56:33.222194 -
> 2006-02-19 00:56:33.222315 - Stop in /home/build/src/sbin.
> 2006-02-19 00:56:33.223236 - *** Error code 1
> 2006-02-19 00:56:33.223419 -
> 2006-02-19 00:56:33.223547 - Stop in /home/build/src.
> 2006-02-19 00:56:33.224515 - *** Error code 1
> 2006-02-19 00:56:33.225785 -
> 2006-02-19 00:56:33.225923 - Stop in /home/build/src.
> 2006-02-19 00:56:33.226006 - *** Error code 1
> 2006-02-19 00:56:33.226112 -
> 2006-02-19 00:56:33.226187 - Stop in /home/build/src.
>
> Is this something that anyone else has bumped to, or have I managed to
> mess my CURRENT installation?

There seem to be some changes in sbin/atm/ that depend on gensnmptree
being available at "make depend" time.

The following fixes the "make depend" run here, but I'm not sure if this
is the right way to do it.

%%%
Index: atmconfig/Makefile
===================================================================
--- atmconfig/Makefile	(revision 16)
+++ atmconfig/Makefile	(working copy)
_at__at_ -6,27 +6,12 _at__at_
 # $FreeBSD: src/sbin/atm/atmconfig/Makefile,v 1.8 2005/03/15 07:38:15 harti Exp $
 
 PROG=	atmconfig
-.ifndef RESCUE
-SRCS=	${.OBJDIR}/oid.h
-.endif
-SRCS+=	main.c diag.c natm.c
-.ifndef RESCUE
-SRCS+=	atmconfig_device.c
-.endif
+SRCS=	main.c diag.c natm.c
 MAN=	atmconfig.8
 # CFLAGS+= -DPATH_HELP='".:/usr/share/doc/atm:/usr/local/share/doc/atm"'
 
 CFLAGS+= -I${.OBJDIR}
 
-.ifndef RESCUE
-DPADD=	${LIBBSNMP}
-LDADD=	-lbsnmp
-.endif
-
-.ifndef RESCUE
-CLEANFILES+= oid.h
-.endif
-
 .if ${MACHINE_ARCH} == "arm"
 WARNS?= 3
 .else
%%%
Received on Sun Feb 19 2006 - 02:18:34 UTC

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