all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Failure building Emacs on WSL
@ 2018-02-01 15:38 Angelo Graziosi
  2018-02-01 16:29 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Angelo Graziosi @ 2018-02-01 15:38 UTC (permalink / raw)
  To: emacs-devel

I build Emacs master on different system (Win64, GNU/Linux, OSX, WSL) monthly, but now it fails on WSL (Window Subsystem for Linux):

  [...]
  checking for brew... no
  configure: error: You do not seem to have makeinfo >= 4.13, and your
  source tree does not seem to have pre-built manuals in the 'info' directory.
  Either install a suitable version of makeinfo, or re-run configure
  with the '--without-makeinfo' option to build without the manuals.
  GNUmakefile:72: set di istruzioni per l'obiettivo "Makefile" non riuscito
  make: *** [Makefile] Errore 1

This didn't happened less than a month ago.. What changed? 

Thanks..



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

* Re: Failure building Emacs on WSL
  2018-02-01 15:38 Failure building Emacs on WSL Angelo Graziosi
@ 2018-02-01 16:29 ` Eli Zaretskii
  2018-02-01 16:46   ` Angelo Graziosi
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2018-02-01 16:29 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Thu, 1 Feb 2018 16:38:11 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> 
>   configure: error: You do not seem to have makeinfo >= 4.13, and your
>   source tree does not seem to have pre-built manuals in the 'info' directory.
>   Either install a suitable version of makeinfo, or re-run configure
>   with the '--without-makeinfo' option to build without the manuals.
>   GNUmakefile:72: set di istruzioni per l'obiettivo "Makefile" non riuscito
>   make: *** [Makefile] Errore 1
> 
> This didn't happened less than a month ago.. What changed? 

Well, do you have makeinfo >= 4.13?  If not, then the build process
now identifies this problem correctly where it previously failed to do
so.

If you do have makeinfo >= 4.13, then it's some kind of bug in the
configure script.



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

* Re: Failure building Emacs on WSL
  2018-02-01 16:29 ` Eli Zaretskii
@ 2018-02-01 16:46   ` Angelo Graziosi
  2018-02-01 16:50     ` Noam Postavsky
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Angelo Graziosi @ 2018-02-01 16:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel


> Il 1 febbraio 2018 alle 17.29 Eli Zaretskii <eliz@gnu.org> ha scritto:
> 
> 
> > Date: Thu, 1 Feb 2018 16:38:11 +0100 (CET)
> > From: Angelo Graziosi <angelo.g0@libero.it>
> > 
> >   configure: error: You do not seem to have makeinfo >= 4.13, and your
> >   source tree does not seem to have pre-built manuals in the 'info' directory.
> >   Either install a suitable version of makeinfo, or re-run configure
> >   with the '--without-makeinfo' option to build without the manuals.
> >   GNUmakefile:72: set di istruzioni per l'obiettivo "Makefile" non riuscito
> >   make: *** [Makefile] Errore 1
> > 
> > This didn't happened less than a month ago.. What changed? 
> 
> Well, do you have makeinfo >= 4.13?  If not, then the build process
> now identifies this problem correctly where it previously failed to do
> so.

I don't have it but the build I did a month ago has the info/*.info files so is a mystery what created them a month ago... unless some WSL update (apt update, upgrade etc. ) has removed it... :(

I don't want to install the texinfo package which would install a bunch of texlive packages (I already have TeXLive installed from its site...)

In any case, thanks for clarification.

 Angelo



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

* Re: Failure building Emacs on WSL
  2018-02-01 16:46   ` Angelo Graziosi
@ 2018-02-01 16:50     ` Noam Postavsky
  2018-02-01 17:24     ` Eli Zaretskii
  2018-02-01 19:09     ` Fabrice Popineau
  2 siblings, 0 replies; 11+ messages in thread
From: Noam Postavsky @ 2018-02-01 16:50 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Eli Zaretskii, Emacs developers

On Thu, Feb 1, 2018 at 11:46 AM, Angelo Graziosi <angelo.g0@libero.it> wrote:

>> Well, do you have makeinfo >= 4.13?  If not, then the build process
>> now identifies this problem correctly where it previously failed to do
>> so.
>
> I don't have it but the build I did a month ago has the info/*.info files so is a mystery what created them a month ago... unless some WSL update (apt update, upgrade etc. ) has removed it... :(
>
> I don't want to install the texinfo package which would install a bunch of texlive packages (I already have TeXLive installed from its site...)

The change is probably related to Bug#29931

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29931



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

* Re: Failure building Emacs on WSL
  2018-02-01 16:46   ` Angelo Graziosi
  2018-02-01 16:50     ` Noam Postavsky
@ 2018-02-01 17:24     ` Eli Zaretskii
  2018-02-01 20:59       ` Angelo Graziosi
  2018-02-01 19:09     ` Fabrice Popineau
  2 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2018-02-01 17:24 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Thu, 1 Feb 2018 17:46:30 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> Cc: emacs-devel@gnu.org
