public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* emacs-w32 not starting - missing dependency?
@ 2016-08-19 13:55 Peter Hull
  2016-08-19 14:17 ` Ken Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Peter Hull @ 2016-08-19 13:55 UTC (permalink / raw)
  To: cygwin

Hi all,

When I type 'emacs' at the bash prompt, emacs does not start and the 
prompt re-appears very quickly as if nothing happened. 'emacs -Q' and 
'emacs --version' do the same, nothing is printed.

My alternatives are set such that emacs points to emacs-w32. I also have 
emacs-nox and that works fine.

If I run 'strace emacs-w32' I get an error dialog:

"The procedure entry point WebPDecode could not be located in the 
dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll."

Is this a known problem? If not I can attach cygcheck.out and the output 
from strace if that will help.

I am running 32-bit cygwin on 64-bit windows 10.

Thanks,

Peter





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-19 13:55 emacs-w32 not starting - missing dependency? Peter Hull
@ 2016-08-19 14:17 ` Ken Brown
  2016-08-19 18:59   ` Ken Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Ken Brown @ 2016-08-19 14:17 UTC (permalink / raw)
  To: cygwin

On 8/19/2016 6:27 AM, Peter Hull wrote:
> Hi all,
>
> When I type 'emacs' at the bash prompt, emacs does not start and the
> prompt re-appears very quickly as if nothing happened. 'emacs -Q' and
> 'emacs --version' do the same, nothing is printed.
>
> My alternatives are set such that emacs points to emacs-w32. I also have
> emacs-nox and that works fine.
>
> If I run 'strace emacs-w32' I get an error dialog:
>
> "The procedure entry point WebPDecode could not be located in the
> dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll."

Is your installation of libMagickCore6_2 up to date?  I get

$ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll | grep WebPDecode
         48ee2c      8  WebPDecode

> Is this a known problem? If not I can attach cygcheck.out and the output
> from strace if that will help.

It's not a known problem.  If updating your Cygwin installation doesn't 
help, please send cygcheck.out.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-19 14:17 ` Ken Brown
@ 2016-08-19 18:59   ` Ken Brown
  2016-08-19 20:43     ` Ken Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Ken Brown @ 2016-08-19 18:59 UTC (permalink / raw)
  To: cygwin

On 8/19/2016 9:55 AM, Ken Brown wrote:
> On 8/19/2016 6:27 AM, Peter Hull wrote:
>> Hi all,
>>
>> When I type 'emacs' at the bash prompt, emacs does not start and the
>> prompt re-appears very quickly as if nothing happened. 'emacs -Q' and
>> 'emacs --version' do the same, nothing is printed.
>>
>> My alternatives are set such that emacs points to emacs-w32. I also have
>> emacs-nox and that works fine.
>>
>> If I run 'strace emacs-w32' I get an error dialog:
>>
>> "The procedure entry point WebPDecode could not be located in the
>> dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll."
>
> Is your installation of libMagickCore6_2 up to date?  I get
>
> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll | grep WebPDecode
>         48ee2c      8  WebPDecode
>
>> Is this a known problem? If not I can attach cygcheck.out and the output
>> from strace if that will help.
>
> It's not a known problem.

It is now.  I can reproduce the problem (only on 32-bit Cygwin).  I'll 
look into it.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-19 18:59   ` Ken Brown
@ 2016-08-19 20:43     ` Ken Brown
  2016-08-19 21:54       ` Ken Brown
  2016-08-20 13:27       ` Ken Brown
  0 siblings, 2 replies; 13+ messages in thread
From: Ken Brown @ 2016-08-19 20:43 UTC (permalink / raw)
  To: cygwin

