From owner-freebsd-current Mon Oct 12 09:52:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22524 for freebsd-current-outgoing; Mon, 12 Oct 1998 09:52:36 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA22518 for ; Mon, 12 Oct 1998 09:52:31 -0700 (PDT) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id MAA09030; Mon, 12 Oct 1998 12:57:15 -0400 From: Bill Paul Message-Id: <199810121657.MAA09030@skynet.ctr.columbia.edu> Subject: Re: Buildworld breaks on usr.bin/chpass/pw_yp.c To: pam@polynet.lviv.ua Date: Mon, 12 Oct 1998 12:57:14 -0400 (EDT) Cc: current@FreeBSD.ORG In-Reply-To: from "pam@polynet.lviv.ua" at Oct 12, 98 07:31:10 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Of all the gin joints in all the towns in all the world, pam@polynet.lviv.ua had to walk into mine and say: > > Hi everybody! > > For almost a week I can't build new world (updating via cvsup daily). > Everytime build bombs out like this: > > cc -nostdinc -O -pipe -I/usr/src/usr.bin/chpass/../../usr.sbin/pwd_mkdb > -I/usr/src/usr.bin/chpass/../../usr.sbin/vipw -DYP -I. > -I/usr/src/usr.bin/chpass/../../libexec/ypxfr > -I/usr/src/usr.bin/chpass/../../usr.sbin/rpc.yppasswdd -Dyp_error=warnx > -I/usr/obj/elf/usr/src/tmp/usr/include -c /usr/src/usr.bin/chpass/pw_yp.c > /usr/src/usr.bin/chpass/pw_yp.c:68: yppasswd_private.h: No such file or > directory > /usr/src/usr.bin/chpass/pw_yp.c: In function `get_yp_master': > /usr/src/usr.bin/chpass/pw_yp.c:341: `YP_SOCKNAME' undeclared (first use > this function) > /usr/src/usr.bin/chpass/pw_yp.c:341: (Each undeclared identifier is > reported only once > /usr/src/usr.bin/chpass/pw_yp.c:341: for each function it appears in.) > /usr/src/usr.bin/chpass/pw_yp.c: In function `yp_submit': > /usr/src/usr.bin/chpass/pw_yp.c:419: storage size of `master_yppasswd' > isn't known > /usr/src/usr.bin/chpass/pw_yp.c:424: `YP_SOCKNAME' undeclared (first use > this function) > > It can't find yppasswd_private.h which really resides in usr.bin/passwd/ *Bzzzt!* Wrong. yppasswd_private.h is supposed to be generated by rpcgen from src/usr.sbin/rpc.yppasswdd/yppasswd_private.x. However you have not shown the part of the compilation where it tries to generate that header file, so I can't tell you what the real problem is. I'm suspicious of your particular sources since body else has complained of these problems (and there have been full BETA builds during the last week). If you have a copy of yppasswd_private.h in usr.bin/passwd, then that's a mistake: remove it. Both the passwd and chpass builds generate the file since they need it, however it should go in the 'obj' directory and be removed by a make clean. > I've already tried ro remove entire usr.bin directory and re-sup but it > didn't bring me any futher. Any upcoming fixes? suggestions? Try resup-ing usr.sbin instead. That's where yppasswd_private.x lives. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message