On Thu, Oct 29, 2015 at 05:24:50PM +0300, Lev Serebryakov wrote:> > I have this in /etc/src.conf (it is only one line here): > > MAKEOBJDIRPREFIX=/usr/home/build/obj > > > % cd /usr/src > % sudo svn up > Updating '.': > At revision 290139. > % sudo make buildworld > [one screen of output] > set -e; cd /usr/src/tools/build; make buildincludes; make installinclude > s > sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libegacy.a > /usr/home/build/obj/legacy/usr/lib > install: /usr/home/build/obj/legacy/usr/lib: No such file or directory > *** Error code 71 > > Stop. > make[3]: stopped in /usr/src/tools/build > *** Error code 1 > % uname -v > FreeBSD 10.2-PRERELEASE #7 r286065: Thu Jul 30 21:27:35 MSK 2015 > root@:/usr/obj/usr/src/sys/BLOBDoes it work if you do: % setenv MAKEOBJDIRPREFIX /usr/home/build/obj>From man make.conf(5):CAVEATS Note, that MAKEOBJDIRPREFIX and MAKEOBJDIR are environment variables and should not be set in make.conf or as command line arguments to make(1), but in make's environment. -- Herbert
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 30.10.2015 16:36, Herbert J. Skuhra wrote:>> I have this in /etc/src.conf (it is only one line here): >> >> MAKEOBJDIRPREFIX=/usr/home/build/obj >> >> >> % cd /usr/src % sudo svn up Updating '.': At revision 290139. % >> sudo make buildworld [one screen of output] set -e; cd >> /usr/src/tools/build; make buildincludes; make installinclude s >> sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 >> libegacy.a /usr/home/build/obj/legacy/usr/lib install: >> /usr/home/build/obj/legacy/usr/lib: No such file or directory *** >> Error code 71 >> >> Stop. make[3]: stopped in /usr/src/tools/build *** Error code 1 % >> uname -v FreeBSD 10.2-PRERELEASE #7 r286065: Thu Jul 30 21:27:35 >> MSK 2015 root@:/usr/obj/usr/src/sys/BLOB > > Does it work if you do: > > % setenv MAKEOBJDIRPREFIX /usr/home/build/objNope, same error: rm -rf /usr/home/build/obj/usr/src/tmp rm -rf /usr/home/build/obj/usr/src/lib32 mkdir -p /usr/home/build/obj/usr/src/tmp/lib mkdir -p /usr/home/build/obj/usr/src/tmp/usr mkdir -p /usr/home/build/obj/usr/src/tmp/legacy/bin mkdir -p /usr/home/build/obj/usr/src/tmp/legacy/usr mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/home/build/obj/usr/src/tmp/legacy/usr >/dev/null mtree -deU -f /usr/src/etc/mtree/BSD.groff.dist -p /usr/home/build/obj/usr/src/tmp/legacy/usr >/dev/null mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/home/build/obj/usr/src/tmp/usr >/dev/null mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/home/build/obj/usr/src/tmp/usr/include >/dev/null ln -sf /usr/src/sys /usr/home/build/obj/usr/src/tmp ... sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libegacy.a /usr/home/build/obj/usr/src/tmp/legacy/usr/lib install: libegacy.a: No such file or directory Looks like some problem with Makefile, as here is creation of /bin and /usr "legacy" directories. - -- // Lev Serebryakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJWM3TyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePn9MP/AmfVBYzcq06HZB+KGDExmSk cjeXEgi5Aq21YDdNnD6tFTVtK330nb+nW+ZnWvziogz6kJL09hxh05wF55jaCtza dUSFPv1Fd6EDvax5hWYUxOiMALcdYr6I13vDAU/fpzWO7CJtl403T4Z18Yumx9FT Uc/vz2clKE3fLZi/dJV9zg59H/ESELu9TDdxZIL1HVZ/EucCjSRwJtvAn9cjEUhA +qR2LgOCJkYAsSFiajw86BDBA0EfSYMl+Kfl0VcbT5tf5mQ8uAUtxL63di1j/dlB fNVsLpcb5XSSraJj4qexnqQt/0jnU0NvIyPKxFo0IkQ3cqFTxR2iAZpP2iXEPHfJ KSVp2uS198EIdr3jCvcuHFP/iAWCAtukmpc90i56Vf/yBBkXZs6v9f0ywL93WrCa gEm2ESajK6XvyqAg8HwbA8NTIrDkMD8BOTnYhS7Ed0vpQa0cGblWA9yw9kRjoDV4 WSQjseRJNjaLzzAmX57dKNWp3x+D8kipd5dGHxxgtmNjlFiR/hnEoIF3kBkufrUk 1xn2jIw/rVScpeHBnnJ7bNJbWc1NMlYyCpfbj8rFOsypxjIIpMR+OofeMKbQ/Izz FEguAVgnHujG9BgYEj2g0qoe872f3NAoDZwyE8S/qk39eWHF1Bkd2P6SvXIXOUQN jn2n4WjTpUTMNDBcZT8s =aM01 -----END PGP SIGNATURE-----