emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trunk: Build error on FreeBSD


From: Herbert J. Skuhra
Subject: Re: Trunk: Build error on FreeBSD
Date: Sun, 16 Sep 2012 16:39:50 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/24.2.50 (i386-pc-freebsd9.1) MULE/6.0 (HANACHIRUSATO)

On Sat, 15 Sep 2012 20:42:21 -0700
Paul Eggert <address@hidden> wrote:

> On 09/15/2012 01:57 PM, Herbert J. Skuhra wrote:
> > ${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force
> > 
> > fails if run from config.status:
> > 
> > creating src/epaths.h
> > make: don't know how to make wd. Stop
> 
> That "wd" looks like there's something unusual about the
> environment.  Perhaps "MAKE" is set to something that contains
> a space followed by "wd"?  What happens if you do the following
> trivial change to "configure", to try to debug it?  If the
> $MAKE environment variable contains a space in it, there's
> a simple fix, but I'd like to know that we've actually isolated
> the problem.

Running './configure':

creating src/epaths.h
make MAKEFILE_NAME=do-not-make-Makefile epaths-force
config.status: executing gdbinit commands

Running 'gmake bootstrap':

creating src/epaths.h
make MAKEFILE_NAME=do-not-make-Makefile epaths-force
make: don't know how to make w. Stop
config.status: executing gdbinit commands

Running 'gmake -d bootstrap':

creating src/epaths.h
make MAKEFILE_NAME=do-not-make-Makefile epaths-force
make: don't know how to make wd. Stop
config.status: executing gdbinit commands

I've change the line

${MAKE-make} MAKEFILE_NAME=do-not-make-Makefile epaths-force

to

${MAKE-make} -d A MAKEFILE_NAME=do-not-make-Makefile epaths-force

and diffed the debug.log:

--- emacs_configure.log 2012-09-16 16:05:53.000000000 +0200
+++ emacs_gmake_bootstrap.log   2012-09-16 16:04:33.000000000 +0200
@@ -10,7 +10,8 @@
 Global:.ST_EXPORTVAR = YES
 Global:.CURDIR = /home/herbert/source/emacs/trunk
 Global:.OBJDIR = /home/herbert/source/emacs/trunk
-Global:.TARGETS = epaths-force
+Global:.TARGETS = w
+Global:.TARGETS = w epaths-force
 Caching /usr/share/mk...done
 expanding "sys.mk".../usr/share/mk/sys.mk 
 Global:MAKEFILE = /usr/share/mk/sys.mk
@@ -2071,13 +2072,13 @@
 unix             = We run FreeBSD, not UNIX.
 .MAKEFILE_LIST   = /usr/share/mk/sys.mk /etc/make.conf .. 
/usr/share/mk/bsd.compat.mk .. /usr/share/mk/bsd.cpu.mk .. .. Makefile ..
 MAKEFILE         = Makefile
-.TARGETS         = epaths-force
+.TARGETS         = w epaths-force
[...]

Surprisingly FreeBSD's make can suddenly build/bootstrap Emacs trunk
again. When running 'make bootstrap' TARGETS is also correct.

-- 
Herbert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]