Re: Circular dependency with mingw64-x86_64-runtime

2018-05-02 Thread Mikhail Usenko via cygwin
> On May 2, 2018, at 10:22 AM, Mikhail Usenko wrote: > > On Sun, 29 Apr 2018 19:16:17 -0700 (PDT) > Steven Penny <...> wrote: >> so "mingw64-x86_64-gcc-core" and "mingw64-x86_64-runtime" require each other > > By the way this is not the only pac

Re: Circular dependency with mingw64-x86_64-runtime

2018-05-02 Thread Mikhail Usenko via cygwin
On Sun, 29 Apr 2018 19:16:17 -0700 (PDT) Steven Penny <...> wrote: > so "mingw64-x86_64-gcc-core" and "mingw64-x86_64-runtime" require each other By the way this is not the only package group with circular dependencies. There are more in Cygwin distribution, that can be observed with cygcheck-dep:

[ANNOUNCEMENT] cygcheck-dep-3.0-2

2018-04-09 Thread Mikhail Usenko via cygwin
Version 3.0-2 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script for displaying information on dependencies for installed Cygwin packages. For example: the information about package leaves; packages with broken dependencies; obsolete, and orphaned packages; particular package's depen

Re: Quotes around command-line argument that has unicode characters are not removed

2018-03-22 Thread Mikhail Usenko via cygwin
On Thu, 22 Mar 2018 01:15:00 +0100 Dmitry Katsubo via cygwin <...> wrote: > Dear Cygwin community, > > I observe the following on my Cygwin: when I put quotes around file that has > non-ASCII symbols, these quotes are passed to argv of the process literally, > otherwise they are removed. I would

Re: cygcheck-dep and _obsolete packages

2018-03-16 Thread Mikhail Usenko via cygwin
On Thu, 15 Mar 2018 23:40:55 + Jon Turney <...> wrote: > Just to be clear, the category is irrelevant here, it's the fact that > xorgproto obsoletes these packages that is significant. > OK. -- -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygw

Re: cygcheck-dep and _obsolete packages

2018-03-15 Thread Mikhail Usenko via cygwin
On Wed, 28 Feb 2018 22:57:05 +0100 Marco Atzeri <...> wrote: > Hi Mikhail, > > as latest setup skips the installation of _obsolete packages > can you adjust the behaviour of cygcheck-dep to ignore > the false warning ? > > /usr/bin/cygcheck-dep: WARNING: broken dependencies: > /usr/bin/cygcheck-

