unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Msys2 mingw64 build broken
@ 2015-07-18 17:18 Stephen Leake
  2015-07-18 17:38 ` Eli Zaretskii
  2015-07-18 18:00 ` Stephen Leake
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Leake @ 2015-07-18 17:18 UTC (permalink / raw)
  To: emacs-devel

As of

   commit d3816bf8ad1fcfed2a32d23216a55850ee4325b5
   Committer : Eli Zaretskii <eliz@gnu.org>
   CommitDate: Sat Jul 18 13:02:06 2015 +0300

building master with Msys2 mingw64 is broken. But the problem could be
in an earlier commit, last time I updated was 21 June.

From 'make bootstrap':

...
make[3]: Leaving directory '/c/Projects/emacs/master-build-mingw64/lisp'
./temacs --batch --load loadup bootstrap
Warning: arch-independent data dir '%emacs_dir%/share/emacs/25.0.50/etc/': Permission denied
Warning: Lisp directory 'c': No such file or directory
Warning: Lisp directory 'C:/msys64//Projects/emacs/master-build-mingw64/../master/lisp': Permission denied
Error: charsets directory not found:
c:/Projects/emacs/master-build-mingw64/%emacs_dir%/share/emacs/25.0.50/etc/charsets
Emacs will not function correctly without the character map files.
Please check your installation!


I'd like to learn how to fix such problems; any hints on where to look?
Something to do with handling msys absolute path naming conventions, but
where in the code?

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Msys2 mingw64 build broken
  2015-07-18 17:18 Msys2 mingw64 build broken Stephen Leake
@ 2015-07-18 17:38 ` Eli Zaretskii
  2015-07-18 19:24   ` Stephen Leake
  2015-07-18 18:00 ` Stephen Leake
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2015-07-18 17:38 UTC (permalink / raw)
  To: Stephen Leake; +Cc: emacs-devel

> From: Stephen Leake <stephen_leake@stephe-leake.org>
> Date: Sat, 18 Jul 2015 12:18:56 -0500
> 
> As of
> 
>    commit d3816bf8ad1fcfed2a32d23216a55850ee4325b5
>    Committer : Eli Zaretskii <eliz@gnu.org>
>    CommitDate: Sat Jul 18 13:02:06 2015 +0300
> 
> building master with Msys2 mingw64 is broken. But the problem could be
> in an earlier commit, last time I updated was 21 June.

FWIW, I've bootstrapped several times since June 12, and had no
problems.  But I use neither MSYS2 nor MinGW64.

> >From 'make bootstrap':
> 
> ...
> make[3]: Leaving directory '/c/Projects/emacs/master-build-mingw64/lisp'
> ./temacs --batch --load loadup bootstrap
> Warning: arch-independent data dir '%emacs_dir%/share/emacs/25.0.50/etc/': Permission denied

Please show your epaths.h.

Also, how did you configure Emacs, exactly?  What was the configure
command line?  Did you run autogen.sh after updating.

> Warning: Lisp directory 'c': No such file or directory
> Warning: Lisp directory 'C:/msys64//Projects/emacs/master-build-mingw64/../master/lisp': Permission denied

Are you building from outside of the source tree, or in some
build-specific subdirectory of it?

> I'd like to learn how to fix such problems; any hints on where to look?

Follow the error messages, I'd say.

> Something to do with handling msys absolute path naming conventions, but
> where in the code?

I don't know (that's part of the problem), but the warning come from
lread.c:load_path_check, I think.  (I just grepped the sources for
"Lisp directory", and that was the only hit.)  Likewise, the warning
about arch-independent data dir comes from callproc.c:init_callproc.
Setting a breakpoint in these locations and looking athe backtrace
should get you started.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Msys2 mingw64 build broken
  2015-07-18 17:18 Msys2 mingw64 build broken Stephen Leake
  2015-07-18 17:38 ` Eli Zaretskii