> 
> > Well, do you have makeinfo >= 4.13?  If not, then the build process
> > now identifies this problem correctly where it previously failed to do
> > so.
> 
> I don't have it but the build I did a month ago has the info/*.info files so is a mystery what created them a month ago... unless some WSL update (apt update, upgrade etc. ) has removed it... :(

If there's an info/emacs.info file, the error will not show up.

> I don't want to install the texinfo package which would install a bunch of texlive packages (I already have TeXLive installed from its site...)

AFAIU, you should be able to configure --without-makeinfo.



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

* Re: Failure building Emacs on WSL
  2018-02-01 16:46   ` Angelo Graziosi
  2018-02-01 16:50     ` Noam Postavsky
  2018-02-01 17:24     ` Eli Zaretskii
@ 2018-02-01 19:09     ` Fabrice Popineau
  2018-02-01 20:52       ` Angelo Graziosi
  2 siblings, 1 reply; 11+ messages in thread
From: Fabrice Popineau @ 2018-02-01 19:09 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Eli Zaretskii, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

2018-02-01 17:46 GMT+01:00 Angelo Graziosi <angelo.g0@libero.it>:

>
>
> I don't want to install the texinfo package which would install a bunch of
> texlive packages (I already have TeXLive installed from its site...)
>

You should check if you will get that many dependencies on top of TeXLive.
Because with MSYS2, the makeinfo package installs nothing that would
duplicate stuff in TeXLive.
Actually, I use TeXLive/w32 together with MSYS2 and its makeinfo package.

Fabrice

[-- Attachment #2: Type: text/html, Size: 876 bytes --]

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

* Re: Failure building Emacs on WSL
  2018-02-01 19:09     ` Fabrice Popineau
@ 2018-02-01 20:52       ` Angelo Graziosi
  0 siblings, 0 replies; 11+ messages in thread
From: Angelo Graziosi @ 2018-02-01 20:52 UTC (permalink / raw)
  To: Fabrice Popineau; +Cc: Eli Zaretskii, Emacs developers


> Il 1 febbraio 2018 alle 20.09 Fabrice Popineau ha scritto:
> 
> Actually, I use TeXLive/w32 together with MSYS2 and its makeinfo package.
> 

Now everything is clear.

Up few week ago I had 'C:\msys64\usr\bin' In the Windows PATH and I have MSYS2-texinfo package installed (it installs nothing about TeXLive because MSYS2 has not texlive packages).

So the Emacs build on WSL used makeinfo of MSYS2-texinfo! Now that I removed that path from PATH (following suggestions from INSTALL.W64) the issue came out!

Thanks,
  Angelo.



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

* Re: Failure building Emacs on WSL
  2018-02-01 17:24     ` Eli Zaretskii
@ 2018-02-01 20:59       ` Angelo Graziosi
  2018-02-01 21:23         ` Paul Eggert
  2018-02-02  8:30         ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Angelo Graziosi @ 2018-02-01 20:59 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel


> Il 1 febbraio 2018 alle 18.24 Eli Zaretskii ha scritto:
> 
> AFAIU, you should be able to configure --without-makeinfo.

When is 'makeinfo' used building Emacs?

If I build with

  ./configure..
  ./make...
  ./make install

is it really used? Or is it used only in something like this

  make doc

etc.?



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