Re: [bug] coreutils: potentially dangerous: $(realpath //) != /

2018-03-14 Thread Mikhail Usenko via cygwin
On Mon, 12 Mar 2018 20:43:13 -0500 Eric Blake <...> wrote: > Furthermore, you need to realize that GNU coreutils 'rm' already has > special logic (permitted by POSIX) such that 'rm -rf /' fails unless you > use --no-preserve-root ('rm -rf /*' unfortunately does not trigger the > special logic,

Re: [bug] coreutils: potentially dangerous: $(realpath //) != /

2018-03-12 Thread Mikhail Usenko via cygwin
On Mon, 12 Mar 2018 21:47:09 +0100 Achim Gratz <...> wrote: > This goes to show that you really, really, really want to understand the > corner > cases in this script. On Mon, 12 Mar 2018 15:41:00 -0500 Eric Blake <...> wrote: > On cygwin, '/' and '//' are two different directories, as allowed by

[bug] coreutils: potentially dangerous: $(realpath //) != /

2018-03-12 Thread Mikhail Usenko via cygwin
coreutils-8.26-2 cygwin-2.10.0-1 Test case 1: --- $ realpath // // --- Expected output: / Test case 2: --- $ MYDIR=// $ test "$(realpath -e "$MYDIR" )" != / && echo rm -rf "$MYDIR"/* rm -rf ///bin ///cygdrive ///Cygwin.bat ///Cygwin.ico ///Cygwin-

Re: [ANNOUNCEMENT] Updated: texinfo-6.1-2

2016-03-09 Thread Mikhail Usenko
On Fri, 4 Mar 2016 17:58:02 -0500 Ken Brown <...> wrote: > The following packages have been updated in the Cygwin distribution: > > * texinfo-6.1-2 > * info-6.1-2 > * texinfo-tex-6.1-2 > Thanks a lot, Ken. -- Mike -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: info-6.1 segmentation fault

2016-03-03 Thread Mikhail Usenko
On Thu, 3 Mar 2016 15:46:02 + (UTC) Achim Gratz <...> wrote: > Mikhail Usenko inbox.ru> writes: > > info 6.1 crashes to segmentation fault on every run. > > Downgarding to version 6.0 resolves the problem. > > Does anyone come across with this or it is my l

info-6.1 segmentation fault

2016-03-03 Thread Mikhail Usenko
On Sat, 6 Feb 2016 19:16:51 -0500 Ken Brown <...> wrote: > The following packages have been updated in the Cygwin distribution: > > * texinfo-6.1-1 > * info-6.1-1 > * texinfo-tex-6.1-1 > info 6.1 crashes to segmentation fault on every run. Downgarding to version 6.0 resolves the problem. Does a

Re: [ANNOUNCEMENT] Updated: bash-4.3.39-2

2015-09-28 Thread Mikhail Usenko
On Mon, 28 Sep 2015 08:56:14 -0600 Eric Blake <...> wrote: > > 'echo -n' and 'echo -e' are non-portable (even in bash; because I can > use 'shopt -s xpgecho' to get POSIX-mandated behavior). Use 'printf' > instead. > xpg_echo doesn't change 'echo -ne' behavior ('echo -e' force backslash-escape

Re: [ANNOUNCEMENT] Updated: bash-4.3.39-2

2015-09-28 Thread Mikhail Usenko
On Thu, 24 Sep 2015 15:10:25 -0600 Eric Blake <...> wrote: > On 06/04/2015 03:51 AM, Mikhail Usenko wrote: > > Eric Blake (cygwin) <...> wrote: > >> 4.3.39-2 > > > > Hello, Eric. > > It has the same issue as in the previous version: > >

Re: [ANNOUNCEMENT] Updated: bash-4.3.42-3

2015-09-11 Thread Mikhail Usenko
On Fri, 11 Sep 2015 12:48:59 + Nellis, Kenneth <...> wrote: > FWIW, back in 2012 there was a discussion on this behavior of sed. > Apparently strong enough arguments were made to retain this behavior. > > http://sourceware.org/ml/cygwin/2012-02/msg00301.html > Hello, Ken. Thank you for the

Re: [ANNOUNCEMENT] Updated: bash-4.3.42-3

2015-09-11 Thread Mikhail Usenko
On Tue, 25 Aug 2015 14:19:54 -0600 Eric Blake (cygwin) <...> wrote: > A new release of bash, 4.3.42-3, has been uploaded and will soon reach a > mirror near you; leaving 4.3.39-2 as the previous version. > It is one more buggy release (cygwin-specific). ---8<---(cygwin-test.sh)---8<--- #! /bin/

Re: Does /etc/profile need to set MANPATH?

2015-07-20 Thread Mikhail Usenko
On Mon, 20 Jul 2015 16:42:49 +0300 Mikhail Usenko <...> wrote: > 1) if you run manpath from the command line in clean Cygwin installation you > find out that > "${HOME}/man" is (and always remains) in your searching path by default even > if you have no "${HO

Re: Does /etc/profile need to set MANPATH?

2015-07-20 Thread Mikhail Usenko
On Mon, 20 Jul 2015 08:20:12 -0400 Michael DePaulo <...> wrote: > On Mon, Jul 20, 2015 at 8:09 AM, Mikhail Usenko wrote: > > On Sat, 17 May 2014 10:37:30 +0200 > > Achim Gratz <...> wrote: > > > >> Corinna Vinschen writes: > >> > Whatever

Re: Does /etc/profile need to set MANPATH?

2015-07-20 Thread Mikhail Usenko
On Sat, 17 May 2014 10:37:30 +0200 Achim Gratz <...> wrote: > Corinna Vinschen writes: > > Whatever, it looks like MANPATH can really go away. Achim, do your worst. > > Done. > Besides defining MANPATH (and the other variables such as INFOPATH and PATH which can be modified by the user's .bas

Re: [ANNOUNCEMENT] Updated: bash-4.3.39-2

2015-06-04 Thread Mikhail Usenko
Eric Blake (cygwin) <...> wrote: > 4.3.39-2 Hello, Eric. It has the same issue as in the previous version: eating one \r from the odd numbered chains of the \r. bash-4.3.39-2 - $ echo -ne "\r\n" | { read t; echo "$t"; } | od -tx1 000 0a 001 $ echo -ne "\r\r\n" | { read t; echo

Re: [Bug] bash' read builtin command behaves differently on '\r' (4.3.33)

2015-05-14 Thread Mikhail Usenko
Also when a bash script is launched from an external program with connected stdio from/to the program using a UNIX domain socket generated by socketpair() the read builtin works OK. -- -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docume

Re: [Bug] bash' read builtin command behaves differently on '\r' (4.3.33)

2015-05-14 Thread Mikhail Usenko
On Thu, 14 May 2015 13:53:38 -0600 Eric Blake <...> wrote: > > Umm, are you sure you haven't turned on the igncr shell option in your > cygwin environment? > $ set -o allexport off braceexpand on emacs on errexit off errtraceoff functrace off hashall

[Bug] bash' read builtin command behaves differently on '\r' (4.3.33)

2015-05-14 Thread Mikhail Usenko
Cygwin version: 2.0.2-1 [linux]$ bash --version GNU bash, version 4.3.33(1)-release (i686-redhat-linux-gnu) [cygwin]$ bash --version GNU bash, version 4.3.33(1)-release (x86_64-unknown-cygwin) Testcase: [linux]$ echo -ne "\r\n" | { read t; echo "$t"; } | od -A n -t x1 0d 0a [cygwin]$ echo

[ANNOUNCEMENT] Updated: cygcheck-dep-2.1-1

2015-04-08 Thread Mikhail Usenko
Subject: Updated cygcheck-dep-2.1-1 Version 2.1-1 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script helping to show dependencies for installed Cygwin packages. Changelog since version 2.0-1: * Bug reported by Christian Franke is fixed. * Help message is improved, typos are fix

Re: [PATCH] cygcheck-dep 2.0-1: Bogus output from -l option

2015-04-08 Thread Mikhail Usenko
On Wed, 25 Mar 2015 07:34:32 +0100 Christian Franke <...> wrote: > The 'cygcheck-dep -l' output also lists various packages which are > actually required by other packages. > > The attached patch should fix that. > > Christian Hello, Christian. Sorry for not responding earlier. Thank you ver

Re: cygcheck-dep or bash error ?

2014-02-01 Thread Mikhail Usenko
On Sat, 01 Feb 2014 12:16:02 +0100 Marco Atzeri <...> wrote: > > On > CYGWIN_NT-6.1-WOW64 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin > (same on 20140128 snapshot) > > > $ cygcheck-dep diffutils > /usr/bin/cygcheck-dep: line 345: /dev/fd/62: No such file or directory > /usr/bin/cygcheck-dep

Re: cygcheck-dep or bash error ?

2014-02-01 Thread Mikhail Usenko
On Sat, 01 Feb 2014 12:16:02 +0100 Marco Atzeri <...> wrote: > > On > CYGWIN_NT-6.1-WOW64 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin > (same on 20140128 snapshot) > > > $ cygcheck-dep diffutils > /usr/bin/cygcheck-dep: line 345: /dev/fd/62: No such file or directory > /usr/bin/cygcheck-dep

Re: [ANNOUNCEMENT] Updated: chere-1.3-1 (x86 and x86_64)

2014-01-07 Thread Mikhail Usenko
On Tue, 17 Dec 2013 06:11:49 -0800 Dave Kilroy <...> wrote: > Version 1.3-1 of "chere" has been uploaded and should be available from > mirrors shortly. > > Changes: > * Add background context menus on Windows 7 and later > * Support 64 bit cygwin > > Fixes: > * Change to appropriate drive when

Re: "Device or resource busy" during read (rsync)

2013-12-22 Thread Mikhail Usenko
On Sun, 22 Dec 2013 00:02:10 + Winkel, Richard J. <...> wrote: > I have a hard time believing this is an unusual question but I swear > I've been googling everywhere without an answer! :) > I'm using rsync (under cygwin) to backup windows servers to a linux box > and it's working wonderfull

Re: cant access to files more than 128 utf-8 symbol long names

2013-12-11 Thread Mikhail Usenko
On Wed, 11 Dec 2013 16:23:39 +0100 Corinna Vinschen <...> wrote: > On Dec 11 19:02, Mikhail Usenko wrote: > > I couldn't figure out how a POSIX filename passed to a Cygwin > > application running on the Windows system may become longer than > > NAME_MAX=1020 byte

Re: cant access to files more than 128 utf-8 symbol long names

2013-12-11 Thread Mikhail Usenko
I couldn't figure out how a POSIX filename passed to a Cygwin application running on the Windows system may become longer than NAME_MAX=1020 bytes if the maximum filename length in NTFS is 255 UTF-16 symbols (i.e. 1020 bytes for the biggest 4 byte UTF-8 code unit)? What causes the ENAMETOOLONG

Re: cant access to files more than 128 utf-8 symbol long names

2013-12-11 Thread Mikhail Usenko
On Tue, 10 Dec 2013 11:27:55 +0100 Corinna Vinschen <...> wrote: > Easier said than done. > > Cygwin is using the native NT API > and, occasionally, the Win32 UNICODE file API, which allows paths of up > to 32767 chars. > ... > How do you represent this in a byte-oriented POSIX system? What do

[ANNOUNCEMENT] Updated: cygcheck-dep-2.0-1

2013-12-06 Thread Mikhail Usenko
Subject: Updated cygcheck-dep-2.0-1 Version 2.0-1 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script helping to show dependencies for installed Cygwin packages. Changelog since version 1.3-1: * Support for Cygwin Ports collection has been added. Use -p option to turn it on.

[ANNOUNCEMENT] Updated: cygcheck-dep-1.3-1

2013-12-01 Thread Mikhail Usenko
Subject: Updated cygcheck-dep-1.3-1 Version 1.3-1 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script helping to show dependencies for installed Cygwin packages. Changelog since version 1.2-1: * Minor bug fixed. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you

[ANNOUNCEMENT] Updated: cygcheck-dep-1.2-1

2013-11-23 Thread Mikhail Usenko
Subject: Updated - cygcheck-dep-1.2-1 Version 1.2-1 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script helping to show dependencies for installed Cygwin packages. Changelog since version 1.1-1: * Changes in the code improving performance and extensibility for the future suppo

Re: [ANNOUNCEMENT] Updated: cygcheck-dep-1.1-1

2013-11-15 Thread Mikhail Usenko
On Fri, 15 Nov 2013 11:28:34 +1100 Luke Kendall <...> wrote: > On 11/15/2013 09:06 AM, Mikhail Usenko wrote: > >* A warning is printed out if an installed package denotes a required > > package which is not installed. > I assume this means: a warning is printed

[ANNOUNCEMENT] Updated: cygcheck-dep-1.1-1

2013-11-14 Thread Mikhail Usenko
Subject: Updated - cygcheck-dep-1.1-1 Version 1.1-1 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script helping to show dependencies for installed Cygwin packages. When you try some Cygwin's software you are installing and/or uninstalling some packages along the line, and the script

Re: [ANNOUNCEMENT] New package: cygcheck-dep-1.0-1

2013-11-09 Thread Mikhail Usenko
Hello Barry, On Sat, 9 Nov 2013 04:11:33 + Buchbinder, Barry (NIH/NIAID) [E] <...> wrote: > > I'd be interested in getting a more detailed explanation of the > difference between -i and -I. The best I can tell from experiment, one > can uninstall all packages listed in an island by -i. But

Re: [ANNOUNCEMENT] New package: cygcheck-dep-1.0-1

2013-11-08 Thread Mikhail Usenko
On Fri, 8 Nov 2013 13:24:58 + Adam Dinwoodie <...> wrote: > Although, http://cygwin.com/acronyms/#PCYMTNQREAIYR I am sorry! This is a PCYMTNQREAIYR test. -- -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http:/

Re: [ANNOUNCEMENT] New package: cygcheck-dep-1.0-1

2013-11-08 Thread Mikhail Usenko
On Fri, 8 Nov 2013 11:51:24 + Adam Dinwoodie wrote: > Is this script intended to work for Cygwin packages installed using the > Cygwin installer but not from the main package repositories (ie from > Cygwin Ports)? The script seems to be misbehaving for me with such > packages, but if it's not

Re: Seeking a suggestion for unattended mass install procedure

2013-11-07 Thread Mikhail Usenko
Hello. One of the simple method to install a fresh clone of the existing Cygwin's installation is such a way: Create a new Cygwin root install directory and etc/setup subdirectories in it, copy therein the /etc/setup/installed.db file from the master installation you want to clone. Then launch set

[ANNOUNCEMENT] New package: cygcheck-dep-1.0-1

2013-11-05 Thread Mikhail Usenko
Subject: New package - cygcheck-dep-1.0-1 Version 1.0-1 of cygcheck-dep has been uploaded. cygcheck-dep is a bash script helping to show dependencies for installed Cygwin packages. It can be useful if you are trying some Cygwin's software and along the line you are installing and uninstalling som