On Tuesday, 22 March 2022 10:50:55 EDT gene heskett wrote: > On Sunday, 20 March 2022 18:13:16 EDT gene heskett wrote: > > Greetings all; > > > > My build lcnc on the pi scripts have died. complaint spit out is: > > > > Makefile:594: *** You configured run-in-place, but are trying to > > install. For an installable version, run configure without > > --enable-run-in-place and rebuild. Stop. > > make[2]: Leaving directory '/media/pi/workspace/linuxcnc-dev/src' > > make[1]: *** [debian/rules:71: override_dh_auto_install] Error 2 > > make[1]: Leaving directory '/media/pi/workspace/linuxcnc-dev' > > make: *** [debian/rules:39: binary] Error 2 > > dpkg-buildpackage: error: fakeroot debian/rules binary subprocess > > returned exit status 2 > > > > but there is no run-in-place in the ./configure args, just 'uspace'. > > > > And line 39 of debian/rules now reads: > > dh $@ --parallel > > > > while line 71 reads from line 67: > > > > override_dh_auto_install: > > # avoid installing into already existing directory > > rm -rf $(DESTDIR) > > # executing regular installation with regular prefix but > > > > unterneath the debian folder > > > > DESTDIR=$(DESTDIR) $(MAKE) -C src install > > > > What can I do to restore the former function buster has had for 2 > > years? > > Let me clarify the above: > > When that error was generated, .configure uspace had been run, which > supposedly should have canceled the run-in-place. Now, buster-maketoruntests.sh has executed, and all 237 normal tests passed.
buster-maketoruntests is: ==================== cd /media/pi/workspace/buster-linuxcnc git checkout master git pull cd ./src ./autogen.sh ./configure --enable-build-documentation sudo make clean make -j4 sudo make setuid source ../scripts/rip-environment cd .. cd ./src runtests =================== Then this script try's to build the debs: ================= cd /media/pi/workspace/buster-linuxcnc/debian ./configure uspace cd .. echo 7 `pwd` dpkg-checkbuilddeps echo 9 `pwd` dpkg-buildpackage -b -uc -nc cd /media/pi/workspace mv *.deb buster-lcnc-debs/ ========================= But exits quickly: So I've removed the -nc (no preclean) and it seem to be building. And nearly 3 hours later it worked,installed and ran on my rpi4 again. Now, to put MY boot directory into a fresh but uptodated buster card and see if it will boot.... Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
