Re: tmux failed and got the message: failed to connect to server: No error

2014-06-02 Thread Michael Wild
Hi Guan-Zhong

The problem is known upstream [1, 2] and I'm also trying to figure out
which change in the cygwin DLL triggered this issue. I'll post here
again once I know more.

Michael

[1] http://sourceforge.net/p/tmux/mailman/message/32396655/
[2] http://sourceforge.net/p/tmux/mailman/message/32400834/

On Sat, May 31, 2014 at 5:29 PM, Guan-Zhong Huang wrote:
> cygwin-1.7.29-2 is ok.
> After updating to cygwin-1.7.30-1, I can't start tmux.
>
> I find it is because when tmux tries to connect to the unix domain
> socket that tmux server listens and tmux server hasn't started yet,
> connect() fails but errno is 0, not "Connection Refused (111)". This
> causes tmux to exit with error.
>
> If you want to reproduce this bug.
> tmux might work at the first time because the unix domain socket is not 
> created.
> But after that, tmux will fail due to incorrect errno.
>
> Here's the strace I got:
> cygwin-1.7.30-1:
>96 1063224 [main] tmux 4072 cygwin_connect: -1 = connect(5,
> 0x229780, 24), errno 0
> cygwin-1.7.29-2:
>92 1054064 [main] tmux 3548 cygwin_connect: -1 = connect(5,
> 0x229780, 24), errno 111
>
>
> Best regads,
> Guan-Zhong
>
> --
> 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



Native links break zsh

2014-06-02 Thread Yuriy Chernyshov
Hi!

After adding
export CYGWIN='winsymlinks:nativestrict'

command to my .zshrc file I'm experiencing the problem with zsh
HISTFILE. The message says:
History locking file failed: No such file or directory.
I don't know how this is related since HISTFILE isn't a link at all.

Yuriy.

--
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: It's back -- "gcc: error: spawn: No such file or directory"

2014-06-02 Thread David Friedman

>> Try removing /bin from your path entirely.

> I'd rather suggest removing /usr/bin

> --
> WBR,
> Andrey Repin (anrdae...@yandex.ru) 31.05.2014, <22:59>
_

Tried that too (set PATH to just /bin) - same result.

Where is spawn normally located? Is it possible that the library file that 
normally contains it is actually missing, mis-located or corrupted, so that 
spawn can't be found? Is there a workaround, possibly involving fork() and 
exec()? I gather that spawn() is not POSIX-compliant (CMIIW - correct me if I'm 
wrong).

David Friedman (re-originator of this thread)

--
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: Native links break zsh

2014-06-02 Thread Doug Henderson
On Mon, Jun 2, 2014 at 6:41 AM, Yuriy Chernysho wrote:
> Hi!
>
> After adding
> export CYGWIN='winsymlinks:nativestrict'
>
> command to my .zshrc file I'm experiencing the problem with zsh
> HISTFILE. The message says:
> History locking file failed: No such file or directory.
> I don't know how this is related since HISTFILE isn't a link at all.
>
> Yuriy.


The  CYGWIN env variable must be set in the windows environment before
the cygwin dll is loaded by the first cygwin program to execute.
Setting it in the shell is too late, as it is set for shell children,
but not the shell or the dll.

If you installed cygwin to C:\cygwin, there will be a cygwin.bat
script there which starts a bash shell in a command window. You can
put the "set CYGWIN=..." command in that file before it starts the
shell.

If you start a terminal window from a menu item or icon, you must set
this environment variable before the terminal start the bash shell,
which usually means you must set it in the computer properties
(advanced system settngs/advanced/environment variables).

There is much more detailed info on the cygwin site. Usually google
can find it for me.


Doug

-- 
Doug Henderson, Calgary, Alberta, Canada

--
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: tmux failed and got the message: failed to connect to server: No error

2014-06-02 Thread Robert Pendell
On Mon, Jun 2, 2014 at 4:37 AM, Michael Wild <> wrote:
> Hi Guan-Zhong
>
> The problem is known upstream [1, 2] and I'm also trying to figure out
> which change in the cygwin DLL triggered this issue. I'll post here
> again once I know more.
>
> Michael
>
> [1] http://sourceforge.net/p/tmux/mailman/message/32396655/
> [2] http://sourceforge.net/p/tmux/mailman/message/32400834/
>
> On Sat, May 31, 2014 at 5:29 PM, Guan-Zhong Huang wrote:
>> cygwin-1.7.29-2 is ok.
>> After updating to cygwin-1.7.30-1, I can't start tmux.
>>
>> I find it is because when tmux tries to connect to the unix domain
>> socket that tmux server listens and tmux server hasn't started yet,
>> connect() fails but errno is 0, not "Connection Refused (111)". This
>> causes tmux to exit with error.
>>
>> If you want to reproduce this bug.
>> tmux might work at the first time because the unix domain socket is not 
>> created.
>> But after that, tmux will fail due to incorrect errno.
>>
>> Here's the strace I got:
>> cygwin-1.7.30-1:
>>96 1063224 [main] tmux 4072 cygwin_connect: -1 = connect(5,
>> 0x229780, 24), errno 0
>> cygwin-1.7.29-2:
>>92 1054064 [main] tmux 3548 cygwin_connect: -1 = connect(5,
>> 0x229780, 24), errno 111
>>
>>
>> Best regads,
>> Guan-Zhong