@ 2015-07-18 18:00 ` Stephen Leake
  1 sibling, 0 replies; 6+ messages in thread
From: Stephen Leake @ 2015-07-18 18:00 UTC (permalink / raw)
  To: emacs-devel

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> As of
>
>    commit d3816bf8ad1fcfed2a32d23216a55850ee4325b5
>    Committer : Eli Zaretskii <eliz@gnu.org>
>    CommitDate: Sat Jul 18 13:02:06 2015 +0300
>
> building master with Msys2 mingw64 is broken. But the problem could be
> in an earlier commit, last time I updated was 21 June.
>
> From 'make bootstrap':
>
> ...
> make[3]: Leaving directory '/c/Projects/emacs/master-build-mingw64/lisp'
> ./temacs --batch --load loadup bootstrap
> Warning: arch-independent data dir
> '%emacs_dir%/share/emacs/25.0.50/etc/': Permission denied
> Warning: Lisp directory 'c': No such file or directory
> Warning: Lisp directory
> 'C:/msys64//Projects/emacs/master-build-mingw64/../master/lisp':
> Permission denied
> Error: charsets directory not found:
> c:/Projects/emacs/master-build-mingw64/%emacs_dir%/share/emacs/25.0.50/etc/charsets
> Emacs will not function correctly without the character map files.
> Please check your installation!
>
>
> I'd like to learn how to fix such problems; any hints on where to look?
> Something to do with handling msys absolute path naming conventions, but
> where in the code?

I'm running git bisect

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Msys2 mingw64 build broken
  2015-07-18 17:38 ` Eli Zaretskii
@ 2015-07-18 19:24   ` Stephen Leake
  2015-07-18 19:28     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Leake @ 2015-07-18 19:24 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stephen Leake <stephen_leake@stephe-leake.org>
>> Date: Sat, 18 Jul 2015 12:18:56 -0500
>> 
>> As of
>> 
>>    commit d3816bf8ad1fcfed2a32d23216a55850ee4325b5
>>    Committer : Eli Zaretskii <eliz@gnu.org>
>>    CommitDate: Sat Jul 18 13:02:06 2015 +0300
>> 
>> building master with Msys2 mingw64 is broken. But the problem could be
>> in an earlier commit, last time I updated was 21 June.
>
> FWIW, I've bootstrapped several times since June 12, and had no
> problems.  But I use neither MSYS2 nor MinGW64.

After running git bisect, which said all revisions were good,
'make bootstrap' on master HEAD now works for me.

So there must have been some change in configure that confused things,
and it got straightened out by checking out an intermediate revision.

Or something. On to other hacking ...

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Msys2 mingw64 build broken
  2015-07-18 19:24   ` Stephen Leake
@ 2015-07-18 19:28     ` Eli Zaretskii
  2015-07-19  9:23       ` Stephen Leake
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2015-07-18 19:28 UTC (permalink / raw)
  To: Stephen Leake; +Cc: emacs-devel

> From: Stephen Leake <stephen_leake@stephe-leake.org>
> Date: Sat, 18 Jul 2015 14:24:16 -0500
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Stephen Leake <stephen_leake@stephe-leake.org>
> >> Date: Sat, 18 Jul 2015 12:18:56 -0500
> >> 
> >> As of
> >> 
> >>    commit d3816bf8ad1fcfed2a32d23216a55850ee4325b5
> >>    Committer : Eli Zaretskii <eliz@gnu.org>
> >>    CommitDate: Sat Jul 18 13:02:06 2015 +0300
> >> 
> >> building master with Msys2 mingw64 is broken. But the problem could be
> >> in an earlier commit, last time I updated was 21 June.
> >
> > FWIW, I've bootstrapped several times since June 12, and had no
> > problems.  But I use neither MSYS2 nor MinGW64.
> 
> After running git bisect, which said all revisions were good,
> 'make bootstrap' on master HEAD now works for me.
> 
> So there must have been some change in configure that confused things,
> and it got straightened out by checking out an intermediate revision.

"make bootstrap" runs the configure script, but it doesn't run
autogen.sh.  So if you didn't do that manually before, it could be the
root cause.

But I guess we will never know now.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Msys2 mingw64 build broken
  2015-07-18 19:28     ` Eli Zaretskii
@ 2015-07-19  9:23       ` Stephen Leake
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Leake @ 2015-07-19  9:23 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stephen Leake <stephen_leake@stephe-leake.org>
>> Date: Sat, 18 Jul 2015 14:24:16 -0500
>> 
>> 
>> So there must have been some change in configure that confused things,
>> and it got straightened out by checking out an intermediate revision.
>
> "make bootstrap" runs the configure script, but it doesn't run
> autogen.sh.  So if you didn't do that manually before, it could be the
> root cause.

Right. I think I've seen this mentioned before; I need to write it down
somewhere ('if build fails, try ...').

I guess I should always run autogen.sh if I'm running make bootstrap;
that should never hurt.

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-19  9:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-18 17:18 Msys2 mingw64 build broken Stephen Leake
2015-07-18 17:38 ` Eli Zaretskii
2015-07-18 19:24   ` Stephen Leake
2015-07-18 19:28     ` Eli Zaretskii
2015-07-19  9:23       ` Stephen Leake
2015-07-18 18:00 ` Stephen Leake

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).