Re: sanity-config issue
on 15/06/2012 07:55 Doug Barton said the following: On 06/14/2012 05:48, Jan Beich wrote: I use WRKDIRPREFIX=/usr/obj As I've mentioned to you a non-zero number of times, this is a bad idea. The fact that it either works and/or can be made to work sometimes, notwithstanding. You never explained why. Perhaps, the time has come? I personally do not see any problem with that setting. -- Andriy Gapon ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
On 06/14/2012 23:26, Andriy Gapon wrote: on 15/06/2012 07:55 Doug Barton said the following: On 06/14/2012 05:48, Jan Beich wrote: I use WRKDIRPREFIX=/usr/obj As I've mentioned to you a non-zero number of times, this is a bad idea. The fact that it either works and/or can be made to work sometimes, notwithstanding. You never explained why. Actually I've explained it several times, you just don't like the explanation. The problems described in this thread are a good start. -- This .signature sanitized for your protection ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
on 15/06/2012 10:05 Doug Barton said the following: On 06/14/2012 23:26, Andriy Gapon wrote: on 15/06/2012 07:55 Doug Barton said the following: On 06/14/2012 05:48, Jan Beich wrote: I use WRKDIRPREFIX=/usr/obj As I've mentioned to you a non-zero number of times, this is a bad idea. The fact that it either works and/or can be made to work sometimes, notwithstanding. You never explained why. Actually I've explained it several times, you just don't like the explanation. The problems described in this thread are a good start. Could you please point me to those past explanations? Or repeat them again, if that's not too much trouble. -- Andriy Gapon ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
On 06/15/2012 00:06, Andriy Gapon wrote: Could you please point me to those past explanations? If the fact that using it actually causes things to break (as described in this thread) isn't sufficient, I have no idea what else I could say that would help you. Doug -- This .signature sanitized for your protection ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
on 15/06/2012 10:11 Doug Barton said the following: On 06/15/2012 00:06, Andriy Gapon wrote: Could you please point me to those past explanations? If the fact that using it actually causes things to break (as described in this thread) isn't sufficient, I have no idea what else I could say that would help you. A technical explanation would. -- Andriy Gapon ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
Andriy Gapon a...@freebsd.org writes: In some ports I am getting an error message about how make doesn't know how to make sanity-config after exiting from config menu. I see that there is @${MAKE} sanity-config line at the end of the config target script. I use WRKDIRPREFIX=/usr/obj and I noticed that e.g. in the case of mail/thunderbird port the make command was being run from /usr/obj/usr/ports/mail/thunderbird. My workaround was to prepend cd ${.CURDIR}; before the make command. I see that this is a popular theme in bsd.port.mk, but I am not sure why it is needed and if my workaround is actually correct. I can confirm your workaround also works for broken fetch-url{,all}-list target when MAKEOBJDIRPREFIX and WRKDIPREFIX share directory, e.g. $ cd devel/gmake $ env -i make fetch-urlall-list http://ftp.gnu.org/gnu/make/make-3.82.tar.bz2 ftp://ftp.gnu.org/gnu/make/make-3.82.tar.bz2 http://www.gtlib.gatech.edu/pub/gnu/gnu/make/make-3.82.tar.bz2 http://mirrors.kernel.org/gnu/make/make-3.82.tar.bz2 ftp://ftp.kddlabs.co.jp/GNU/make/make-3.82.tar.bz2 ftp://ftp.dti.ad.jp/pub/GNU/make/make-3.82.tar.bz2 http://ring.nict.go.jp/archives/GNU/make/make-3.82.tar.bz2 ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/make/make-3.82.tar.bz2 ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/make/make-3.82.tar.bz2 ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/make/make-3.82.tar.bz2 http://ftp.funet.fi/pub/gnu/prep/make/make-3.82.tar.bz2 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/make-3.82.tar.bz2 $ mkdir -p $(env -i WRKDIRPREFIX=/tmp make -V WRKDIR) $ env -i MAKEOBJDIRPREFIX=/tmp make fetch-urlall-list make: don't know how to make fetch-url-list-int. Stop *** [fetch-urlall-list] Error code 2 Stop in /usr/ports/devel/gmake. Hope that this is useful. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
On 06/14/2012 05:48, Jan Beich wrote: I use WRKDIRPREFIX=/usr/obj As I've mentioned to you a non-zero number of times, this is a bad idea. The fact that it either works and/or can be made to work sometimes, notwithstanding. -- This .signature sanitized for your protection ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
On 06/14/2012 21:55, Doug Barton wrote: On 06/14/2012 05:48, Jan Beich wrote: I use WRKDIRPREFIX=/usr/obj As I've mentioned to you ... where you == Andriy. a non-zero number of times, this is a bad idea. The fact that it either works and/or can be made to work sometimes, notwithstanding. -- This .signature sanitized for your protection ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
sanity-config issue
In some ports I am getting an error message about how make doesn't know how to make sanity-config after exiting from config menu. I see that there is @${MAKE} sanity-config line at the end of the config target script. I use WRKDIRPREFIX=/usr/obj and I noticed that e.g. in the case of mail/thunderbird port the make command was being run from /usr/obj/usr/ports/mail/thunderbird. My workaround was to prepend cd ${.CURDIR}; before the make command. I see that this is a popular theme in bsd.port.mk, but I am not sure why it is needed and if my workaround is actually correct. Hope that this is useful. -- Andriy Gapon ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: sanity-config issue
On 6/13/2012 4:50 AM, Andriy Gapon wrote: In some ports I am getting an error message about how make doesn't know how to make sanity-config after exiting from config menu. I see that there is @${MAKE} sanity-config line at the end of the config target script. I use WRKDIRPREFIX=/usr/obj and I noticed that e.g. in the case of mail/thunderbird port the make command was being run from /usr/obj/usr/ports/mail/thunderbird. My workaround was to prepend cd ${.CURDIR}; before the make command. I see that this is a popular theme in bsd.port.mk, but I am not sure why it is needed and if my workaround is actually correct. Hope that this is useful. Andriy, Thank you for identifying the cause of this. Some others have reported it as well but I have been unable to recreate. I'll get a patch/PR submitted to fix. -- Regards, Bryan Drewery bdrewery@freenode/EFNet ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org