Re: Advice on setting Cygwin build parameters for OpenSC.

2018-09-08 Thread cyg Simple
On 9/6/2018 12:25 PM, Csaba Raduly wrote:
> Hi Andrey,
> 
> On Thu, Sep 6, 2018 at 3:59 PM, Andrey Repin  wrote:
>> Greetings, dwhobrey!
>>
>>> Thank you for the feedback.
>>> WND would be _WIN32 builds.
>>
>> If you are going for native builds, why using Cygwin in the first place?
>> If you still want to use Cygwin for building, you have to install
>> cross-compilers and properly specify target host.
> 
> In OpenSC's  build system (configure.ac),  the Cygwin-specific parts
> are 10-11 years old.
> "cygwin native = yes" means the old-style Mingw build ( -mno-cygwin )

The -mno-cygwin has been dead for a few several years now.  The option
is no longer available in current GCC.  You now install the
{x86_64,i686}-w64-mingw32 cross compilers and specify
--host={x86_64,i686}-w64-mingw32 when you configure.

> to create native Win32 programs/libraries,
> whereas "cygwin native = no" means generating Cygwin programs/libraries
> (with CRYPTOKI_FORCE_WIN32 being forcibly - and probably incorrectly - 
> defined).
> 

So to get Cygwin specific build you just don't specify the --host option.

The change to configure.ac and supporting .m4 files is up to you.  But
-mno-cygwin isn't available if you plan to use current GCC regardless.

-- 
cyg Simple

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



Re: John The Ripper Error

2018-09-08 Thread Marco Atzeri

Am 08.09.2018 um 21:59 schrieb Alexander Weiß:

Hello,

i have tested John The Ripper for Windows and with the zip2john.exe i got
this error in the screenshot:
http://prntscr.com/ks5cwe

Please help me.

Best regards from Germany,

Alexander Weiß



https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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



John The Ripper Error

2018-09-08 Thread Alexander Weiß
Hello,

i have tested John The Ripper for Windows and with the zip2john.exe i got
this error in the screenshot:
http://prntscr.com/ks5cwe

Please help me.

Best regards from Germany,

Alexander Weiß

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



Re: [ANNOUNCEMENT] Updated: ImageMagick-6.9.9.11-1

2018-09-08 Thread Lemures Lemniscati
Thank you for testing.
Sorry for missending.

> > Could you test with -verbose option?
> >
> > identify -verbose a_depth1.psd
> 
> it stacks. I guess same race internally

They are different, in fact.
Is cygz.dll is causing an issue?


With -verbose option


> $ gdb identify
> GNU gdb (GDB) (Cygwin 7.12.1-2) 7.12.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-pc-cygwin".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from identify...(no debugging symbols found)...done.
> (gdb) run -verbose a_depth1.psd
> Starting program: /usr/bin/identify -verbose a_depth1.psd
> [New Thread 19604.0x326c]
> [New Thread 19604.0x3d58]
> [New Thread 19604.0x38ec]
> [New Thread 19604.0x1fe4]
> [New Thread 19604.0x2dd0]
> [New Thread 19604.0x463c]
Waiting and and Ctrl-C!
> 
> Thread 1 received signal SIGINT, Interrupt.
> 0x0003cebe92d7 in inflate () from /usr/bin/cygz.dll
> (gdb)
> (gdb) quit
> A debugging session is active.
> 
> Inferior 1 [process 19604] will be killed.
> 
> Quit anyway? (y or n) y
> 


Without -verbose option


$ gdb identify
GNU gdb (GDB) (Cygwin 7.12.1-2) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from identify...(no debugging symbols found)...done.
(gdb) run a_depth1.psd
Starting program: /usr/bin/identify a_depth1.psd
[New Thread 13140.0x5bf0]
[New Thread 13140.0x20c8]
[New Thread 13140.0x2e00]
[New Thread 13140.0x5284]
a_depth1.psd[0] PSD 37x27 37x27+0+0 1-bit Grayscale Gray 256c 492B 0.000u 
0:00.005
a_depth1.psd[1] PSD 37x27 37x27+0+0 1-bit Gray 256c 492B 0.000u 0:00.005
[Thread 13140.0x2e00 exited with code 0]
[Thread 13140.0x5284 exited with code 0]
[Inferior 1 (process 13140) exited normally]
(gdb) quit

> $ uname -svrm; cygcheck -c ImageMagick zlib zlib0
> CYGWIN_NT-6.1 2.11.1(0.329/5/3) 2018-09-05 10:24 x86_64
> Cygwin Package Information
> Package  VersionStatus
> ImageMagick  6.9.9.11-3 OK
> zlib 1.2.11-1   OK
> zlib01.2.11-1   OK