On 8/19/2016 11:22 AM, Ken Brown wrote:
> On 8/19/2016 9:55 AM, Ken Brown wrote:
>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>> Hi all,
>>>
>>> When I type 'emacs' at the bash prompt, emacs does not start and the
>>> prompt re-appears very quickly as if nothing happened. 'emacs -Q' and
>>> 'emacs --version' do the same, nothing is printed.
>>>
>>> My alternatives are set such that emacs points to emacs-w32. I also have
>>> emacs-nox and that works fine.
>>>
>>> If I run 'strace emacs-w32' I get an error dialog:
>>>
>>> "The procedure entry point WebPDecode could not be located in the
>>> dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll."
>>
>>> Is this a known problem? If not I can attach cygcheck.out and the output
>>> from strace if that will help.
>>
>> It's not a known problem.
>
> It is now.  I can reproduce the problem (only on 32-bit Cygwin).  I'll
> look into it.

The problem turns out to be related to the recent update of libgd3. 
Reverting to the previous version fixes it.

Notice that cygMagickCore-6.Q16-2.dll, which occurs in the error dialog 
above, depends on cyggd-3.dll:

$ cygcheck /usr/bin/cygMagickCore-6.Q16-2.dll | grep cyggd-3
       C:\cygwin\bin\cyggd-3.dll

Marco, is it possible that the libgd3 update requires a rebuild of 
ImageMagick?

Ken




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-19 20:43     ` Ken Brown
@ 2016-08-19 21:54       ` Ken Brown
  2016-08-20 13:27       ` Ken Brown
  1 sibling, 0 replies; 13+ messages in thread
From: Ken Brown @ 2016-08-19 21:54 UTC (permalink / raw)
  To: cygwin

On 8/19/2016 4:03 PM, Ken Brown wrote:
> On 8/19/2016 11:22 AM, Ken Brown wrote:
>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>> Hi all,
>>>>
>>>> When I type 'emacs' at the bash prompt, emacs does not start and the
>>>> prompt re-appears very quickly as if nothing happened. 'emacs -Q' and
>>>> 'emacs --version' do the same, nothing is printed.
>>>>
>>>> My alternatives are set such that emacs points to emacs-w32. I also
>>>> have
>>>> emacs-nox and that works fine.
>>>>
>>>> If I run 'strace emacs-w32' I get an error dialog:
>>>>
>>>> "The procedure entry point WebPDecode could not be located in the
>>>> dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll."
>>>
>>>> Is this a known problem? If not I can attach cygcheck.out and the
>>>> output
>>>> from strace if that will help.
>>>
>>> It's not a known problem.
>>
>> It is now.  I can reproduce the problem (only on 32-bit Cygwin).  I'll
>> look into it.
>
> The problem turns out to be related to the recent update of libgd3.
> Reverting to the previous version fixes it.
>
> Notice that cygMagickCore-6.Q16-2.dll, which occurs in the error dialog
> above, depends on cyggd-3.dll:
>
> $ cygcheck /usr/bin/cygMagickCore-6.Q16-2.dll | grep cyggd-3
>       C:\cygwin\bin\cyggd-3.dll
>
> Marco, is it possible that the libgd3 update requires a rebuild of
> ImageMagick?

Here's some further info:

objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
[...]
         DLL Name: cyggd-3.dll
         vma:  Hint/Ord Member-Name Bound-To
         48ee2c      8  WebPDecode
[...]

I assume this means that ImageMagick expects to find WebPDecode in 
cyggd-3.dll.  And it was indeed there in the previous version of libgd3:

$ objdump -p /usr/bin/cyggd-3.dll | grep WebPDecode
         [   8] WebPDecode

With the current libgd3, however, we get

$ objdump -p /usr/bin/cyggd-3.dll
[...]
         DLL Name: cygwebp-5.dll
         vma:  Hint/Ord Member-Name Bound-To
         5c0b4     272  WebPDecodeARGB
[...]

and there is no other occurrence of the string WebPDecode in the output.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-19 20:43     ` Ken Brown
  2016-08-19 21:54       ` Ken Brown
@ 2016-08-20 13:27       ` Ken Brown
  2016-08-20 16:03         ` Marco Atzeri
  1 sibling, 1 reply; 13+ messages in thread
From: Ken Brown @ 2016-08-20 13:27 UTC (permalink / raw)
  To: cygwin

On 8/19/2016 4:03 PM, Ken Brown wrote:
> On 8/19/2016 11:22 AM, Ken Brown wrote:
>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>> Hi all,
>>>>
>>>> When I type 'emacs' at the bash prompt, emacs does not start and the
>>>> prompt re-appears very quickly as if nothing happened. 'emacs -Q' and
>>>> 'emacs --version' do the same, nothing is printed.
>>>>
>>>> My alternatives are set such that emacs points to emacs-w32. I also
>>>> have
>>>> emacs-nox and that works fine.
>>>>
>>>> If I run 'strace emacs-w32' I get an error dialog:
>>>>
>>>> "The procedure entry point WebPDecode could not be located in the
>>>> dynamic link library C:\cygwin\bin\cygMagickCore-6.Q16-2.dll."
>>>
>>>> Is this a known problem? If not I can attach cygcheck.out and the
>>>> output
>>>> from strace if that will help.
>>>
>>> It's not a known problem.
>>
>> It is now.  I can reproduce the problem (only on 32-bit Cygwin).  I'll
>> look into it.
>
> The problem turns out to be related to the recent update of libgd3.
> Reverting to the previous version fixes it.
>
> Notice that cygMagickCore-6.Q16-2.dll, which occurs in the error dialog
> above, depends on cyggd-3.dll:
>
> $ cygcheck /usr/bin/cygMagickCore-6.Q16-2.dll | grep cyggd-3
>       C:\cygwin\bin\cyggd-3.dll
>
> Marco, is it possible that the libgd3 update requires a rebuild of
> ImageMagick?

Or maybe the issue is that the latest build of gd should have had an ABI 
bump.  Volker?

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-20 13:27       ` Ken Brown
@ 2016-08-20 16:03         ` Marco Atzeri
  2016-08-20 21:12           ` Ken Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Marco Atzeri @ 2016-08-20 16:03 UTC (permalink / raw)
  To: cygwin