I took a look and ran through some snapshots.  I remembered a
discussion last month regarding the propogation of socket errors to
dup'd sockets.  It seems the patch (or something commited at the same
time) broke this as on the 4/18 snapshot all works well and it breaks
on the 4/24 snapshot which is the same one that got that last bit
patched.  I do not know if the patch was ever tested as the OP of that
thread never responded from what I can tell.

I tested on x86 only as my x86_64 install is running May 23rd snapshot
and for some reason trying to go to an older snapshot resulted in an
unusable install so I reinstalled my x86 one in order to test the
older snapshot releases.

Thread: https://cygwin.com/ml/cygwin/2014-04/msg00539.html

Robert Pendell
A perfect world is one of chaos.

--
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: It's back -- "gcc: error: spawn: No such file or directory"

2014-06-02 Thread Larry Hall (Cygwin)

On 06/02/2014 11:23 AM, David Friedman wrote:

Tried that too (set PATH to just /bin) - same result.

Where is spawn normally located? Is it possible that the library file
that  normally contains it is actually missing, mis-located or corrupted, so 
that
spawn can't be found? Is there a workaround, possibly involving fork() and
exec()? I gather that spawn() is not POSIX-compliant (CMIIW - correct me if
I'm wrong).


You're misinterpreting the error message (it's a common problem with the
way the error messages are constructed).  spawn is not missing.  It's the
context.  Whatever 'gcc' is trying to spawn is the thing it cannot find.


--
Larry

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: Problem logging into ssh

2014-06-02 Thread Larry Hall (Cygwin)

On 05/31/2014 02:55 PM, PolarStorm wrote:

Noah White wrote

I’ve installed and configured sshd to run as a service under a particular
account which is an Administrator. I can ssh in fine as that user.
However, if I try to ssh as any other user I get the following error:

Last login: Wed May 21 18:58:35 2014 from foo.home
/bin/bash: Operation not permitted
Connection to tango closed.


The sshd installation scripts creates two users, one which should not be
used for login, so make sure you sue the right one. Some months ago


Actually, neither of the two possible accounts, one for running the service
and one for, optionally, privilege separation, should be used by the user as
a login.  The user should login via ssh using their Windows account login
name, after running 'ssh-user-config' as that user.


I posted details about various other issues with sshd setup on W8
machines. I have no idea if any of these have been fixed and implemented,
but have a close look at the thread:
http://cygwin.1069669.n5.nabble.com/Silently-configure-sshd-fails-via-system-account-td106607.html

Also, one of the accounts are erroneously set to expire in 42 days.


The privilege separation account, sshd, is disabled by design.  This
keeps anyone from using it as a login, since the account is supposed to
be used solely by the service as an added security measure.


--
Larry

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: It's back -- "gcc: error: spawn: No such file or directory"

2014-06-02 Thread David Friedman
OK, that makes sense. So what I should do is run gcc with the -v option to see 
what it's trying to spawn (I recall that in a previous thread for this error, 
it was something called cc1). Here's the last few lines of the result, keeping 
my normal PATH:

GNU C (GCC) version 4.8.3 (i686-pc-cygwin)
compiled by GNU C version 4.8.3, GMP version 6.0.0, MPFR version 3.1.2, 
MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a39cfdacc7868ff2412ca54ce8f22425
COLLECT_GCC_OPTIONS='-v' '-o' 'QC_enc_dec.exe' '-mtune=generic' '-march=i686'
 as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/cc05Tigm.o 
/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccgnoAu9.s
GNU assembler version 2.23.2 (mingw32) using BFD version (GNU Binutils) 2.23.2
Assembler messages:
Fatal error: can't create 
/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/cc05Tigm.o: No such file or 
directory

Interestingly, the error message now is different. But with my PATH set to 
either just /bin or just /usr/bin I get this:

