Subject: bug#22959: closed (Re: bug#22959: Emacs on Windows depends on libwinpthreads)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 21 Apr 2016 16:26:01 +0000

Your bug report

#22959: Emacs on Windows depends on libwinpthreads

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
22959: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22959
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#22959: Emacs on Windows depends on libwinpthreads
From: Eli Zaretskii <[email-masked]>
To: Fabrice Popineau <[email-masked]>
Cc: [email-masked]
Date: Thu, 21 Apr 2016 19:25:03 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Fabrice Popineau <[email-masked]>
> Date: Mon, 18 Apr 2016 21:50:44 +0200
> Cc: [email-masked]
> 
>  OK. Do we still have any problems left in this bug report? Or can we
>  close it?
> 
> You can close it. The dependency towards libwinpthread is removed with the small patch 
> to mingw-cfg.site .

I pushed that patch to master, and closing.

Thanks.

Subject: Emacs on Windows depends on libwinpthreads
From: [email-masked] (Phillip Lord)
To: [email-masked]
Date: Wed, 09 Mar 2016 14:52:18 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Currently, building Emacs under msys2/ming-w64 produces a binary that
depends on libwinpthread.dll. The practical upshot of this is that after
building and installing Emacs according to the instructions, Emacs
cannot be launched from the Windows explorer -- it can be run from msys2
which has the path set up correctly. A binary release will, therefore, fail.

Using the dependency walker shows the dependency is directly from Emacs,
and it appears to have come from a change in ming-w64, as reported here.

https://sourceforge.net/p/mingw-w64/mailman/message/31213279/

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748353

This affects emacs-25, master and, indeed, emacs-24 built using the
current tool chain.