On 20/08/2016 04:52, Ken Brown wrote:
> On 8/19/2016 4:03 PM, Ken Brown wrote:
>> On 8/19/2016 11:22 AM, Ken Brown wrote:
>>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>>> Hi all,

>> The problem turns out to be related to the recent update of libgd3.
>> Reverting to the previous version fixes it.
>>
>> Notice that cygMagickCore-6.Q16-2.dll, which occurs in the error dialog
>> above, depends on cyggd-3.dll:
>>
>> $ cygcheck /usr/bin/cygMagickCore-6.Q16-2.dll | grep cyggd-3
>>       C:\cygwin\bin\cyggd-3.dll
>>
>> Marco, is it possible that the libgd3 update requires a rebuild of
>> ImageMagick?
>
> Or maybe the issue is that the latest build of gd should have had an ABI
> bump.  Volker?
>
> Ken
>

It seems more a libgd3 build problem.
Specially if it happens only on 32bit and not on 64bit.

The removal of an interface requires a ABI bump at upstream level,
but that it will happen for both arch versions.

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - missing dependency?
  2016-08-20 16:03         ` Marco Atzeri
@ 2016-08-20 21:12           ` Ken Brown
  2016-08-21 21:36             ` emacs-w32 not starting - libgd3 problem Marco Atzeri
  0 siblings, 1 reply; 13+ messages in thread
From: Ken Brown @ 2016-08-20 21:12 UTC (permalink / raw)
  To: cygwin

On 8/20/2016 9:41 AM, Marco Atzeri wrote:
> On 20/08/2016 04:52, Ken Brown wrote:
>> On 8/19/2016 4:03 PM, Ken Brown wrote:
>>> On 8/19/2016 11:22 AM, Ken Brown wrote:
>>>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>>>> Hi all,
>
>>> The problem turns out to be related to the recent update of libgd3.
>>> Reverting to the previous version fixes it.
>>>
>>> Notice that cygMagickCore-6.Q16-2.dll, which occurs in the error dialog
>>> above, depends on cyggd-3.dll:
>>>
>>> $ cygcheck /usr/bin/cygMagickCore-6.Q16-2.dll | grep cyggd-3
>>>       C:\cygwin\bin\cyggd-3.dll
>>>
>>> Marco, is it possible that the libgd3 update requires a rebuild of
>>> ImageMagick?
>>
>> Or maybe the issue is that the latest build of gd should have had an ABI
>> bump.  Volker?
>>
>> Ken
>>
>
> It seems more a libgd3 build problem.
> Specially if it happens only on 32bit and not on 64bit.

The difference between 32-bit and 64-bit is due to differences in 
ImageMagick on the two platforms.

On 32-bit, as I showed in an earlier message, I get:

$ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
[...]
         DLL Name: cyggd-3.dll
         vma:  Hint/Ord Member-Name Bound-To
         48ee2c      8  WebPDecode
[...]

On 64-bit, I get:

$ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
[...]
         DLL Name: cygwebp-5.dll
         vma:  Hint/Ord Member-Name Bound-To
[...]
         48096c    271  WebPDecode
[...]

Moreover, libMagickCore6_2 depends on libgd3 on 32-bit but not 64-bit. 
So it seems that ImageMagick needs to be rebuilt on 32-bit so as to 
remove this dependency.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - libgd3 problem
  2016-08-20 21:12           ` Ken Brown
