Re: openssl-devel in openssh README
Greetings, Sorin Adrian Savu! > Hello! > I had to compile openssh recently, and the README for cygwin is referencing > openssl-devel package which is obsolete now. I spent some time trying to > figure this out. Can you please update > https://github.com/openssh/openssh-portable/blob/85ceb0e64bff672558fc87958cd548f135c83cdd/contrib/cygwin/README#L80 > to > mention libssl-devel instead ? > (I would do it, but I can't figure out how to submit a PR to that repo) Clone the repo on github to your account, create branch, make changes, submit a PR. -- With best regards, Andrey Repin Sunday, May 26, 2019 10:33:37 Sorry for my terrible english... -- 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: Cygwin debugger crashes every time on following a unique_ptr
Mark Geisert wrote: I can confirm this issue. The fault is reported by Cygwin's memcpy(). I'm having a heck of a time trying to get a gdb backtrace to show what in gdb itself is likely calling memcpy() with a bad arg. This seems to be a regression in gdb 8.1.1. If you downgrade to gdb 8.0.1 on Cygwin the fault does not occur. Obviously just a workaround. I'm curious which version of gdb the OP was using within CLion. In any case this issue should be pointed out upstream (to the gdb developers). It doesn't seem to be a Cygwin issue after all. ..mark -- 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: openssl-devel in openssh README
On 2019-05-26 00:19, Sorin Adrian Savu wrote: > I had to compile openssh recently, and the README for cygwin is referencing > openssl-devel package which is obsolete now. I spent some time trying to > figure this out. Can you please update > https://github.com/openssh/openssh-portable/blob/85ceb0e64bff672558fc87958cd548f135c83cdd/contrib/cygwin/README#L80 > to mention libssl-devel instead ? Obsolete package openssl-devel now depends on libssl-devel, if using the current setup, so you get the correct packages installed and used: look at the package setup.hint or the setup.ini entry. Cygwin obsolete packages are most similar to other distros virtual packages, but they can require specific dependencies and/or versions be installed: this avoids updating dependencies and docs just because dependency package names change. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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: Cygwin debugger crashes every time on following a unique_ptr
On 2019-05-26 01:51, Mark Geisert wrote: > Mark Geisert wrote: >> I can confirm this issue. The fault is reported by Cygwin's memcpy(). I'm >> having a heck of a time trying to get a gdb backtrace to show what in gdb >> itself >> is likely calling memcpy() with a bad arg. > This seems to be a regression in gdb 8.1.1. If you downgrade to gdb 8.0.1 on > Cygwin the fault does not occur. Obviously just a workaround. > I'm curious which version of gdb the OP was using within CLion. In any case > this issue should be pointed out upstream (to the gdb developers). It doesn't > seem to be a Cygwin issue after all. You should follow JetBrains debugger problem reporting guidelines (as you should Cygwin's) if that is relevant to your use: https://intellij-support.jetbrains.com/hc/en-us/articles/206560589-Debugger-doesn-t-stop-on-a-breakpoint-Debugger-shows-Command-timed-out-What-to-do- You should push this back to JetBrains for proper reproduction and diagnosis (if Cygwin volunteers can do it in hours, JetBrains should have some employees capable to do so) and have them report it to their upstream, which may be https://sourceware.org/gdb/ also hosted on SourceWare like Cygwin. CLion 2019.1 may now support gdb 8.1: https://intellij-support.jetbrains.com/hc/en-us/articles/206556469-What-compiler-debugger-can-I-use-within-CLion- and fixes are available in upgrades: https://sourceware.org/gdb/news/ but below reports CLion 2018.1.6 uses gdb 8.0.1 - you should not use newer gdb capabilities than supported by the installed release: https://confluence.jetbrains.com/display/CLION/Third-Party+Software+Used+by+CLion and that info should be available for each release and up to date for the current release. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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: Cygwin debugger crashes every time on following a unique_ptr
On 25/05/2019 22:31, Mark Geisert wrote: Raj Kumar wrote: [...] Adding a watch is equivalent to when in the gdb window I try and do this: myCar.get()->currentPassengers. This crashes the GDB every time. So the issue occurs when I try to follow the object pointed to by a unique_ptr and try to get its attributes/variables. I can confirm this issue. The fault is reported by Cygwin's memcpy(). I'm having a heck of a time trying to get a gdb backtrace to show what in gdb itself is likely calling memcpy() with a bad arg. When debugging gdb with itself here, you'll need to use 'set cygwin-exceptions on' to allow it to stop on exceptions inside the cygwin DLL. See https://cygwin.com/faq.html#faq.programming.debugging-cygwin (This would be a lot more usable if gdb ignored exceptions inside the specific functions where it makes sense to do that (e.g. verifyable_object_isvalid, etc.), rather than anywhere in the cygwin DLL, if someone wants to fix that...) To reproduce with OP's supplied source files in an otherwise clean directory: g++ -g -o raj *.cpp gdb raj [...] (gdb) b main (gdb) run (gdb) n (gdb) n At this point you'll be on line 14. Issue the OP's triggering command: (gdb) p myCar.get()->currentPassengers Segmentation fault (core dumped) Thanks for the reproduction instructions. This seems to be the issue discussed in [1], fixed by [2]. This fix is contained in the 8.2.1-1 Cygwin test release of gdb. [1] https://sourceware.org/ml/gdb-patches/2018-06/msg00584.html [2] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=de52b9607d2623f18b7a7dbee3e1123d8d63f5da -- 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: openssl-devel in openssh README
On Sun, May 26, 2019 at 10:50 AM Andrey Repin wrote: > Greetings, Sorin Adrian Savu! > > > Hello! > > > I had to compile openssh recently, and the README for cygwin is > referencing > > openssl-devel package which is obsolete now. I spent some time trying to > > figure this out. Can you please update > > > https://github.com/openssh/openssh-portable/blob/85ceb0e64bff672558fc87958cd548f135c83cdd/contrib/cygwin/README#L80 > > to > > mention libssl-devel instead ? > > > (I would do it, but I can't figure out how to submit a PR to that repo) > > Clone the repo on github to your account, create branch, make changes, > submit > a PR. As a generic approach, that would do, however openssh-portable has quite a few branches and being a security related package I was expecting some strict guidelines on how to submit patches (which I can't find). Anyhow, I see that all the patches start from master, so I will give it a try. > > > -- > With best regards, > Andrey Repin > Sunday, May 26, 2019 10:33:37 > > Sorry for my terrible english... > > -- 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: openssl-devel in openssh README
Greetings, Sorin Adrian Savu! >> Greetings, Sorin Adrian Savu! >> >> > Hello! >> >> > I had to compile openssh recently, and the README for cygwin is >> referencing >> > openssl-devel package which is obsolete now. I spent some time trying to >> > figure this out. Can you please update >> > >> https://github.com/openssh/openssh-portable/blob/85ceb0e64bff672558fc87958cd548f135c83cdd/contrib/cygwin/README#L80 >> > to >> > mention libssl-devel instead ? >> >> > (I would do it, but I can't figure out how to submit a PR to that repo) >> >> Clone the repo on github to your account, create branch, make changes, >> submit >> a PR. > As a generic approach, that would do, however openssh-portable has quite a > few branches and being a security related package I was expecting some > strict guidelines on how to submit patches (which I can't find). If there's any guidelines, a bot would mail you once you submit a PR, like it is so for Symfony subpackages. (When you file a PR against them, a bot comes in, closes it and tells you to fu... erm, file it against main Symfony repo.) > Anyhow, I see that all the patches start from master, so I will give it a > try. Why I suggest a branch is because somebody could more easily inspect it locally, when there's doubts. Checking out from remote's master is a little bit more convoluted and error-prone, than from a branch. -- With best regards, Andrey Repin Sunday, May 26, 2019 20:43:59 Sorry for my terrible english... -- 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
Dash 0.5.10
I noticed a new Dash version is available since May 2018: http://gondor.apana.org.au/~herbert/dash/files Does the new version have some issue blocking Cygwin? If not can we publish new version? -- 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: Dash 0.5.10
On 2019-05-26 12:40, Steven Penny wrote: > I noticed a new Dash version is available since May 2018: > http://gondor.apana.org.au/~herbert/dash/files > Does the new version have some issue blocking Cygwin? If not can we publish > new version? Do you really need fixes in 0.5.10.2; looked at the number of bugs and patches from then until February https://www.spinics.net/lists/dash/? May be better to wait for the next release 0.5.11! [Upstream maintainer @ RH seems to be busy getting Linux crypto up to V4. Not that IBM being heavy into crypto and merging with RH may affect that!] -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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