Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 05:18:00 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        freebsd-current@freebsd.org
Subject:   Re: Is HEAD broken for anybody else?
Message-ID:  <20060219031800.GA19663@flame.pc>
In-Reply-To: <20060219010958.GA22357@flame.pc>
References:  <20060219010958.GA22357@flame.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-02-19 03:09, Giorgos Keramidas <keramida@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)
@@ -6,27 +6,12 @@
 # $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
%%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060219031800.GA19663>