GNU C (GCC) version 4.8.3 (i686-pc-cygwin)
compiled by GNU C version 4.8.3, GMP version 6.0.0, MPFR version 3.1.2, 
MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a39cfdacc7868ff2412ca54ce8f22425
COLLECT_GCC_OPTIONS='-v' '-o' 'QC_enc_dec.exe' '-mtune=generic' '-march=i686'
 as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccASOmoc.o 
/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccGXQsYR.s
gcc: error: spawn: No such file or directory

Does "as" mean the assembler? If it's not in /bin or /usr/bin, where is it?

- dhf

- Original Message -
From: "Larry Hall (Cygwin)"

You're misinterpreting the error message (it's a common problem with the
way the error messages are constructed).  spawn is not missing.  It's the
context.  Whatever 'gcc' is trying to spawn is the thing it cannot find.

-- 
Larry

--
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: It's back -- "gcc: error: spawn: No such file or directory"

2014-06-02 Thread Larry Hall (Cygwin)

On 06/02/2014 12:28 PM, David Friedman wrote:




Interestingly, the error message now is different. But with my PATH set
to  either just /bin or just /usr/bin I get this:

GNU C (GCC) version 4.8.3 (i686-pc-cygwin)
 compiled by GNU C version 4.8.3, GMP version 6.0.0, MPFR version 
3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a39cfdacc7868ff2412ca54ce8f22425
COLLECT_GCC_OPTIONS='-v' '-o' 'QC_enc_dec.exe' '-mtune=generic' '-march=i686'
  as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccASOmoc.o 
/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccGXQsYR.s
gcc: error: spawn: No such file or directory

Does "as" mean the assembler? If it's not in /bin or /usr/bin, where is it?


It is in /usr/bin.



--
Larry

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: Are there any SELinux tools available for Cygwin?

2014-06-02 Thread Warren Young

On 5/31/2014 12:33, PolarStorm wrote:

I'd like to
refrain from having to run long remote sessions on each machine while
experimentally editing all the various policy files. Downloading all files
in
one go and doing analysis and editing locally, is why I wanted to do this
on Cygwin.


How is that easier?  You have to test each experimental edit, and that 
requires a Linux kernel running SELinux.  Cygwin is not a Linux kernel.


Personally, if I were still experimenting, I'd spin up a VM configured 
like the system I intended to modify, do my work on it, then ship a 
completed policy set to the remote system.  Linux VM how-tos are 
off-topic here, though.



Another
point is that there seem to exist ~3 different "flavors" of SELinux
implementations,


What point are you making here, exactly?  Do you want Cygwin to emulate 
one of them, or all of them, or none of them?


I think all three choices are doomed, each for a different reason.


As the next generation (>=KitKat) of Android mobile devices will all be
distributed with SEAndroid in Enforced mode, by default. These tools
will be exponentially of more interest to developers, as local editing
on mobile devices are either crippled, poorly implemented and tested,
or extremely inconvenient.


That's why the Android SDK includes an emulator, which is a VM, just as 
I described above.


Are you aware that some of the text editors ported to Cygwin can edit a 
file over SSH?  For instance, vim:


   vim scp://user@remotehost:password/path/to/file

The edit proceeds at local speeds.  A save takes a remote file upload, 
but you had to do that anyway.



I was hoping someone else would
have been interested enough to have tried to build these.


You aren't going to find SystemTap or iptables tools for Cygwin, either? 
 Why?  Same reason: you need a running Linux kernel to make any use of 
them, and Cygwin is not a Linux kernel.


--
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: Missing strings.exe in binutils

2014-06-02 Thread Warren Young

On 6/1/2014 22:41, Jeff Hubbs wrote:

It turned out that the setup.exe was 64-bit while the rest of the Cygwin
installation was 32-bit.


I'd recommend that you fix your PATH so that only one Cygwin's bin 
directory is in the PATH at a time.  The two Cygwins are compatible only 
in the same way that Cygwin is compatible with a DOS program: 
http://goo.gl/0gfn4K


--
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: It's back -- "gcc: error: spawn: No such file or directory"

2014-06-02 Thread David Friedman
> From: "Larry Hall (Cygwin)"
> Sent: Monday, June 2, 2014 12:33:44 PM
> Subject: Re: It's back -- "gcc: error: spawn: No such file or directory"

> On 06/02/2014 12:28 PM, David Friedman wrote:

> 

>>   as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccASOmoc.o 
>> /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccGXQsYR.s
>> gcc: error: spawn: No such file or directory
>>
>> Does "as" mean the assembler? If it's not in /bin or /usr/bin, where is it?

> It is in /usr/bin.

> 

> -- 
> Larry


