Re: compiling GRASS GIS in Cygwin and Windows 10

2018-05-16 Thread Marco Atzeri

On 5/16/2018 9:57 AM, Massi Alvioli wrote:

Hi all,

I need a bit of help with GRASS GIS compiled with cygwin and Windows
10. Right after a Cygwin update,
a few weeks ago, my GRASS 7.2 gui stopped working with a cryptical
Cygwin-related error message reported below.
I tried rolling back a few wxPython-related Cygwin packages to
previous versions, but I had no luck. I also run rebase
a few times, as suggested to heal similar problems in some web
location. Same result going to grass74 (to which the
errors above refer). The source package is here:
https://grass.osgeo.org/grass74/source/grass-7.4.0.tar.gz
and the list of options used to compile GRASS and a cygcheck dump are
attached here!

- --- -- -
GRASS 7.4.0 (italia):~ >   1 [main] python2.7 8396
child_info_fork::abort: unable to map
C:\cygwin64\bin\cygSDL2-2-0-0.dll, Win32 error 1114


It seems python failed to load cygSDL2-2-0-0.dll

I assume that the output of
  cygcheck cygSDL2-2-0-0.dll
is fine, but probably one of the dependency was incorrectly updated.
Look if there is any /usr/bin/*.new file.

For further dependency check you can use 
http://www.dependencywalker.com/ on cygSDL2-2-0-0.dll

or run the python compiler under strace.

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



[ANNOUNCEMENT] time 1.9-1

2018-05-16 Thread Andrew Schulman
time 1.9-1 is now available in Cygwin.  This is a new upstream release, with
minor new features, bug fixes, and documentation improvements. An excerpt of the
NEWS file since the previous release (1.7.2-1) is below.

The 'time' command runs another program, then displays information about the
resources used by that program, collected by the system while the program was
running. You can select which information is reported and the format in which it
is shown, or have 'time' save the information in a file instead of displaying it
on the screen.

Andrew E. Schulman


* Noteworthy changes in release 1.9 (2018-03-12) [stable]

** Improvements

  time now reports percent CPU usage for programs lasting less then 1 second.
  previously, time would report '??%' if programs lasted less than 1 second.
  (adopted from Fedora).

** Changes in behaviour

  "time -p" no longers adds the "Command exited with non-zero status" message.
  This is a backward-incompatible change for better POSIX compliance.
  Many downstream distributions previously patched 'time' to behave this way
  (Debian added '-q', Fedora patched '-p').


* Noteworthy changes in release 1.8 (2017-11-07) [stable]

** Licensing

  First official release under GPLv3-or-later.
  Previous version (v1.7) was GPLv2-or-later.
  The code in the git repository has been updated to GPLv3-or-later
  in 2015 (in git-tagged version 1.7.1).


** New Features

  time supports new -q/--quiet option to suppresses abnormal
  program terminal (non-exit codes or signals).
  Modelled after Debian's  https://bugs.debian.org/56853 .

  time now uses the following exit codes (same as GNU coreutils' env):
   125 = Wrong usage or internal error prior to exec attempt.
   126 = Program located, but not usable.
   127 = Could not find program to exec.

  time now exits with code '128 + Signal number' when the program
  is terminated by a signal.
  Modelled after Debian's 'non-normal-exit' upstream patch,
  and behaves the same as GNU coreutils' timeout(1).

  time now reports MAX-RSS values correctly on modern systems
  (the old code base, last updated in 1996, incorrectly calculated
  pages/kilobytes and overestimated MAX-RSS).
  Modelled after Debian's https://bugs.debian.org/649402 .


** Improvements

  Use gnulib modules and build infrastructure.

  New tests infrastructure (make check).

  Portability improvements (e.g. detection of time.h, sys/resources.h,
  getrusage now delegated to gnulib).




***


To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com_at_cygwin.com

If you need more information on unsubscribing, start reading here: 

http://cygwin.com/lists.html#subscribe-unsubscribe

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
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: normal to blue-screen windows when doing 'ls -CF' of /proc/sys/GLOBAL?? (bug? cygcheck attached)

2018-05-16 Thread Andrey Repin
Greetings, L A Walsh!

> It didn't used to do this (a long time ago)...but has for about the
> past couple of years.

> Running on:
> CYGWIN_NT-6.1 Athenae 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin

> Win7SP1x64.

> If I do an 'ls -CF', as a "normal user" no admin privs (did a dropmyrights
> and verified that I only had traversal priv), of /proc/sys/Global\?\?/,
> it will blue screen my system every time.

After BSOD, there should be at least aminibump.
You can use http://nirsoft.net/utils/blue_screen_view.html to examine it.

> I didn't really want to even look for it, but finally decided to
> try it as an unprivileged user -- to see if that was an issue.

It was slow, but produced the list all right.

Win7Pro/RUS 64-bit.

Do you perhaps have some misbehaving drivers in your system?
Try clearing up your device manager.

SET DEVMGR_SHOW_NONPRESENT_DEVICES=1 && mmc.exe devmgmt.msc


-- 
With best regards,
Andrey Repin
Wednesday, May 16, 2018 18:23:15

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: perl-Win32-API package problem

2018-05-16 Thread S.J. Luo
Hi Achim,

> >   By checking the gcc compile option, I found there is a gcc option
> > "-fno-stack-protector" provided when I compile this module by myself,
> > while the option is removed when I compile with cygport. If I try
> > manually compiling without this option, the same problem occurs.
>
> I don't know enough of how the stack protector actually is implemented
> to understand why it would work without the protector and stop working
> with.
>
> I'll see if it's possible to remove the option from within cygport, if
> yo I'll have to think about any ramifications that might have.

Thanks for the responding. I just learned that stack protector is
trying to prevent against buffer overflow/stack-corruption based
attacks. It might not be a big issue. A crack-aware program shall
simply avoid this module.

And yes I believe it is complex that how stack protector have
influence on this Perl module. But I think this option is just
necessary. The Makefile.PL explicitly applies -fno-stack-protector
option on non-MSVC compilers with 64bit target:

https://metacpan.org/source/BULKDD/Win32-API-0.84/Makefile.PL#L149

SJ

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



[ANNOUNCEMENT] Updated: Perl distributions

2018-05-16 Thread Achim Gratz

The following Perl distributions have been added or updated to their
latest version on CPAN, respectively:


noarch
--
perl-DateTime-TimeZone-2.19-1
perl-Mojolicious-7.79-1
perl-YAML-1.25-1


-- 
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

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



[ANNOUNCEMENT] Updated: neomutt-20180512-1

2018-05-16 Thread Federico Kircheis

Version 20180512-1 of neomutt has been uploaded.

The command line mail reader neomutt reached version 20180512.

On GitHub it is possible to find the changelog for the new release:
https://github.com/neomutt/neomutt/releases

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