* Re: Failure building Emacs on WSL
  2018-02-01 20:59       ` Angelo Graziosi
@ 2018-02-01 21:23         ` Paul Eggert
  2018-02-02  8:30         ` Eli Zaretskii
  1 sibling, 0 replies; 11+ messages in thread
From: Paul Eggert @ 2018-02-01 21:23 UTC (permalink / raw)
  To: Angelo Graziosi, Eli Zaretskii; +Cc: emacs-devel

On 02/01/2018 12:59 PM, Angelo Graziosi wrote:
> When is 'makeinfo' used building Emacs?
>
> If I build with
>
>    ./configure..
>    ./make...
>    ./make install
>
> is it really used?

It's not used if you're building from an Emacs distribution tarball, 
which is intended to be portable even to platforms lacking many 
developer tools. It is used if you're building from Git, where it's 
assumed you have a development environment with the appropriate tools, 
one of them being GNU texinfo.

It's probably best for you to arrange for your preferred environment to 
have all these tools. If that's not possible for some reason, you can 
first use GNU/Linux to create a tarball, and then copy the tarball to 
your more-limited development environment and build from that.




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

* Re: Failure building Emacs on WSL
  2018-02-01 20:59       ` Angelo Graziosi
  2018-02-01 21:23         ` Paul Eggert
@ 2018-02-02  8:30         ` Eli Zaretskii
  2018-02-02 16:17           ` Angelo Graziosi
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2018-02-02  8:30 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: emacs-devel

> Date: Thu, 1 Feb 2018 21:59:33 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> Cc: emacs-devel@gnu.org
> 
> 
> > AFAIU, you should be able to configure --without-makeinfo.
> 
> When is 'makeinfo' used building Emacs?

When the build process detects that your Info manuals (in info/) are
out of sync with their Texinfo sources (under doc/*/).

> If I build with
> 
>   ./configure..
>   ./make...
>   ./make install
> 
> is it really used?

Yes, it will be, by default.  If you configure --without-makeinfo, the
manuals will not be built even if that is necessary (because they are
missing in the build tree or outdated).

Is the Cygwin Texinfo installation really so heavy-weight?  Is it not
possible to install only Texinfo, without TeX?  If you don't have TeX,
you will be unable to produce the printed versions of the manuals
(PDF, DVI, PS formats), but if you never need that, TeX is just (a lot
of) ballast.  So in that case, just installing Texinfo alone, which is
a relatively small package, will allow you to build the manuals when
you build Emacs from Git, and get the latest manuals to go with the
binaries you built.



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

* Re: Failure building Emacs on WSL
  2018-02-02  8:30         ` Eli Zaretskii
@ 2018-02-02 16:17           ` Angelo Graziosi
  0 siblings, 0 replies; 11+ messages in thread
From: Angelo Graziosi @ 2018-02-02 16:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel


> Il 2 febbraio 2018 alle 9.30 Eli Zaretskii ha scritto:
> 
> When the build process detects that your Info manuals (in info/) are
> out of sync with their Texinfo sources (under doc/*/).

Thanks for claryfication...

> Is the Cygwin Texinfo installation really so heavy-weight?  Is it not
> possible to install only Texinfo, without TeX?  If you don't have TeX,
> you will be unable to produce the printed versions of the manuals
> (PDF, DVI, PS formats), but if you never need that, TeX is just (a lot
> of) ballast.  So in that case, just installing Texinfo alone, which is
> a relatively small package, will allow you to build the manuals when
> you build Emacs from Git, and get the latest manuals to go with the
> binaries you built.

MSYS2 has not texlive packages so its texinfo package install only makeinfo and some other utility but WSL (the Windows Subsystem for Linux in W10) wants to install also some texlive package when one installs texinfo...

The issue was originated by the fact that I removed C:\msys64\usr\bin from Windows PATH so in the previous builds the WSL build of Emacs was really using the MSYS2 makeinfo.

Thanks,
 Angelo.



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

end of thread, other threads:[~2018-02-02 16:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 15:38 Failure building Emacs on WSL Angelo Graziosi
2018-02-01 16:29 ` Eli Zaretskii
2018-02-01 16:46   ` Angelo Graziosi
2018-02-01 16:50     ` Noam Postavsky
2018-02-01 17:24     ` Eli Zaretskii
2018-02-01 20:59       ` Angelo Graziosi
2018-02-01 21:23         ` Paul Eggert
2018-02-02  8:30         ` Eli Zaretskii
2018-02-02 16:17           ` Angelo Graziosi
2018-02-01 19:09     ` Fabrice Popineau
2018-02-01 20:52       ` Angelo Graziosi

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.