@ 2016-08-21 21:36             ` Marco Atzeri
  2016-08-21 23:33               ` Ken Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Marco Atzeri @ 2016-08-21 21:36 UTC (permalink / raw)
  To: cygwin

On 20/08/2016 18:54, Ken Brown wrote:
> On 8/20/2016 9:41 AM, Marco Atzeri wrote:
>> On 20/08/2016 04:52, Ken Brown wrote:
>>> On 8/19/2016 4:03 PM, Ken Brown wrote:
>>>> On 8/19/2016 11:22 AM, Ken Brown wrote:
>>>>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>>>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>>>>> Hi all,
>>

>>
>> It seems more a libgd3 build problem.
>> Specially if it happens only on 32bit and not on 64bit.
>
> The difference between 32-bit and 64-bit is due to differences in
> ImageMagick on the two platforms.
>
> On 32-bit, as I showed in an earlier message, I get:
>
> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
> [...]
>         DLL Name: cyggd-3.dll
>         vma:  Hint/Ord Member-Name Bound-To
>         48ee2c      8  WebPDecode
> [...]
>
> On 64-bit, I get:
>
> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
> [...]
>         DLL Name: cygwebp-5.dll
>         vma:  Hint/Ord Member-Name Bound-To
> [...]
>         48096c    271  WebPDecode
> [...]
>
> Moreover, libMagickCore6_2 depends on libgd3 on 32-bit but not 64-bit.
> So it seems that ImageMagick needs to be rebuilt on 32-bit so as to
> remove this dependency.
>
> Ken
>

Hi Ken,
the 32bit depends on both

/usr/bin/cyggd-3.dll  =>  libgd3-2.1.1-2
/usr/bin/cygwebp-5.dll  =>  libwebp5-0.4.4-1

the 64 bit is missing  the first.
So in theory I should rebuild the 64 one to include the libgd3
dependency.

You can verify with
objdump -x  cygMagickCore-6.Q16-2.dll|grep DLL |sort

The libgd3-2.1.1-2 has on both 32 and 64 bit

  $ objdump -x cyggd-3.dll |grep WebP
         [   8] WebPDecode
         [   9] WebPEncode
         [  10] WebPGetInfo
         [  11] WebPGetPSNR

So before my rebuild we need to understand what's happened to
libgd3.

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - libgd3 problem
  2016-08-21 21:36             ` emacs-w32 not starting - libgd3 problem Marco Atzeri
@ 2016-08-21 23:33               ` Ken Brown
  2016-08-22  8:00                 ` Yaakov Selkowitz
  2016-08-22  9:57                 ` Peter Hull
  0 siblings, 2 replies; 13+ messages in thread
From: Ken Brown @ 2016-08-21 23:33 UTC (permalink / raw)
  To: cygwin