> $ cygcheck -l zlib0
> /usr/bin/cygz.dll


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



Re: [ANNOUNCEMENT] Updated: ImageMagick-6.9.9.11-1

2018-09-08 Thread Marco Atzeri

Am 08.09.2018 um 14:14 schrieb Lemures Lemniscati:

Hi!


reply on mailing list, please



Thank you for testing.


Works fine here

$ identify a_depth1.psd
a_depth1.psd[0] PSD 37x27 37x27+0+0 1-bit Grayscale Gray 256c 492B
0.015u 0:00.003
a_depth1.psd[1] PSD 37x27 37x27+0+0 1-bit Gray 256c 492B 0.015u 0:00.003


Could you test with -verbose option?

identify -verbose a_depth1.psd


it stacks. I guess same race internally



--
Lemures Lemniscati



Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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



Re: [ANNOUNCEMENT] Updated: ImageMagick-6.9.9.11-1

2018-09-08 Thread Marco Atzeri

Am 08.09.2018 um 13:10 schrieb Lemures Lemniscati:

Hi!


bottom post and trim here, please



identify in ImageMagick hangs:

base64 -d << END > a.png
iVBORw0KGgoNSUhEUgAAACUbAQDTlXtzZ0lEQVQI12P4DwQ/GCDkAQYGBgkg
WQEm/4BIRiSS9S+bBMMRhn+MIJEahhlANS1A8UMGDZ8iGC4zMABlLzdwsEuA2REMByw6jIAkQwPY
hB9A9UeYQXoPsv5pQjMZYhdDAZgEuQHJVQB3xTpG4li8ywBJRU5ErkJggg==
END
convert a.png -depth 1 a_depth1.psd
identify -verbose a_depth1.psd



Works fine here

$ identify a_depth1.psd
a_depth1.psd[0] PSD 37x27 37x27+0+0 1-bit Grayscale Gray 256c 492B
0.015u 0:00.003
a_depth1.psd[1] PSD 37x27 37x27+0+0 1-bit Gray 256c 492B 0.015u 0:00.003


$ cygcheck -c ImageMagick
Cygwin Package Information
Package  VersionStatus
ImageMagick  6.9.9.11-3 OK




$ uname -svrm
CYGWIN_NT-10.0 2.11.1(0.329/5/3) 2018-09-05 10:24 x86_64

Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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



Re: [ANNOUNCEMENT] Updated: ImageMagick-6.9.9.11-1

2018-09-08 Thread Lemures Lemniscati
Hi!

identify in ImageMagick hangs:

base64 -d << END > a.png
iVBORw0KGgoNSUhEUgAAACUbAQDTlXtzZ0lEQVQI12P4DwQ/GCDkAQYGBgkg
WQEm/4BIRiSS9S+bBMMRhn+MIJEahhlANS1A8UMGDZ8iGC4zMABlLzdwsEuA2REMByw6jIAkQwPY
hB9A9UeYQXoPsv5pQjMZYhdDAZgEuQHJVQB3xTpG4li8ywBJRU5ErkJggg==
END
convert a.png -depth 1 a_depth1.psd
identify -verbose a_depth1.psd

> $ cygcheck -c ImageMagick
> Cygwin Package Information
> Package  VersionStatus
> ImageMagick  6.9.9.11-3 OK


But newer versions might avoid it.
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3=34404=14

--
Lemures Lemniscati


==
Subject: [ANNOUNCEMENT] Updated: ImageMagick-6.9.9.11-1
Date: Wed, 6 Sep 2017 18:26:35 +0200
From: Marco Atzeri

> New version 6.9.9.11-1 of
> ImageMagick
> ImageMagick-doc
> libMagickCore6_5
> libMagickC++6_8
> libMagickWand6_5
> libMagick-devel
> perl-Image-Magick
> 
> have been uploaded for cygwin
> 
> CHANGES
> latest upstream 6.x version
> 
> DESCRIPTION
> ImageMagick® is a software suite to create, edit, compose, or convert
> bitmap images. It can read and write images in a variety of formats
> (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD,
> PNG, Postscript, SVG, and TIFF. Use ImageMagick to resize, flip,
> mirror, rotate, distort, shear and transform images, adjust image
> colors, apply various special effects, or draw text, lines, polygons,
> ellipses and Bézier curves.
> 
> HOMEPAGE
> http://www.imagemagick.org/
> 
> Regards
> Marco Atzeri
> 
> If you have questions or comments, please send them to the
> cygwin mailing list at: cygwin (at) cygwin (dot) com .
> 
> --
> 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


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