I ran find for as.exe, and it turned out to be in /usr/i686-pc-mingw32/bin.

Added that to my PATH, and now gcc goes past that point and fails with:

/usr/i686-pc-mingw32/bin/ld: cannot find -ladvapi32
/usr/i686-pc-mingw32/bin/ld: cannot find -lshell32
/usr/i686-pc-mingw32/bin/ld: cannot find -luser32
/usr/i686-pc-mingw32/bin/ld: cannot find -lkernel32
collect2: error: ld returned 1 exit status

Ran find for *advapi32*, and found libadvapi32.a in /usr/lib/w32api. Added that 
to my PATH, and got the same error again.

At this point I can only conclude that there is something wrong with my Cygwin 
installation, that something failed to complete on the gcc 4.3.4 to 4.8.3 
update; it was working fine before this. All I can think of to do is wipe out 
Cygwin and do a complete up-to-date reinstall. Meanwhile I installed MinGW with 
MSYS and this gives me a gcc 4.8.3 that I can at least finish my current 
project with.

Larry: Thanks for sticking with me so far.

- dhf

--
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: gcc-4.8.3-1 (x86/x86_64)

2014-06-02 Thread Angelo Graziosi

JonY  wrote:

I will upload again as 4.8.3-2 soon.


This evening setup.ini has

4.8.2-3 in current

==> 4.8.3-2 in prev <==


Sure this is what you want?


Ciao,
Angelo.

--
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: It's back -- "gcc: error: spawn: No such file or directory"

2014-06-02 Thread Larry Hall (Cygwin)

On 06/02/2014 03:19 PM, David Friedman wrote:

From: "Larry Hall (Cygwin)"
Sent: Monday, June 2, 2014 12:33:44 PM
Subject: Re: It's back -- "gcc: error: spawn: No such file or directory"



On 06/02/2014 12:28 PM, David Friedman wrote:







   as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccASOmoc.o 
/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccGXQsYR.s
gcc: error: spawn: No such file or directory

Does "as" mean the assembler? If it's not in /bin or /usr/bin, where is it?



It is in /usr/bin.







--
Larry



I ran find for as.exe, and it turned out to be in /usr/i686-pc-mingw32/bin.

Added that to my PATH, and now gcc goes past that point and fails with:

/usr/i686-pc-mingw32/bin/ld: cannot find -ladvapi32
/usr/i686-pc-mingw32/bin/ld: cannot find -lshell32
/usr/i686-pc-mingw32/bin/ld: cannot find -luser32
/usr/i686-pc-mingw32/bin/ld: cannot find -lkernel32
collect2: error: ld returned 1 exit status

Ran find for *advapi32*, and found libadvapi32.a in /usr/lib/w32api.
Added  that to my PATH, and got the same error again.


Right.  This is the wrong 'as' if you want to build Cygwin binaries.
And if this is the only 'as' you found on your system, then your
'binutils' installation is corrupt.  You should see this by running
'cygcheck -c'.


At this point I can only conclude that there is something wrong with my
Cygwin installation, that something failed to complete on the gcc 4.3.4 to
4.8.3 update; it was working fine before this. All I can think of to do is
wipe out Cygwin and do a complete up-to-date reinstall. Meanwhile I
installed MinGW with MSYS and this gives me a gcc 4.8.3 that I can at least
finish my current project with.


It may not require all that but if you do so, then it should resolve the
issue too.  Definitely 'binutils' isn't installed (completely/correctly).
But then again, if all that you want is Windows-native binaries, you're
good with MinGW.

--
Larry

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: gcc-4.8.3-1 (x86/x86_64)

2014-06-02 Thread JonY
On 6/3/2014 03:35, Angelo Graziosi wrote:
> JonY  wrote:
>> I will upload again as 4.8.3-2 soon.
> 
> This evening setup.ini has
> 
> 4.8.2-3 in current
> 
> ==> 4.8.3-2 in prev <==
> 
> 
> Sure this is what you want?
> 

Oh,

Looks like I messed up, I was wondering where it went. I am having
problems connecting to sourceware to check.




signature.asc
Description: OpenPGP digital signature


RemoteServerAdministrationTools problem