On 8/21/2016 11:24 AM, Marco Atzeri wrote:
> On 20/08/2016 18:54, Ken Brown wrote:
>> On 8/20/2016 9:41 AM, Marco Atzeri wrote:
>>> On 20/08/2016 04:52, Ken Brown wrote:
>>>> On 8/19/2016 4:03 PM, Ken Brown wrote:
>>>>> On 8/19/2016 11:22 AM, Ken Brown wrote:
>>>>>> On 8/19/2016 9:55 AM, Ken Brown wrote:
>>>>>>> On 8/19/2016 6:27 AM, Peter Hull wrote:
>>>>>>>> Hi all,
>>>
>
>>>
>>> It seems more a libgd3 build problem.
>>> Specially if it happens only on 32bit and not on 64bit.
>>
>> The difference between 32-bit and 64-bit is due to differences in
>> ImageMagick on the two platforms.
>>
>> On 32-bit, as I showed in an earlier message, I get:
>>
>> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
>> [...]
>>         DLL Name: cyggd-3.dll
>>         vma:  Hint/Ord Member-Name Bound-To
>>         48ee2c      8  WebPDecode
>> [...]
>>
>> On 64-bit, I get:
>>
>> $ objdump -p /usr/bin/cygMagickCore-6.Q16-2.dll
>> [...]
>>         DLL Name: cygwebp-5.dll
>>         vma:  Hint/Ord Member-Name Bound-To
>> [...]
>>         48096c    271  WebPDecode
>> [...]
>>
>> Moreover, libMagickCore6_2 depends on libgd3 on 32-bit but not 64-bit.
>> So it seems that ImageMagick needs to be rebuilt on 32-bit so as to
>> remove this dependency.
>>
>> Ken
>>
>
> Hi Ken,
> the 32bit depends on both
>
> /usr/bin/cyggd-3.dll  =>  libgd3-2.1.1-2
> /usr/bin/cygwebp-5.dll  =>  libwebp5-0.4.4-1
>
> the 64 bit is missing  the first.
> So in theory I should rebuild the 64 one to include the libgd3
> dependency.
>
> You can verify with
> objdump -x  cygMagickCore-6.Q16-2.dll|grep DLL |sort
>
> The libgd3-2.1.1-2 has on both 32 and 64 bit
>
>  $ objdump -x cyggd-3.dll |grep WebP
>         [   8] WebPDecode
>         [   9] WebPEncode
>         [  10] WebPGetInfo
>         [  11] WebPGetPSNR
>
> So before my rebuild we need to understand what's happened to
> libgd3.

OK, let's wait to hear from Volker (or maybe Yaakov has some insight?).

