Re: buildworld not working with MAKEOBJDIRPREFIX
Am Tue, 16 May 2017 16:01:40 -0700 "Simon J. Gerraty" schrieb: > Roger Pau Monné wrote: > > $ cd /home/royger/buildjob/freebsd > > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ > > That will not work as desired. > > When you set VAR=val as an argument to make, > it overrides anything the makefiles want to do > and there are a number of points where the top level makefiles want to > play with MAKEOBJDIRPREFIX > > By contrast; > > MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld > > or for csh users; > > env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld > > provides the same value via the environment, this leaves the makefiles > able to do as they will. > ___ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" Thanks for this clarification. Kind regards, Oliver -- O. Hartmann Ich widerspreche der Nutzung oder Übermittlung meiner Daten für Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG). pgpx31is6gGqz.pgp Description: OpenPGP digital signature
Re: buildworld not working with MAKEOBJDIRPREFIX
Roger Pau Monné wrote: > $ cd /home/royger/buildjob/freebsd > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ That will not work as desired. When you set VAR=val as an argument to make, it overrides anything the makefiles want to do and there are a number of points where the top level makefiles want to play with MAKEOBJDIRPREFIX By contrast; MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld or for csh users; env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld provides the same value via the environment, this leaves the makefiles able to do as they will. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: buildworld not working with MAKEOBJDIRPREFIX
On Tue, May 16, 2017 at 02:18:36PM +0200, O. Hartmann wrote: > On Tue, 16 May 2017 09:39:11 +0100 > Roger Pau Monné wrote: > > > Hello, > > > > I'm trying to build world as a regular user, using sources fetched into my > > home directory and a different object directory. The rune I'm using to build > > is: > > > > $ cd /home/royger/buildjob/freebsd > > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ > > As far as I know, in this construct, MAKEOBJDIRPREFIX is an argument to make, > but MAKEOBJDIRPREFIX is strictly required to be set in the environment! > > Have you tried the following setting: > > env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld > > I do this kind of task as root this way (as it doesn't work as you showed, > either). Hello, Yes, that's right, MAKEOBJDIRPREFIX is strictly required to be set in the environment, setting it fixes the issue. It always confuses me how some of those (like DESTDIR) can be passed as an arguments while others don't. Thanks, Roger. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: buildworld not working with MAKEOBJDIRPREFIX
El día Tuesday, May 16, 2017 a las 02:18:36PM +0200, O. Hartmann escribió: > On Tue, 16 May 2017 09:39:11 +0100 > Roger Pau Monné wrote: > > > Hello, > > > > I'm trying to build world as a regular user, using sources fetched into my > > home directory and a different object directory. The rune I'm using to build > > is: > > > > $ cd /home/royger/buildjob/freebsd > > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ > > As far as I know, in this construct, MAKEOBJDIRPREFIX is an argument to make, > but MAKEOBJDIRPREFIX is strictly required to be set in the environment! I used it many times that way, as well # make installworld DESTDIR=/mnt This should work. Can you try with a smaller -j value? matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/ccid--export-key-guru.pub 8. Mai 1945: Wer nicht feiert hat den Krieg verloren. 8 de mayo de 1945: Quien no festeja perdió la Guerra. May 8, 1945: Who does not celebrate lost the War. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: buildworld not working with MAKEOBJDIRPREFIX
On Tue, 16 May 2017 09:39:11 +0100 Roger Pau Monné wrote: > Hello, > > I'm trying to build world as a regular user, using sources fetched into my > home directory and a different object directory. The rune I'm using to build > is: > > $ cd /home/royger/buildjob/freebsd > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ As far as I know, in this construct, MAKEOBJDIRPREFIX is an argument to make, but MAKEOBJDIRPREFIX is strictly required to be set in the environment! Have you tried the following setting: env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld I do this kind of task as root this way (as it doesn't work as you showed, either). Kind regards, Oliver > > And this leads to the following build error: > > --- all_subdir_rescue --- > --- cat.lo --- > cc -target x86_64-unknown-freebsd12.0 > --sysroot=/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp > -B/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp/usr/bin -O2 > -pipe -std=gnu99-Qunused-arguments -nostdlib -Wl,-dc -r -o cat.lo > cat_stub.o > /home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o > cc: error: no such file or directory: > '/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o' > *** [cat.lo] Error code 1 > > AFAIK this should work fine, does anyone has any clues about what causes this > failure? > > Thanks, Roger. > > ___ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
buildworld not working with MAKEOBJDIRPREFIX
Hello, I'm trying to build world as a regular user, using sources fetched into my home directory and a different object directory. The rune I'm using to build is: $ cd /home/royger/buildjob/freebsd $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ And this leads to the following build error: --- all_subdir_rescue --- --- cat.lo --- cc -target x86_64-unknown-freebsd12.0 --sysroot=/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp -B/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp/usr/bin -O2 -pipe -std=gnu99-Qunused-arguments -nostdlib -Wl,-dc -r -o cat.lo cat_stub.o /home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o cc: error: no such file or directory: '/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o' *** [cat.lo] Error code 1 AFAIK this should work fine, does anyone has any clues about what causes this failure? Thanks, Roger. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Buildworld not working
On Mon, Apr 24, 2000 at 08:40:52AM -0500, Robert Small wrote: > I've been trying to do a buildworld since Friday, after doing a cvsup, and > no matter how many > times I try, I keep getting: Please try: cd /usr/src make cleandir && make cleandir and try again. Let me know the outcome -- good or bad. *If* the outcome is "good". Please do a second ``make buildworld'' w/o doing anything else. -- -- David([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Buildworld not working
Robert: as root: # rm -rf /usr/include/openssl /usr/obj * Robert Small ([EMAIL PROTECTED]) [000424 10:08]: > I've been trying to do a buildworld since Friday, after doing a cvsup, and > no matter how many > times I try, I keep getting: > > ===> librsausa > cp /usr/src/secure/lib/librsausa/../libcrypto/opensslconf-i386.h > openssl/opensslconf.h > mkdir: openssl: File exists > Any ideas? > -- Hasan Diwan [[EMAIL PROTECTED]] :) Rensselaer Polytechnic Institute Computer Science Department http://hdwork.dhs.org/~hdiwan PGP signature
Buildworld not working
I've been trying to do a buildworld since Friday, after doing a cvsup, and no matter how many times I try, I keep getting: ===> librsausa cp /usr/src/secure/lib/librsausa/../libcrypto/opensslconf-i386.h openssl/opensslconf.h mkdir: openssl: File exists *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error Any ideas? Thanks Robert Small winmail.dat