Re: [blfs-dev] Weird build failure with nfs-utils-2.3.3
On Fri, Sep 21, 2018 at 07:27:59PM +0100, Ken Moffat via blfs-dev wrote: > On Fri, Sep 21, 2018 at 04:08:10PM +0200, Armin K. via blfs-dev wrote: > > > > Do you have rpcgen installed? > > I don't think so (the nfs build was in chroot, the box is powered > off at the moment because eth0 was not present when I booted it). > > Looking at logs on this system, rpcgen was last present in about > LFS-8.0. > > An arch bbs thread from a few months ago said that installing > rpcsvc-proto provided it. (/me postpones the mail to look at the > references in the current sysv book ...) > > No, I don't have that - it is pulled in by libnsl, which is listed > as "(for NIS client support)". > > Maybe it is now required. From support/export/Makefile in 2.3.3 : RPCGEN = #RPCGEN = $(top_builddir)/tools/rpcgen/rpcgen whereas in 2.3.2 that was #RPCGEN = RPCGEN = $(top_builddir)/tools/rpcgen/rpcgen Gentoo have 2.3.3 depending on rpcsvc-proto, but then they also had that for 2.3.2. I'm still on an 8.3 system, but there too nfs-utils-2.3.3 had that failure. With rpcsvc-proto installed I can now build and DESTDIR. Armin, thanks for the pointer. ĸen -- Tout est bien, tout va bien, tout va pour le mieux qu'il soit possible -- Candide, de Voltaire (Everything is for the best, in the best of all possible worlds) -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Weird build failure with nfs-utils-2.3.3
On Fri, Sep 21, 2018 at 04:08:10PM +0200, Armin K. via blfs-dev wrote: > On 9/21/2018 6:41 AM, Ken Moffat via blfs-dev wrote: > > On current lfs I've jus had a weird build failure with > > nfs-utils-2.3.3 > > > > In a fresh extract, (I was doing a scripted build in /building, so I > > assumed I'd copied something wrongly) with configure pasted from the > > current book, I get the following in 'make' : > > > > Making all in support > > make[1]: Entering directory '/building/bis/nfs-utils-2.3.3/support' > > Making all in export > > make[2]: Entering directory '/building/bis/nfs-utils-2.3.3/support/export' > > test -f mount_clnt.c && rm -rf mount_clnt.c || true > > l -o mount_clnt.c mount.x > > make[2]: l: Command not found > > make[2]: [Makefile:701: mount_clnt.c] Error 127 (ignored) [etc] > > Do you have rpcgen installed? I don't think so (the nfs build was in chroot, the box is powered off at the moment because eth0 was not present when I booted it). Looking at logs on this system, rpcgen was last present in about LFS-8.0. An arch bbs thread from a few months ago said that installing rpcsvc-proto provided it. (/me postpones the mail to look at the references in the current sysv book ...) No, I don't have that - it is pulled in by libnsl, which is listed as "(for NIS client support)". Maybe it is now required. -- Tout est bien, tout va bien, tout va pour le mieux qu'il soit possible -- Candide, de Voltaire (Everything is for the best, in the best of all possible worlds) -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-dev] Weird build failure with nfs-utils-2.3.3
On 9/21/2018 6:41 AM, Ken Moffat via blfs-dev wrote: On current lfs I've jus had a weird build failure with nfs-utils-2.3.3 In a fresh extract, (I was doing a scripted build in /building, so I assumed I'd copied something wrongly) with configure pasted from the current book, I get the following in 'make' : Making all in support make[1]: Entering directory '/building/bis/nfs-utils-2.3.3/support' Making all in export make[2]: Entering directory '/building/bis/nfs-utils-2.3.3/support/export' test -f mount_clnt.c && rm -rf mount_clnt.c || true l -o mount_clnt.c mount.x make[2]: l: Command not found make[2]: [Makefile:701: mount_clnt.c] Error 127 (ignored) test -f mount_xdr.c && rm -rf mount_xdr.c || true c -i 0 -o mount_xdr.c mount.x make[2]: c: Command not found make[2]: [Makefile:705: mount_xdr.c] Error 127 (ignored) test -f mount.h && rm -rf mount.h || true h -o mount.h mount.x make[2]: h: Command not found make[2]: [Makefile:709: mount.h] Error 127 (ignored) rm -f ../../support/include/mount.h ln -s ../export/mount.h ../../support/include/mount.h make all-am make[3]: Entering directory '/building/bis/nfs-utils-2.3.3/support/export' gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c mv -f .deps/client.Tpo .deps/client.Po gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT export.o -MD -MP -MF .deps/export.Tpo -c -o export.o export.c mv -f .deps/export.Tpo .deps/export.Po gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT hostname.o -MD -MP -MF .deps/hostname.Tpo -c -o hostname.o hostname.c mv -f .deps/hostname.Tpo .deps/hostname.Po gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT xtab.o -MD -MP -MF .deps/xtab.Tpo -c -o xtab.o xtab.c mv -f .deps/xtab.Tpo .deps/xtab.Po test -f mount_clnt.c && rm -rf mount_clnt.c || true l -o mount_clnt.c mount.x make[3]: l: Command not found make[3]: [Makefile:701: mount_clnt.c] Error 127 (ignored) gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include/tirpc -D_GNU_SOURCE -pipe -Wall -Wextra -Werror=strict-prototypes -Werror=missing-prototypes -Werror=missing-declarations -Werror=format=2 -Werror=undef -Werror=missing-include-dirs -Werror=strict-aliasing=2 -Werror=init-self -Werror=implicit-function-declaration -Werror=return-type -Werror=switch -Werror=overflow -Werror=parentheses -Werror=aggregate-return -Werror=unused-result -fno-strict-aliasing -Werror=format-overflow=2 -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=misleading-indentation -g -O2 -MT mount_clnt.o -MD -MP -MF .deps/mount_clnt.Tpo -c -o mount_clnt.o mount_clnt.c gcc: error: mount_clnt.c: No such file or directory gcc: fatal error: no input files
Re: [blfs-dev] Weird build failure with nfs-utils-2.3.3
On 09/20/2018 11:41 PM, Ken Moffat via blfs-dev wrote: On current lfs I've jus had a weird build failure with nfs-utils-2.3.3 In a fresh extract, (I was doing a scripted build in /building, so I assumed I'd copied something wrongly) with configure pasted from the current book, I get the following in 'make' : Making all in support make[1]: Entering directory '/building/bis/nfs-utils-2.3.3/support' Making all in export make[2]: Entering directory '/building/bis/nfs-utils-2.3.3/support/export' test -f mount_clnt.c && rm -rf mount_clnt.c || true At this point I have: /usr/bin/rpcgen -c -i 0 -o mount_xdr.c mount.x test -f mount.h && rm -rf mount.h || true /usr/bin/rpcgen -h -o mount.h mount.x rm -f ../../support/include/mount.h ln -s ../export/mount.h ../../support/include/mount.h make all-am ... l -o mount_clnt.c mount.x make[2]: l: Command not found make[2]: [Makefile:701: mount_clnt.c] Error 127 (ignored) test -f mount_xdr.c && rm -rf mount_xdr.c || true c -i 0 -o mount_xdr.c mount.x make[2]: c: Command not found make[2]: [Makefile:705: mount_xdr.c] Error 127 (ignored) test -f mount.h && rm -rf mount.h || true h -o mount.h mount.x make[2]: h: Command not found make[2]: [Makefile:709: mount.h] Error 127 (ignored) rm -f ../../support/include/mount.h ln -s ../export/mount.h ../../support/include/mount.h make all-am I have nothing like that: http://anduin.linuxfromscratch.org/~bdubbs/files/nfs-utils-2.3.3.log ./configure --prefix=/usr \ --sysconfdir=/etc \ --sbindir=/sbin\ --disable-nfsv4\ --disable-ipv6 \ --disable-gss && make && sudo make install ** sudo mv -v /sbin/start-statd /usr/sbin && sudo chmod u+w,go+r $DEST/sbin/mount.nfs && sudo chown nobody.nogroup /var/lib/nfs -- Bruce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page