Re: Problems with building rescue are solved

2015-07-07 Thread Trond Endrestøl
On Tue, 7 Jul 2015 19:37+0200, Trond Endrestøl wrote:

 Hi,
 
 I guess both the instructions for enabling DTrace, 
 https://wiki.freebsd.org/DTrace/KernelSupport and r284356 are to 
 blame.
 
 I suggest the wiki be amended with:
 
 STRIP=:
 
 or some other innocuous command like 'echo --'.

On second thoughts, maybe not. It causes new problems elsewhere in the 
source tree.

Maybe /etc/make.conf should state:

STRIP=

as suggested by the wiki, but /etc/src.conf or even /etc/src-env.conf 
should state:

STRIP=strip

 Otherwise, $(STRIP) rescue in 
 /usr/obj/usr/src/rescue/rescue/rescue.mk will expand to simply
  rescue, and thus halting make buildworld by trying to run a command 
 not normally found in $(PATH).
 
 make -C /usr/src/rescue/rescue -d e came to the rescue, hah!

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Problems with building rescue are solved

2015-07-07 Thread Trond Endrestøl
Hi,

I guess both the instructions for enabling DTrace, 
https://wiki.freebsd.org/DTrace/KernelSupport and r284356 are to 
blame.

I suggest the wiki be amended with:

STRIP=:

or some other innocuous command like 'echo --'.

Otherwise, $(STRIP) rescue in 
/usr/obj/usr/src/rescue/rescue/rescue.mk will expand to simply
 rescue, and thus halting make buildworld by trying to run a command 
not normally found in $(PATH).

make -C /usr/src/rescue/rescue -d e came to the rescue, hah!

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org