Date: Mon, 12 Oct 1998 12:57:14 -0400 (EDT) From: Bill Paul <wpaul@skynet.ctr.columbia.edu> To: pam@polynet.lviv.ua Cc: current@FreeBSD.ORG Subject: Re: Buildworld breaks on usr.bin/chpass/pw_yp.c Message-ID: <199810121657.MAA09030@skynet.ctr.columbia.edu> In-Reply-To: <Pine.BSF.4.02.9810121926590.11024-100000@NetSurfer.lp.lviv.ua> from "pam@polynet.lviv.ua" at Oct 12, 98 07:31:10 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810121657.MAA09030>