BTW, I've looked at the sources for gd-2.2.3-1, and the string 
"WebPDecode" appears only once, in a call to WebPDecodeARGB.  So I don't 
understand why there wasn't an ABI bump between versions 2.1.1 and 2.2.3.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - libgd3 problem
  2016-08-21 23:33               ` Ken Brown
@ 2016-08-22  8:00                 ` Yaakov Selkowitz
  2016-08-22  9:57                 ` Peter Hull
  1 sibling, 0 replies; 13+ messages in thread
From: Yaakov Selkowitz @ 2016-08-22  8:00 UTC (permalink / raw)
  To: cygwin

On Sun, 2016-08-21 at 18:03 -0400, Ken Brown wrote:
> On 8/21/2016 11:24 AM, Marco Atzeri wrote:
> > the 32bit depends on both
> > 
> > /usr/bin/cyggd-3.dll  =>  libgd3-2.1.1-2
> > /usr/bin/cygwebp-5.dll  =>  libwebp5-0.4.4-1
> > 
> > the 64 bit is missing  the first.
> > So in theory I should rebuild the 64 one to include the libgd3
> > dependency.
> > 
> > You can verify with
> > objdump -x  cygMagickCore-6.Q16-2.dll|grep DLL |sort
> > 
> > The libgd3-2.1.1-2 has on both 32 and 64 bit
> > 
> >  $ objdump -x cyggd-3.dll |grep WebP
> >         [   8] WebPDecode
> >         [   9] WebPEncode
> >         [  10] WebPGetInfo
> >         [  11] WebPGetPSNR
> > 
> > So before my rebuild we need to understand what's happened to
> > libgd3.
> 
> OK, let's wait to hear from Volker (or maybe Yaakov has some
> insight?).

AFAICS ImageMagick should be rebuilt, and the result should be a
dependency on libwebp5 and not libgd3.

> BTW, I've looked at the sources for gd-2.2.3-1, and the string 
> "WebPDecode" appears only once, in a call to WebPDecodeARGB.  So I
> don't understand why there wasn't an ABI bump between versions 2.1.1
> and 2.2.3.

That's because it was supposed to be an internal symbol which was only
mistakenly exposed for linking (unfortunately we don't have ELF
visibility support).  Some background:

https://github.com/libgd/libgd/issues/129
https://github.com/libgd/libgd/commit/a79232c5fa692c3b6e3f5bc95ecfc4554
24c3f54
https://github.com/libgd/libgd/commit/824a3aaa37b422779166ccc0ffc17e777
f8cf291

--
Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - libgd3 problem
  2016-08-21 23:33               ` Ken Brown
  2016-08-22  8:00                 ` Yaakov Selkowitz
@ 2016-08-22  9:57                 ` Peter Hull
  2016-08-22 13:23                   ` Ken Brown
  1 sibling, 1 reply; 13+ messages in thread
From: Peter Hull @ 2016-08-22  9:57 UTC (permalink / raw)
  To: cygwin

On 21/08/16 23:03, Ken Brown wrote:
> OK, let's wait to hear from Volker (or maybe Yaakov has some insight?).
>
> BTW, I've looked at the sources for gd-2.2.3-1, and the string 
> "WebPDecode" appears only once, in a call to WebPDecodeARGB.  So I 
> don't understand why there wasn't an ABI bump between versions 2.1.1 
> and 2.2.3.

Thanks very much everyone for looking into this issue. In the interim, 
is there a way for me to get emacs running again by using cygwin setup 
to install an earlier version of ImageMagick (or gd?)

Thanks,
Pete


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: emacs-w32 not starting - libgd3 problem
  2016-08-22  9:57                 ` Peter Hull
@ 2016-08-22 13:23                   ` Ken Brown
  0 siblings, 0 replies; 13+ messages in thread
From: Ken Brown @ 2016-08-22 13:23 UTC (permalink / raw)
  To: cygwin

On 8/22/2016 3:17 AM, Peter Hull wrote:
> On 21/08/16 23:03, Ken Brown wrote:
>> OK, let's wait to hear from Volker (or maybe Yaakov has some insight?).
>>
>> BTW, I've looked at the sources for gd-2.2.3-1, and the string
>> "WebPDecode" appears only once, in a call to WebPDecodeARGB.  So I
>> don't understand why there wasn't an ABI bump between versions 2.1.1
>> and 2.2.3.
>
> Thanks very much everyone for looking into this issue. In the interim,
> is there a way for me to get emacs running again by using cygwin setup
> to install an earlier version of ImageMagick (or gd?)

Install the previous version (2.1.1-2) of libgd3.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2016-08-22 12:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-19 13:55 emacs-w32 not starting - missing dependency? Peter Hull
2016-08-19 14:17 ` Ken Brown
2016-08-19 18:59   ` Ken Brown
2016-08-19 20:43     ` Ken Brown
2016-08-19 21:54       ` Ken Brown
2016-08-20 13:27       ` Ken Brown
2016-08-20 16:03         ` Marco Atzeri
2016-08-20 21:12           ` Ken Brown
2016-08-21 21:36             ` emacs-w32 not starting - libgd3 problem Marco Atzeri
2016-08-21 23:33               ` Ken Brown
2016-08-22  8:00                 ` Yaakov Selkowitz
2016-08-22  9:57                 ` Peter Hull
2016-08-22 13:23                   ` Ken Brown

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).