all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Herbert J. Skuhra" <hskuhra@eumx.net>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Trunk: Build error on FreeBSD
Date: Sun, 16 Sep 2012 16:39:50 +0200	[thread overview]
Message-ID: <86vcfexc95.wl%hskuhra@eumx.net> (raw)
In-Reply-To: <50554A9D.8030402@cs.ucla.edu>

On Sat, 15 Sep 2012 20:42:21 -0700
Paul Eggert <eggert@cs.ucla.edu> 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	other threads:[~2012-09-16 14:39 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15  8:44 Trunk: Build error on FreeBSD Herbert J. Skuhra
2012-09-15  9:33 ` Paul Eggert
2012-09-15 12:48   ` Wolfgang Jenkner
2012-09-17 13:04     ` Wolfgang Jenkner
2012-09-17 21:52       ` Paul Eggert
2012-09-17 22:12         ` Andreas Schwab
2012-09-17 22:37           ` Paul Eggert
2012-09-17 22:42             ` Andreas Schwab
2012-09-17 23:11               ` Paul Eggert
2012-09-18 14:04               ` Wolfgang Jenkner
2012-09-22  7:40                 ` Paul Eggert
2012-09-22 10:25                   ` Wolfgang Jenkner
2012-09-22 11:04                     ` Paul Eggert
2012-09-22 11:17                       ` Wolfgang Jenkner
2012-09-22 14:32                         ` Wolfgang Jenkner
2012-09-22 19:00                           ` Paul Eggert
2012-09-23 11:42                             ` Wolfgang Jenkner
2012-09-23 16:02                               ` Paul Eggert
2012-09-23 20:09                                 ` Wolfgang Jenkner
2012-09-17 22:42         ` Herbert J. Skuhra
2012-09-17 23:23           ` Herbert J. Skuhra
2012-09-18  2:51         ` Stefan Monnier
2012-09-15 20:57   ` Herbert J. Skuhra
2012-09-16  3:42     ` Paul Eggert
2012-09-16 14:39       ` Herbert J. Skuhra [this message]
2012-09-16 16:40         ` Paul Eggert
2012-09-17 11:44           ` Herbert J. Skuhra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86vcfexc95.wl%hskuhra@eumx.net \
    --to=hskuhra@eumx.net \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.