2014-06-02 Thread John Bianchi
I have in the past called the dos commands from the Remote Server
Administration Tools (RSAT) feature pack (Win7
http://www.microsoft.com/en-us/download/details.aspx?id=7887) from Cygwin's
shell.  I've spent a fair amount of time cleaning up their cruddy output and
making useful wrappers (although not complete) to these DOS tools for
cygwin/bash.

Now in Cygwin 1.7.29 and 1.7.30 they do not return any information from these
tools.  A call to dsquery.exe without args should show usage, now it returns
nothing.  
Launching "cmd.exe" in a cygwin shell would allow calling those tools
interactively (but not really usable) but return nothing now.

Once installed these tools are available from C:\Windows\System32\ in the
Windows System PATH and available to Cygwin inheriting that path.  I am not
pathing to the tools in these examples but directly calling it using absolute
paths does not solve the problem.

$ dsquery.exe user -name "test user" 
"CN=Test User,OU=Users,OU=Test,DC=domain,DC=com"

which you could pipe to dsget as in:
$ dsquery.exe user -name "test user" | dsget user -email
 email
 test.u...@domain.com
dsget succeeded

None of this works anymore in the latest Cygwins, I am not sure when it broke.
 I wrote some pretty fancy wrappers to cleanup the output and simplify calling
from cygwin which is not getting any output.  

Calling command.com directly in cygwin used to work, now just returns the
command name:
==
$ cmd
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\>dsquery
dsquery

==

older cygwin worked:
==
$ cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\>dsquery /?
dsquery /?
Description: This tool's commands suite allow you to query the directory
according to specified criteria. Each of the following dsquery commands finds
... 
==

older cygwin worked fully:
==
C:\>dsquery user -name "test user" | dsget user -email
dsquery user -name "test user" | dsget user -email
  email
  test.u...@domain.com  
dsget succeeded
==
a plain call w/o args will display a usage which works in older cygwins.  This
was around March/April.  1.7.29 is dated 2014-04-07 but I'm fairly sure it was
working then.  Not sure what environment settings would affect this.

I can get output in cygwin from this call but cannot pass args to this
command:
==
$ dsquery user
"CN="
 
"CN="
==
lists CNs but not all of them in lower OU's, you will need to call dsquery
w/args for that.

I don't think I can get an older cygwin (1.7.28?) installed to see if it was a
change there.  I've tried RXVT and mintty in cygwin with the same behavior. 
Most my tests from old cygwin is an instance older than the 32/64 bit split
but I know I had it working a month or so ago in cygwin 32bit.

Attached cygcheck output



cygcheck.out
Description: Binary data
--
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: RemoteServerAdministrationTools problem

2014-06-02 Thread Larry Hall (Cygwin)

On 06/02/2014 07:09 PM, John Bianchi wrote:




I can get output in cygwin from this call but cannot pass args to this
command:
==
$ dsquery user
"CN="
 
"CN="
==
lists CNs but not all of them in lower OU's, you will need to call dsquery
w/args for that.


Sounds a bit like 
to me.  Take a look at the entire thread and the reference to the original
patch that began this journey.

--
Larry

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: RemoteServerAdministrationTools problem

2014-06-02 Thread John Bianchi
> On 06/02/2014 07:09 PM, John Bianchi wrote:
> 
> 
> 
> > I can get output in cygwin from this call but cannot pass args to this
> > command:
> > ==
> > $ dsquery user
> > "CN="
> >  
> > "CN="
> > ==
> > lists CNs but not all of them in lower OU's, you will need to call
dsquery
> > w/args for that.
> 
> Sounds a bit like 
> to me.  Take a look at the entire thread and the reference to the original
> patch that began this journey.
> 
> -- 
> Larry
> 

I've tried Cygwin 64bit 1.7.30 and the commands work like they used to in 32
bit Cygwin.

Not sure if the thread you provided covers this as there is no "=" passed
here. I also dont call cmd.exe as I call the dsquery.exe directly in a cygwin
bash sehll.  Was there other changes made that affect this?  Reading that
thread seems the changes are made ... no talk of reverting... so is 64 bit
gonna get broken next?  Why isn't 64 bit the same, ie have the same problem?
Shouldn't they be the same? Did that change not get made in the 64 bit version
of cygwin?

John


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



Compiling cygwin1.dll

2014-06-02 Thread Michael Wild
Dear all

In order to pinpoint an error I'm trying to compile cygwin1.dll from
source following the instructions here:
https://cygwin.com/faq.html#faq.programming.building-cygwin. However,
when building binutils, I trip over this error:
https://sourceware.org/ml/binutils/2014-02/msg00064.html. According to
DJ (https://sourceware.org/ml/binutils/2014-02/msg00067.html),
"attempts to build the old binutils/gdb in CVS are going to be
doomed". Apparently the development of these packages is now tracked
in a separate git repo. So, my question is now, how do I get a working
build for the cygwin DLL? Do I have to replace binutils/gdb in the CVS
checkout with the git checkout?

How are the current snapshots built?

Thanks for any pointers in the right direction.

Michael

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