Re: two buildworld problems

2010-06-18 Thread Alexander Best
2010/6/15 Dag-Erling Smørgrav d...@des.no: Alexander Best alexbes...@uni-muenster.de writes: Dag-Erling Smørgrav d...@des.no writes: The problem is that /usr/src/ is not a prefix of /usr/src. ah i see. would something like empty(.CURDIR:M/usr/src*) instead of empty(.aCURDIR:M/usr/src/*)

Re: two buildworld problems

2010-06-18 Thread Dag-Erling Smørgrav
Alexander Best alexbes...@uni-muenster.de writes: indeed it worked. :) thanks a bunch. however it seems that CC/CXX/CPP have to be set in make.conf. setting them in src.conf breaks buildworld. Yes, I noticed - you can't set CFLAGS in src.conf either. I don't know why. maybe this should go

Re: two buildworld problems

2010-06-15 Thread Dag-Erling Smørgrav
Alexander Best alexbes...@uni-muenster.de writes: Dag-Erling Smørgrav d...@des.no writes: Alexander Best alexbes...@uni-muenster.de writes: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif What

Re: two buildworld problems

2010-06-15 Thread Alexander Best
2010/6/15 Dag-Erling Smørgrav d...@des.no: Alexander Best alexbes...@uni-muenster.de writes: Dag-Erling Smørgrav d...@des.no writes: Alexander Best alexbes...@uni-muenster.de writes: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44

Re: two buildworld problems

2010-06-15 Thread Doug Barton
On 06/15/10 04:11, Alexander Best wrote: 2010/6/15 Dag-Erling Smørgravd...@des.no: Alexander Bestalexbes...@uni-muenster.de writes: Dag-Erling Smørgravd...@des.no writes: Alexander Bestalexbes...@uni-muenster.de writes: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*)

Re: two buildworld problems

2010-06-15 Thread Alexander Best
On Tue, Jun 15, 2010 at 7:12 PM, Doug Barton do...@freebsd.org wrote: On 06/15/10 04:11, Alexander Best wrote: 2010/6/15 Dag-Erling Smørgravd...@des.no: Alexander Bestalexbes...@uni-muenster.de  writes: Dag-Erling Smørgravd...@des.no  writes: Alexander Bestalexbes...@uni-muenster.de  

Re: two buildworld problems

2010-06-15 Thread Doug Barton
On 06/15/10 10:24, Alexander Best wrote: `make -V .CURDIR` in /usr/src returns /usr/src Thanks. Now: cd /usr/obj/usr/src make -V .CURDIR Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of

Re: two buildworld problems

2010-06-15 Thread Alexander Best
On Tue, Jun 15, 2010 at 7:30 PM, Doug Barton do...@freebsd.org wrote: On 06/15/10 10:24, Alexander Best wrote: `make -V .CURDIR` in /usr/src returns /usr/src Thanks. Now: cd /usr/obj/usr/src make -V .CURDIR /usr/obj/usr/src Doug --        ... and that's just a little bit of

Re: two buildworld problems

2010-06-15 Thread Dag-Erling Smørgrav
Alexander Best alexbes...@uni-muenster.de writes: sorry. i didn't mean to affend you. doug barton already pointed out that what i had in my make.conf beforehand won't work unless /usr/src and /usr/obj are literal directories in /usr [1]. The problem is that /usr/src/ is not a prefix of

Re: two buildworld problems

2010-06-15 Thread Alexander Best
2010/6/15 Dag-Erling Smørgrav d...@des.no: Alexander Best alexbes...@uni-muenster.de writes: sorry. i didn't mean to affend you. doug barton already pointed out that what i had in my make.conf beforehand won't work unless /usr/src and /usr/obj are literal directories in /usr [1]. The problem

Re: two buildworld problems

2010-06-15 Thread Dag-Erling Smørgrav
Alexander Best alexbes...@uni-muenster.de writes: Dag-Erling Smørgrav d...@des.no writes: The problem is that /usr/src/ is not a prefix of /usr/src. ah i see. would something like empty(.CURDIR:M/usr/src*) instead of empty(.aCURDIR:M/usr/src/*) work? I think so. My hypothesis is that CC,

Re: two buildworld problems

2010-06-14 Thread Alexander Best
On Mon, Jun 14, 2010 at 6:58 AM, Ed Schouten e...@80386.nl wrote: * Alexander Best alexbes...@uni-muenster.de wrote: CC=gcc44 CXX=g++44 CPP=cpp44 As I mentioned before, gcc44 and /usr/local/bin/gcc44 are spelled differently. yes, but the point is: i don't want gcc44 to be used at all

Re: two buildworld problems

2010-06-14 Thread Roman Divacky
On Sun, Jun 13, 2010 at 10:28:23PM +0200, Alexander Best wrote: hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me doing weird stuff or a problem in the src structure: 1. i have the following in my make.conf: .if

Re: two buildworld problems

2010-06-14 Thread Alexander Best
On Mon, Jun 14, 2010 at 12:05 PM, Roman Divacky rdiva...@freebsd.org wrote: On Sun, Jun 13, 2010 at 10:28:23PM +0200, Alexander Best wrote: hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me doing weird stuff or a problem in the src structure:

Re: two buildworld problems

2010-06-14 Thread Anonymous
Alexander Best alexbes...@uni-muenster.de writes: On Mon, Jun 14, 2010 at 12:05 PM, Roman Divacky rdiva...@freebsd.org wrote: On Sun, Jun 13, 2010 at 10:28:23PM +0200, Alexander Best wrote: hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me

Re: two buildworld problems

2010-06-14 Thread Alexander Best
On Mon, Jun 14, 2010 at 4:17 PM, Anonymous swel...@gmail.com wrote: Alexander Best alexbes...@uni-muenster.de writes: On Mon, Jun 14, 2010 at 12:05 PM, Roman Divacky rdiva...@freebsd.org wrote: On Sun, Jun 13, 2010 at 10:28:23PM +0200, Alexander Best wrote: hi there. i'm experiencing two

Re: two buildworld problems

2010-06-14 Thread Dag-Erling Smørgrav
Alexander Best alexbes...@uni-muenster.de writes: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif What happens when .CURDIR = /usr/src? DES -- Dag-Erling Smørgrav - d...@des.no

Re: two buildworld problems

2010-06-14 Thread Alexander Best
2010/6/14 Dag-Erling Smørgrav d...@des.no: Alexander Best alexbes...@uni-muenster.de writes: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif What happens when .CURDIR = /usr/src? i'm now using .if

two buildworld problems

2010-06-13 Thread Alexander Best
hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me doing weird stuff or a problem in the src structure: 1. i have the following in my make.conf: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44

Re: two buildworld problems

2010-06-13 Thread Chris Ruiz
On Jun 13, 2010, at 3:28 PM, Alexander Best wrote: hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me doing weird stuff or a problem in the src structure: 1. i have the following in my make.conf: .if empty(.CURDIR:M/usr/src/*)

Re: two buildworld problems

2010-06-13 Thread Alexander Best
On Sun, Jun 13, 2010 at 10:28 PM, Alexander Best alexbes...@uni-muenster.de wrote: hi there. i'm experiencing two problems during buildworld. i'm not sure if these are the result of me doing weird stuff or a problem in the src structure: 1. i have the following in my make.conf: .if

Re: two buildworld problems

2010-06-13 Thread Ed Schouten
Alexander, * Alexander Best alexbes...@uni-muenster.de wrote: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif Try /usr/local/bin/gcc44. The FreeBSD build infrastructure overrides PATH to prevent accidental

Re: two buildworld problems

2010-06-13 Thread Alexander Best
On Sun, Jun 13, 2010 at 11:46 PM, Ed Schouten e...@80386.nl wrote: Alexander, * Alexander Best alexbes...@uni-muenster.de wrote: .if empty(.CURDIR:M/usr/src/*) empty(.CURDIR:M/usr/obj/*) exists(/usr/local/bin/gcc44) CC = gcc44 CXX = g++44 CPP = cpp44 .endif Try /usr/local/bin/gcc44.

Re: two buildworld problems

2010-06-13 Thread Doug Barton
On 06/13/10 15:58, Alexander Best wrote: hmmm...but i thought during buildworld either empty(.CURDIR:M/usr/src/*) or empty(.CURDIR:M/usr/obj/*) should be false. so CC/CXX/CPP should never actually be set during buildworld or buildkernel. That depends, are /usr/src and /usr/obj literally

Re: two buildworld problems

2010-06-13 Thread Alexander Best
On Mon, Jun 14, 2010 at 1:02 AM, Doug Barton do...@freebsd.org wrote: On 06/13/10 15:58, Alexander Best wrote: hmmm...but i thought during buildworld either empty(.CURDIR:M/usr/src/*) or empty(.CURDIR:M/usr/obj/*) should be false. so CC/CXX/CPP should never actually be set during buildworld

Re: two buildworld problems

2010-06-13 Thread Doug Barton
On 06/13/10 16:21, Alexander Best wrote: `mount -p stat -x /usr/src /usr/obj`: wow, completely unhelpful. So let me try again. If the /usr/src and /usr/obj are not literal directories in /usr then the tests you posted won't work. Given what you've posted so far I strongly suspect that

Re: two buildworld problems

2010-06-13 Thread Alexander Best
On Mon, Jun 14, 2010 at 1:28 AM, Doug Barton do...@freebsd.org wrote: On 06/13/10 16:21, Alexander Best wrote: `mount -p  stat -x /usr/src /usr/obj`: wow, completely unhelpful. So let me try again. If the /usr/src and /usr/obj are not literal directories in /usr then the tests you posted

Re: two buildworld problems

2010-06-13 Thread Ed Schouten
* Alexander Best alexbes...@uni-muenster.de wrote: CC=gcc44 CXX=g++44 CPP=cpp44 As I mentioned before, gcc44 and /usr/local/bin/gcc44 are spelled differently. -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgpCgGKibtSmx.pgp Description: PGP signature