Mirror Problems

2010-06-25 Thread DEWI - N. Zacharias

Hi all,
Setup.exe reports that the mirror

ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/

is no longer on the official Cygwin mirror list.

That seems a bit  strange to me because this was a mirror for years and worked 
exceptional fast and stable.
Also all the other german mirrors disappear from the list.

Ok than I tried the remaining  mirrors
ftp://linux.rz.ruhr-uni-bochum.de
ftp://ftp.inf.tu-dresden.de

they are not working.

Only basemirror.de works.

Why all the working mirrors disappear and why do the most of the remaining not 
work ??
Who made this decision ?

Have fun
Norbert



--
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:+49 4421 4808 843


Email:  n.zachar...@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this 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



AW: [bulk] - Mirror Problems

2010-06-25 Thread DEWI - N. Zacharias


Addendum to my previous mail:

> Von: DEWI - N. Zacharias [mailto:n.zachar...@dewi.de]
> Gesendet: Freitag, 25. Juni 2010 09:51
> An: cygwin@cygwin.com
> Betreff: [bulk] - Mirror Problems
>
>
> Hi all,
> Setup.exe reports that the mirror
>
> ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
>
> is no longer on the official Cygwin mirror list.
>
> That seems a bit  strange to me because this was a mirror for years and
> worked exceptional fast and stable.
> Also all the other german mirrors disappear from the list.
>
> Ok than I tried the remaining  mirrors
> ftp://linux.rz.ruhr-uni-bochum.de
> ftp://ftp.inf.tu-dresden.de
>
> they are not working.
>
> Only basemirror.de works.

But really slow and with a lot of waiting !


> Why all the working mirrors disappear and why do the most of the remaining
> not work ??
> Who made this decision ?
>
> Have fun
> Norbert
>
>
>
> --
> Dipl. Phys.
> Norbert Zacharias
> Wind Measurements & Power Curve Measurements
> DEWI GmbH
> Ebertstrasse 96
> 26382 Wilhelmshaven
> Germany
>
>
> Tel.:   +49 4421 4808 876
>
> Fax:+49 4421 4808 843
>
>
> Email:  n.zachar...@dewi.de
> Home:   http://http://www.dewi.de
>
> DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
> Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
> Managing Director: Jens Peter Molly
> Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny
>
> P Please consider the environment before printing this 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


--
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:+49 4421 4808 843


Email:  n.zachar...@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this 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



[ANNOUNCEMENT] Updated: indent 2.2.11-1 -- C language source code formatting program

2010-06-25 Thread Jari Aalto

PACKAGE DESCRIPTION
===

Homepage: http://www.gnu.org/software/indent
License : GPL

Change layout of a C program by inserting or deleting whitespace.
Program provides options for controlling the alignment of braces and
declarations, program indenting, and other stylistic parameters,
including formatting C comments.

CHANGES SINCE LAST RELEASE
==

See /usr/share/doc/indent-*/ChangeLog
and http://indent.isidore-it.eu/beautify.html for release information.

INSTALL OR UPGRADE NOTES


None

CYGWIN INSTALLATION INFORMATION
===

To install this package, click on the "Install Cygwin now" link on the
 web page. This downloads setup.exe to your
system. Then, run setup and answer all of the questions. You'll find
the package listed in the "All" category. After installation, read the
documentation at directories:

/usr/share/doc//*
/usr/share/doc/Cygwin/.README

If you have questions or comments, please send them to the Cygwin
mailing list at .

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


This message has been sent to cygwin-announce list.

If you want to unsubscribe from the 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

More information on unsubscribing can be found:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at the above 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 RE Mirror Problems

2010-06-25 Thread DEWI - N. Zacharias



Addendum again:

> Von: DEWI - N. Zacharias [mailto:n.zachar...@dewi.de]
> Gesendet: Freitag, 25. Juni 2010 10:13
> An: cygwin@cygwin.com
> Betreff: [bulk] - AW: [bulk] - Mirror Problems
>
>
>
> Addendum to my previous mail:
>
> > Von: DEWI - N. Zacharias [mailto:n.zachar...@dewi.de]
> > Gesendet: Freitag, 25. Juni 2010 09:51
> > An: cygwin@cygwin.com
> > Betreff: [bulk] - Mirror Problems
> >
> >
> > Hi all,
> > Setup.exe reports that the mirror
> >
> > ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
> >
> > is no longer on the official Cygwin mirror list.
> >
> > That seems a bit  strange to me because this was a mirror for years and
> > worked exceptional fast and stable.
> > Also all the other german mirrors disappear from the list.
> >
> > Ok than I tried the remaining  mirrors
> > ftp://linux.rz.ruhr-uni-bochum.de
> > ftp://ftp.inf.tu-dresden.de
> >
> > they are not working.
> >
> > Only basemirror.de works.
>
> But really slow and with a lot of waiting !

Now it dosn't work get download incomplete message!


*grrmbl*
Norbert

>
>
> > Why all the working mirrors disappear and why do the most of the remaining
> > not work ??
> > Who made this decision ?
> >
> > Have fun
> > Norbert
> >
> >
> >
> > --
> > Dipl. Phys.
> > Norbert Zacharias
> > Wind Measurements & Power Curve Measurements
> > DEWI GmbH
> > Ebertstrasse 96
> > 26382 Wilhelmshaven
> > Germany
> >
> >
> > Tel.:   +49 4421 4808 876
> >
> > Fax:+49 4421 4808 843
> >
> >
> > Email:  n.zachar...@dewi.de
> > Home:   http://http://www.dewi.de
> >
> > DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
> > Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
> > Managing Director: Jens Peter Molly
> > Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny
> >
> > P Please consider the environment before printing this 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
>
>
> --
> Dipl. Phys.
> Norbert Zacharias
> Wind Measurements & Power Curve Measurements
> DEWI GmbH
> Ebertstrasse 96
> 26382 Wilhelmshaven
> Germany
>
>
> Tel.:   +49 4421 4808 876
>
> Fax:+49 4421 4808 843
>
>
> Email:  n.zachar...@dewi.de
> Home:   http://http://www.dewi.de
>
> DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
> Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
> Managing Director: Jens Peter Molly
> Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny
>
> P Please consider the environment before printing this 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


--
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:+49 4421 4808 843


Email:  n.zachar...@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this 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: Mirror Problems

2010-06-25 Thread Andy Koppe
On 25 June 2010 08:50, DEWI wrote:
>
> Hi all,
> Setup.exe reports that the mirror
>
> ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
>
> is no longer on the official Cygwin mirror list.
>
> That seems a bit  strange to me because this was a mirror for years and 
> worked exceptional fast and stable.
> Also all the other german mirrors disappear from the list.
>
> Ok than I tried the remaining  mirrors
> ftp://linux.rz.ruhr-uni-bochum.de
> ftp://ftp.inf.tu-dresden.de
>
> they are not working.
>
> Only basemirror.de works.
>
> Why all the working mirrors disappear and why do the most of the remaining 
> not work ??
> Who made this decision ?

I think they automatically (and temporarily) fall off the list if
they're not sufficiently up-to-date, which I'd guess is something to
do with the large numbers of updates recently. Dresden and Bochum are
still working fine for me.

Andy


ps: Btw, your habit of starting a new thread for every reply is rather
annoying. Please consider changing your subscription from digest to
message-by-message and use your mailer to dump Cygwin mail into a
separate folder.

pps: Mailing list admins, is there really any need for the digest option?

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



AW: [bulk] - Re: Mirror Problems

2010-06-25 Thread DEWI - N. Zacharias

Hi Andy,
> Von: Andy Koppe []
> Gesendet: Freitag, 25. Juni 2010 13:38
> An: cygwin@cygwin.com
> Betreff: [bulk] - Re: Mirror Problems
>
> On 25 June 2010 08:50, DEWI wrote:
> >
> > Hi all,
> > Setup.exe reports that the mirror
> >
> > ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
> >
> > is no longer on the official Cygwin mirror list.
> >
> > That seems a bit  strange to me because this was a mirror for years and
> worked exceptional fast and stable.
> > Also all the other german mirrors disappear from the list.
> >
> > Ok than I tried the remaining  mirrors
> > ftp://linux.rz.ruhr-uni-bochum.de
> > ftp://ftp.inf.tu-dresden.de
> >
> > they are not working.
> >
> > Only basemirror.de works.
> >
> > Why all the working mirrors disappear and why do the most of the remaining
> not work ??
> > Who made this decision ?
>
> I think they automatically (and temporarily) fall off the list if
> they're not sufficiently up-to-date, which I'd guess is something to
> do with the large numbers of updates recently. Dresden and Bochum are
> still working fine for me.

Strange ! How long does it take to get the package list from them ??
I give up after 2 min where nothing happened

>
> Andy
>
>
> ps: Btw, your habit of starting a new thread for every reply is rather
> annoying.

Sorry don't know what your want .

> Please consider changing your subscription from digest to
> message-by-message and use your mailer to dump Cygwin mail into a
> separate folder.

Don't get the point why this setup of my mailer should have an influence on the 
 mail it self. Btw it is still as you suggest.

Have fun
Norbert

--
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:+49 4421 4808 843


Email:  n.zachar...@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this 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



[ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.6 due soon

2010-06-25 Thread Corinna Vinschen
A lot of changes and fixes have been made in Cygwin since 1.7.5 has
been released, so we're looking forward to release Cygwin 1.7.6 soon.

Please test the latest developer snapshots at http://cygwin.com/snapshots/
which should have "Release Candidate" quality.

Please report bugs to the cygwin at cygwin dot com mailing list.
Please follow the guidelines at http://cygwin.com/problems.html
Be aware that we're mainly focusing on regressions from 1.7.5.

What's new:

- Add new mount options "dos" and "ihash" to allow overriding Cygwin
  default behaviour on broken filesystems not recognized by Cygwin.

- A new mechanism is used to propagate pty handles safely to other
  processes, which does not require to use Cygserver.

- Pass on coresize settings made with setrlimit(2).  This allows
  shells to disable creating stackdump files in child processes via
  `ulimit -c 0' in bash or `limit coredumpsize 0' in tcsh.

- Locale categories contain all localization strings additionally as
  wide-char strings.  locale(1) prints these values just as on Linux.
  nl_langinfo(3) allows to fetch them.

Fixes:

- Fix problem where pseudo-relocs were getting applied twice, resulting
  in a crash.

- Fix a crash when accessing /proc/registry*

- Avoid that connect on a not yet established AF_LOCAL/AF_UNIX
  socket misinterprets the socket file as non-socket.

- Fix stdin/out/err handle permissions when called from a non-Cygwin
  process.

- Fix codeset problem in internal handling of process name.

- Fix abbreviated month names for japanese and korean locale.

- Fix calls to gettimeofday after call to settimeofday.

- Fix REG_MULTI_SZ handling in /proc/registry*

- Honor cygwin username even if it only differs by case from Windows
  username.

- Fix potential memory leak when accessing // or //server directories.

- Fix using a wrong handle when cehcking for files inaccessible to
  current user.

- Fix erroneous handling of devices in path checking.

- Fix potential crash in exec(2) if parent uses file locking.

Other changes:

- Change the way a process is made process group leader in case
  we're started from a non-Cygwin process.  This isn't foolproof
  and may need more work.

- Workaround BLODA problem in rename(2) which otherwise results
  in annoying errors.

- Improve error output in strace.

- Add more workarounds for broken filesystems which either don't grok
  reopening a file by handle (NWFS) or which are not capable of
  handling filenames with leading spaces or trailing dots or spaces
  (NWFS, Netapp).

- Don't try to evaluate reparse points (junctions) on remote
  filesystems as symlinks.

- Improve performance of stat and a few other functions.  ls(1) should
  be up to 30% faster on some drives.


Corinna


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

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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] CALL FOR TESTING: Cygwin 1.7.6 due soon

2010-06-25 Thread Vasya Pupkin
I'm just wondering, will setup.exe honor new mount options, or it will
still mess up NTFS permissions?

On Fri, Jun 25, 2010 at 4:45 PM, Corinna Vinschen
 wrote:
> A lot of changes and fixes have been made in Cygwin since 1.7.5 has
> been released, so we're looking forward to release Cygwin 1.7.6 soon.
>
> Please test the latest developer snapshots at http://cygwin.com/snapshots/
> which should have "Release Candidate" quality.
>
> Please report bugs to the cygwin at cygwin dot com mailing list.
> Please follow the guidelines at http://cygwin.com/problems.html
> Be aware that we're mainly focusing on regressions from 1.7.5.
>
> What's new:
>
> - Add new mount options "dos" and "ihash" to allow overriding Cygwin
>  default behaviour on broken filesystems not recognized by Cygwin.
>
> - A new mechanism is used to propagate pty handles safely to other
>  processes, which does not require to use Cygserver.
>
> - Pass on coresize settings made with setrlimit(2).  This allows
>  shells to disable creating stackdump files in child processes via
>  `ulimit -c 0' in bash or `limit coredumpsize 0' in tcsh.
>
> - Locale categories contain all localization strings additionally as
>  wide-char strings.  locale(1) prints these values just as on Linux.
>  nl_langinfo(3) allows to fetch them.
>
> Fixes:
>
> - Fix problem where pseudo-relocs were getting applied twice, resulting
>  in a crash.
>
> - Fix a crash when accessing /proc/registry*
>
> - Avoid that connect on a not yet established AF_LOCAL/AF_UNIX
>  socket misinterprets the socket file as non-socket.
>
> - Fix stdin/out/err handle permissions when called from a non-Cygwin
>  process.
>
> - Fix codeset problem in internal handling of process name.
>
> - Fix abbreviated month names for japanese and korean locale.
>
> - Fix calls to gettimeofday after call to settimeofday.
>
> - Fix REG_MULTI_SZ handling in /proc/registry*
>
> - Honor cygwin username even if it only differs by case from Windows
>  username.
>
> - Fix potential memory leak when accessing // or //server directories.
>
> - Fix using a wrong handle when cehcking for files inaccessible to
>  current user.
>
> - Fix erroneous handling of devices in path checking.
>
> - Fix potential crash in exec(2) if parent uses file locking.
>
> Other changes:
>
> - Change the way a process is made process group leader in case
>  we're started from a non-Cygwin process.  This isn't foolproof
>  and may need more work.
>
> - Workaround BLODA problem in rename(2) which otherwise results
>  in annoying errors.
>
> - Improve error output in strace.
>
> - Add more workarounds for broken filesystems which either don't grok
>  reopening a file by handle (NWFS) or which are not capable of
>  handling filenames with leading spaces or trailing dots or spaces
>  (NWFS, Netapp).
>
> - Don't try to evaluate reparse points (junctions) on remote
>  filesystems as symlinks.
>
> - Improve performance of stat and a few other functions.  ls(1) should
>  be up to 30% faster on some drives.
>
>
> Corinna
>
>
> 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@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.
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat
>
> --
> 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



Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.6 due soon

2010-06-25 Thread Corinna Vinschen
On Jun 25 17:06, Vasya Pupkin wrote:
> I'm just wondering, will setup.exe honor new mount options, or it will
> still mess up NTFS permissions?

This is a call for testing of the Cygwin DLL, not for a new version
of setup.exe.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: ping "Operation not permitted" on Windows 7

2010-06-25 Thread Stephen Morton
> From: David Arnstein 
> To: cygwin@cygwin.com
> Date: Fri, 25 Jun 2010 03:07:54 -0400
> Subject: ping "Operation not permitted" on Windows 7
> Using Windows 7 Professional, cygwin, mintty,and bash. All are up to date.
> I am getting this:
>$ type ping
>ping is hashed (/usr/bin/ping)
>$ ping www.microsoft.com
>ping: socket: Operation not permitted
>
> If I launch mintty "Run as administrator" from Windows, then no such
> problem occurs.
>
> I have tried re-installing the "ping" package via cygwin setup.exe. No
> improvement.
>
> Output from "cygcheck -s -v -r" attached. Any suggestions?

What we did was to simply delete the cygwin ping and fall back to the
windows ping. Works fine.

Ping uses raw sockets which is something that is probably
understandable that Windows 7 blocks.

Stephen

--
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: coreutils-8.5-2

2010-06-25 Thread Eric Blake
An updated package, coreutils-8.5-2 release has been uploaded and will
soon reach a mirror near you, replacing 8.5-1 and leaving coreutils
8.4-2 as previous.

NEWS:
=
This is a minor patch release, which optimizes a code path in ls(1) to
take less time determining if a file has ACLs.

If you encounter a regression, please report it here rather than
upstream.  See also the upstream documentation in /usr/share/doc/coreutils/.

Help in porting the stdbuf utility to cygwin would be appreciated.

DESCRIPTION:

GNU coreutils provides a collection of commonly used utilities essential
to a standard POSIX environment.  It comprises the former textutils,
sh-utils, and fileutils packages.  The following executables are included:

[ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
csplit cut date dd df dir dircolors dirname du echo env expand expr
factor false fmt fold gkill groups head hostid hostname id install join
link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
nproc od paste pathchk pinky pr printenv printf ptx pwd readlink rm
rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred
shuf sleep sort split stat stty su sum sync tac tail tee test timeout
touch tr true truncate tsort tty uname unexpand uniq unlink users vdir
wc who whoami yes

UPDATE:
===
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.  Save it and run setup, answer the questions, and look for
'coreutils' in the 'Base' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sourceware.org (aka cygwin.com) aren't allowed
due to bandwidth limitations.  This means that you will need to find a
mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

-- 
Eric Blake
volunteer cygwin coreutils maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to 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.




signature.asc
Description: OpenPGP digital signature


1.7.5: cygwin blocks UAC dialog

2010-06-25 Thread Shailo Sanyal

Hi,

I am running Cygwin 1.7.5 on Windows 7 (64-bit):

I4846-vm:intgpune [2] uname -a
CYGWIN_NT-6.1-WOW64 I4846-vm 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin


If I run an exe from a cygwin tcsh shell the UAC dialog is being 
blocked. I get a "Permission denied." error.


Here is the manifest file for the exe:




 
  
   
  
 




This is breaking some of my scripts which call an executable and need 
the UAC dialog to be popped up.


In a related issue - I also find that Cygwin simply blocks all error 
message popups e.g. for missing DLLs from executables. This makes it 
hard to debug runtime issues.


Is this a bug with Cygwin? Can it be fixed?

Thanks in advance for your help.

Regards,

Shailo Sanyal

Cygwin Configuration Diagnostics
Current System Time: Fri Jun 25 19:24:54 2010

Windows 7 Enterprise Ver 6.1 Build 7600 

Running under WOW64 on AMD64

Running in Terminal Service session

Path:   O:\devsrc1\spg\system_1\x86e_win64\illib
O:\devsrc1\spg\system_1\x86e_win64\lib
Z:\compilers\i486_nt\fortran\9.0\EM64T\Bin
Z:\compilers\i486_nt\vs9\VB\bin
Z:\compilers\i486_nt\vs9\VC\BIN\x86_amd64
Z:\compilers\i486_nt\vs9\VC\VCPackages
Z:\compilers\i486_nt\vs9\VC\redist\x86\Microsoft.VC90.CRT
Z:\compilers\i486_nt\vs9\SDK\v3.5\bin
Z:\compilers\i486_nt\vs9\SDK\v6.0A\bin
Z:\compilers\i486_nt\vs9\Common7\Tools\bin
Z:\compilers\i486_nt\vs9\Common7\Tools
Z:\compilers\i486_nt\vs9\VC\BIN
Z:\compilers\i486_nt\vs9\Common7\IDE
C:\Windows\Microsoft.NET\Framework\v3.5\
.
O:\devsrc1\spg\system_1\tools\integ_tools
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\users\intgpune
Z:\tools\integ
Z:\tools\bin
Z:\tools\bin\x86e_win64
Z:\tools\regtool\bin
U:\common\intg_retr\bin
Z:\tools\psoft
Z:\tools\windows_nt\bin
Z:\tools\advapps\cshtop
Z:\tools\advapps\cshaux
Z:\tools\advapps\x86e_win64
Z:\tools\perl510\x86e_win64\bin
Z:\tools\advapps\dcad
Z:\tools\mkgen

Output from C:\cygwin\bin\id.exe
UID: 164545(intgpune) GID: 11539(PTC)
11539(PTC)545(Users)

SysDir: C:\Windows\system32
WinDir: C:\Windows

CYGWIN = 'nodosfilewarning'
HOME = '/cygdrive/c/users/intgpune'
PWD = '/cygdrive/c/users/intgpune'
USER = 'intgpune'
MAKE_MODE = 'unix'

!:: = '::\'
!C: = 'C:\cygwin\bin'
ALLUSERSPROFILE = 'C:\ProgramData'
APPDATA = 'C:\Users\intgpune\AppData\Roaming'
CLIENTNAME = 'I2771'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
CommonProgramW6432 = 'C:\Program Files\Common Files'
COMPUTERNAME = 'I4846-VM'
COMSPEC = 'C:\Windows\system32\cmd.exe'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Users\intgpune'
LOCALAPPDATA = 'C:\Users\intgpune\AppData\Local'
LOGONSERVER = '\\AIX-DC1'
NUMBER_OF_PROCESSORS = '1'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_ARCHITEW6432 = 'AMD64'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 26 Stepping 5, GenuineIntel'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '1a05'
PROE_DENY_REMAP_DRIVE = 'true'
ProgramData = 'C:\ProgramData'
PROGRAMFILES = 'C:\Program Files (x86)'
ProgramFiles(x86) = 'C:\Program Files (x86)'
ProgramW6432 = 'C:\Program Files'
PROMPT = '$P$G'
PRO_MACHINE_TYPE = 'x86e_win64'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
PUBLIC = 'C:\Users\Public'
SESSIONNAME = 'RDP-Tcp#0'
SYSTEMDRIVE = 'C:'
SYSTEMROOT = 'C:\Windows'
USERDNSDOMAIN = 'PTCNET.PTC.COM'
USERDOMAIN = 'PTCNET'
USERNAME = 'intgpune'
USERPROFILE = 'C:\Users\intgpune'
WINDIR = 'C:\Windows'
TERM = 'cygwin'
HOSTTYPE = 'i386-cygwin'
VENDOR = 'intel'
OSTYPE = 'cygwin'
MACHTYPE = 'i386'
SHLVL = '1'
LOGNAME = 'intgpune'
GROUP = 'PTC'
HOST = 'I4846-vm'
LANG = 'C'
MANPATH = ':/usr/ssl/man'
SHELL = 'C:/cygwin/bin/tcsh'
PTC_CYGWIN = 'true'
OPER_SYS = 'WINDOWS_32'
OS_TYPE = 'NT'
PTC_TOOLS = 'z:/tools'
CYG_PTC_TOOLS = '/cygdrive/z/tools'
PTC_APPS = 'z:\apps'
PTC_COMMON = 'u:/common'
CYG_PTC_COMMON = '/cygdrive/u/common'
PTC_REGTOOL = 'z:/tools/regtool/bin'
CYG_PTC_REGTOOL = '/cygdrive/z/tools/regtool/bin'
PTC_PDMTOOL = 'u:/common/pdmtool/bin'
PTC_REGOBJS = 'x:/reg'
PTC_PARTLIB = 'z:/partlib z:/partlib2'
PTC_PROLIBS = 'z:/ptcmisc/prolibs'
PTC_PARTLIBROOT = 'z:/'
PTC_DOCAREA = 'v:/'
TOOLDIR = 'z:/tools/bin/'
PERLBIN = 'z:/tools/perl5/bin/x86e_win64/perl'
ptc_dquote = '"'
lib_ext = '.lib'
OBJ_EXT = '.obj'
EXE_EXT = '.exe'
slib_ext = '.dll'
csh_ext = '.csh'
dollar = '$'
PTC_CSH = 'csh -c'
SUBMISSION_DIR = 'u:/common/submission'
PSUB_DIR

Re: recovery for cygrunsrv service

2010-06-25 Thread Terry
On Fri, Jun 25, 2010 at 12:30 AM, Terry  wrote:
> Hello,
>
> I have a windows service that execs the ssh command to build a reverse
> SSH tunnel.  It works great.  However, I want to build logic in that
> if, for any reason, the service fails, it recovers.  For example, I
> killed the ssh process on the remote side and I get an event in the
> local app log that says:
>
> Event Type:    Information
> Event Source:    sshservice
> Event Category:    None
> Event ID:    0
> Date:        6/25/2010
> Time:        12:11:16 AM
> User:        foo
> Computer:    server
> Description:
> The description for Event ID ( 0 ) in Source ( sshservice ) cannot be
> found. The local computer may not have the necessary registry
> information or message DLL files to display messages from a remote
> computer. You may be able to use the /AUXSOURCE= flag to retrieve this
> description; see Help and Support for details. The following
> information is part of the event: sshservice: PID 976: `sshservice'
> service stopped, exit status: 255.
>
> I configured the basic recovery options in the service tab but they
> aren't working in this case.  The service stays stopped.  What do I
> have to do?
>
> Thanks!
>

Sorry for wasting bits.  I guess this is the whole point of autossh.
:)I'm new to the ssh port forwarding world.

--
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: Mirror Problems

2010-06-25 Thread Christopher Faylor
On Fri, Jun 25, 2010 at 09:50:48AM +0200, DEWI - N. Zacharias wrote:
>Setup.exe reports that the mirror
>
>ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
>
>is no longer on the official Cygwin mirror list.
>
>That seems a bit strange to me because this was a mirror for years and
>worked exceptional fast and stable.  Also all the other german mirrors
>disappear from the list.
>
>Ok than I tried the remaining  mirrors
>ftp://linux.rz.ruhr-uni-bochum.de
>ftp://ftp.inf.tu-dresden.de
>
>they are not working.

Actually they are both working.  The fact that you can't see them does not mean 
that
sourceware.org can't see them.  sourceware.org maintains the list.

>Only basemirror.de works.
>
>Why all the working mirrors disappear and why do the most of the remaining not 
>work ??
>Who made this decision ?

Perhaps reading http://cygwin.com/mirrors.html might help you
understand.  The short answer is that the mirror does not have a current
set of packages.  If it does get up to date soon it will automatically
go back on the list.

Btw, exaggerate much?

cgf

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



Wish for new setup

2010-06-25 Thread DEWI - N. Zacharias

Hi all,
It would be nice if a new version of setup.exe  will have a additional  flag  
which accept a file with a package list instead a list like -P .
With this it would be easy to clone installations with the help of cygcheck.

Kindly regards
Norbert

--
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:+49 4421 4808 843


Email:  n.zachar...@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this 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] CALL FOR TESTING: Cygwin 1.7.6 due soon

2010-06-25 Thread Christopher Faylor
On Fri, Jun 25, 2010 at 05:06:25PM +0400, Vasya Pupkin wrote:
>I'm just wondering, will setup.exe honor new mount options, or it will
>still mess up NTFS permissions?

There are no changes to setup.exe planned for the 1.7.6 release.

cgf

--
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: Wish for new setup

2010-06-25 Thread Christopher Faylor
On Fri, Jun 25, 2010 at 04:34:25PM +0200, DEWI - N. Zacharias wrote:
>It would be nice if a new version of setup.exe will have a additional
>flag which accept a file with a package list instead a list like -P .
>With this it would be easy to clone installations with the help of
>cygcheck.

http://cygwin.com/acronyms/#PTC

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



AW: [bulk] - Re: Mirror Problems

2010-06-25 Thread DEWI - N. Zacharias




> Von: Christopher Faylor []
> Gesendet: Freitag, 25. Juni 2010 16:32
> An: cygwin@cygwin.com
> Betreff: [bulk] - Re: Mirror Problems
>
> On Fri, Jun 25, 2010 at 09:50:48AM +0200, DEWI - N. Zacharias wrote:
> >Setup.exe reports that the mirror
> >
> >ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
> >
> >is no longer on the official Cygwin mirror list.
> >
> >That seems a bit strange to me because this was a mirror for years and
> >worked exceptional fast and stable.  Also all the other german mirrors
> >disappear from the list.
> >
> >Ok than I tried the remaining  mirrors
> >ftp://linux.rz.ruhr-uni-bochum.de
> >ftp://ftp.inf.tu-dresden.de
> >
> >they are not working.
>
> Actually they are both working.  The fact that you can't see them does not
> mean that
> sourceware.org can't see them.  sourceware.org maintains the list.

I see them on the list, but after selecting them from the list setup try to 
download the package list but nothings happenes.

> Btw, exaggerate much?

Having the problem to deal with two mirrors to setup a clone installation for a 
laptop. (using the local package dir) But with more than one it is quite tricky 
and takes a lot of time.

Have a nice day
Norbert


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


--
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:+49 4421 4808 843


Email:  n.zachar...@dewi.de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this 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: [bulk] - Re: Mirror Problems

2010-06-25 Thread Christopher Faylor
On Fri, Jun 25, 2010 at 04:40:05PM +0200, DEWI - N. Zacharias wrote:
>
>
>
>
>> Von: Christopher Faylor []
>> Gesendet: Freitag, 25. Juni 2010 16:32
>> An: cygwin@cygwin.com
>> Betreff: [bulk] - Re: Mirror Problems
>>
>> On Fri, Jun 25, 2010 at 09:50:48AM +0200, DEWI - N. Zacharias wrote:
>> >Setup.exe reports that the mirror
>> >
>> >ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/
>> >
>> >is no longer on the official Cygwin mirror list.
>> >
>> >That seems a bit strange to me because this was a mirror for years and
>> >worked exceptional fast and stable.  Also all the other german mirrors
>> >disappear from the list.
>> >
>> >Ok than I tried the remaining  mirrors
>> >ftp://linux.rz.ruhr-uni-bochum.de
>> >ftp://ftp.inf.tu-dresden.de
>> >
>> >they are not working.
>>
>>Actually they are both working.  The fact that you can't see them does
>>not mean that sourceware.org can't see them.  sourceware.org maintains
>>the list.
>
>I see them on the list, but after selecting them from the list setup
>try to download the package list but nothings happenes.

Yes, it's understood that you have a problem with those two mirrors.
sourceware.org sees them just fine and has verified that they are
up-to-date.  They will stay on the list as long as that is the case.
Conversely, ftp.gwdg.de will not be on the list as long as it does not
have up-to-date context.

And, I can see both mirrors fine from Massachusetts, USA too, FWIW.

cgf

--
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: 1.7.5: cygwin blocks UAC dialog

2010-06-25 Thread Corinna Vinschen
On Jun 25 19:29, Shailo Sanyal wrote:
> Hi,
> 
> I am running Cygwin 1.7.5 on Windows 7 (64-bit):
> 
> I4846-vm:intgpune [2] uname -a
> CYGWIN_NT-6.1-WOW64 I4846-vm 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin
> 
> 
> If I run an exe from a cygwin tcsh shell the UAC dialog is being
> blocked. I get a "Permission denied." error.
> 
> Here is the manifest file for the exe:
> 
> 
> 
> 
>  
>   
>
>   
>  
> 
> 
> 
> 
> This is breaking some of my scripts which call an executable and
> need the UAC dialog to be popped up.
> 
> In a related issue - I also find that Cygwin simply blocks all error
> message popups e.g. for missing DLLs from executables. This makes it
> hard to debug runtime issues.
> 
> Is this a bug with Cygwin? Can it be fixed?

It's not a bug and it can't be fixed.  You can't do this from the
command line.  Child processes are forked and exec'd using the Win32
CreateProcess or CreateProcessAsUser calls.  None of the CreateProcess*
calls has any provisions to interact with UAC.

For the same reason you have to start the entire console session
elevated to run the shell and subsequent applications elevated.

What you could try to do is to start the application via a shim which
calls ShellExecuteEx with the "runas" verb as described here:
http://msdn2.microsoft.com/en-us/library/bb756922.aspx


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: findutils-4.5.9-1

2010-06-25 Thread Eric Blake
A new release of findutils, 4.5.8-1, is available, leaving 4.5.5-1 as
previous.

NEWS:
=
This is a new upstream release.  Upstream news is attached.  See also
/usr/share/doc/findutils/.

DESCRIPTION:

The findutils package contains programs which will help you locate files
on your system.  The find utility searches through a hierarchy of
directories looking for files which match a certain set of criteria
(such as a filename pattern).  The xargs utility builds and executes
command lines from standard input arguments (usually lists of file names
generated by the find command).  The locate utility scans a database of
filenames and displays matches.  The updatedb utility builds the
database for locate.

UPDATE:
===
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. Save it and run setup, answer the questions and pick up
'findutils' from the 'Base' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sourceware.org (aka cygwin.com) aren't allowed
due to bandwidth limitations.  This means that you will need to find a
mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

-- 
Eric Blake
volunteer cygwin findutils maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to 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.

* Major changes in release 4.5.9, 2010-04-29

** Bug Fixes

#29593: Make import-gnulib.sh work under a POSIX shell.

#29511: fails to build on kfreebsd-*

#27563: -L breaks -execdir

#19593: -execdir  {} + has suboptimal performance (see below)

** Translations

Updated translations: Chinese (simplified).

** Performance changes

The find program will once again build argument lists longer than 1
with "-execdir ...+".  The upper limit of 1 argument for execdir was
introduced as a workaround in findutils-4.3.4.   The limit is now
removed, but find still does not issue the maximum possible number of
arguments, since an exec will occur each time find encounters a
subdirectory (if at least one argument is pending).

** Functional enhancements to xargs

You can now increase the parallelism of xargs in mid-run by sending
it SIGUSR1, and decrease the parallelism with SIGUSR2.



signature.asc
Description: OpenPGP digital signature


Re: ping "Operation not permitted" on Windows 7

2010-06-25 Thread Larry Hall (Cygwin)

On 6/25/2010 3:07 AM, David Arnstein wrote:

Using Windows 7 Professional, cygwin, mintty,and bash. All are up to date.
I am getting this:
 $ type ping
 ping is hashed (/usr/bin/ping)
 $ ping www.microsoft.com
 ping: socket: Operation not permitted

If I launch mintty "Run as administrator" from Windows, then no such
problem occurs.

I have tried re-installing the "ping" package via cygwin setup.exe. No
improvement.

Output from "cygcheck -s -v -r" attached. Any suggestions?


Cygwin's ping has always required administrative privileges to work.  If
this is not acceptable, the current work-around is to use the Windows
version of ping.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

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: Mirror Problems.

2010-06-25 Thread G.W. Haywood
Hi there,

On Fri, 25 Jun 2010 Andy Koppe wrote:

> pps: Mailing list admins, is there really any need for the digest option?

I know you didn't ask me, but _I_ think there is.

--

73,
Ged.

--
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: dblatex, xmlto

2010-06-25 Thread Yaakov (Cygwin/X)
The following packages have been updated for the Cygwin distribution:

*** dblatex-0.3-1
*** xmlto-0.0.23-1

These are the latest upstream versions of these packages.

dblatex is now built for Python 2.6.

xmlto now supports dvi/pdf/ps output using dblatex as a backend.  


Yaakov

--

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: swig-1.3.40-1, 2.0.0-1 (test)

2010-06-25 Thread Yaakov (Cygwin/X)
The swig package has been updated to version 1.3.40-1, with 2.0.0-1
available as a test release.  Note that SWIG's internals often change
from one release to the next, so if you encounter errors building with
one version of swig, please try to figure out which versions do and
don't work before reporting issues to the list.


Yaakov

-- 


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: several Python packages

2010-06-25 Thread Yaakov (Cygwin/X)
The following packages have been updated for the Cygwin distribution:

*** python-cairo-1.8.10-1
*** python-gamin-0.1.10-11
*** python-libxml2-2.7.7-1
*** python-libxslt-1.1.26-2
*** python-numpy-1.4.1-1
*** python-xdg-0.19-1

These packages were all (re)built for Python 2.6.


Yaakov

-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: dbus-1.2.24-1

2010-06-25 Thread Yaakov (Cygwin/X)
The following packages have been updated for the Cygwin distribution:

*** dbus-1.2.24-1
*** libdbus1_3-1.2.24-1
*** libdbus1-devel-1.2.24-1

I added a patch to this release to allow the system bus to start when a
stale pidfile is left from a previous invocation.


Yaakov

-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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



Re: Mirror Problems.

2010-06-25 Thread Christopher Faylor
On Fri, Jun 25, 2010 at 05:30:29PM +0100, G.W. Haywood wrote:
>Hi there,
>
>On Fri, 25 Jun 2010 Andy Koppe wrote:
>
>> pps: Mailing list admins, is there really any need for the digest option?
>
>I know you didn't ask me, but _I_ think there is.

I actually would have to research how to turn it off so this wouldn't happen
anytime soon anyway.

FWIW, people who subscribe to cygwin-digest seem to have an inordinately
hard time when they decide to unsubscribe.  It apparently always takes them
several tries.

cgf

--
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: e2fsprogs, e2fsimage, util-linux

2010-06-25 Thread Yaakov (Cygwin/X)
The following packages have been updated for the Cygwin distribution:

*** e2fsimage-0.2.2-1
*** e2fsprogs-1.41.12-1
*** libblkid1/libblkid-devel-2.17.2-1
*** libcom_err2/libcom_err-devel-1.41.12-1
*** libe2p2/libe2p-devel-1.41.12-1
*** libext2fs2/libext2fs-devel-1.41.12-1
*** libss2/libss-devel-1.41.12-1
*** libuuid1/libuuid-devel-2.17.2-1
*** util-linux-2.17.2-1

util-linux provides an assortment of utilities for *NIX systems.

e2fsprogs and e2fsimage provide utilities for working with ext2/3/4
filesystems.

The libraries provided by e2fsprogs, which were previously only static,
are now also available as shared libraries.  libblkid and libuuid are
now provided by the util-linux sources but are compatible with those
previously shipped by e2fsprogs.

Note that installing libuuid-devel will make it a little more difficult
to link against w32api's UUID.DLL import lib.  Please note that these
are completely unrelated libraries, and any open-source *NIX software
looking for -luuid is looking for this libuuid-devel.


Yaakov

-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: pcre-8.02-1

2010-06-25 Thread Yaakov (Cygwin/X)
The following packages have been updated for the Cygwin distribution:

*** pcre-8.02-1
*** libpcre0-8.02-1
*** libpcre-devel-8.02-1
*** libpcrecpp0-8.02-1
*** libpcrecpp-devel-8.02-1

This is an update to the latest upstream version.


Yaakov

-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: libproxy-0.4.0-1

2010-06-25 Thread Yaakov (Cygwin/X)
The following packages have been updated for the Cygwin distribution:

*** libproxy-0.4.0-1
*** libproxy1-0.4.0-1
*** libproxy-devel-0.4.0-1
*** python-libproxy-0.4.0-1

This version adds ctypes-based Python (2.6) bindings.  It also provides
a new ABI; libproxy0 will remain in the distribution until other
dependent packages are rebuilt.


Yaakov
-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: cppunit-1.12.1-1

2010-06-25 Thread Yaakov (Cygwin/X)
The following package has been updated for the Cygwin distribution:

*** cppunit-1.12.1-1

cppunit is a C++ unit testing framework, along the lines of JUnit.

This represents the latest upstream release and has been built with
gcc4.  If you need compatibility with gcc3, you must use the previous
1.12.0-1 release.


Yaakov
-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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: perl-Tk-804.029-1

2010-06-25 Thread Yaakov (Cygwin/X)
The following package has been updated for the Cygwin distribution:

*** perl-Tk-804.029-1

perl-Tk provides an X11 GUI toolkit for Perl programs.

This is an update to the latest upstream version.


Yaakov
-- 

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

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

If this does not work, then 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



Re: Incomplete downloads reported across several mirrors

2010-06-25 Thread Dan Platt
  xoxy.net> writes:

> 
> I might suggest someone checking if their hard drive happens to be
> full or nearly so.
> 
> 

I'm having the same problem since Tuesday - plenty of disk space for it.


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



gcc-4 -static cannot find -lgcc_s

2010-06-25 Thread Uwe F. Mayer
It seems that gcc-4 has problems finding libgcc_s when compiling with -static. 
This works fine with gcc-3. Example:

$ cat pointer.c
#include 
int main(){
 printf("%d",(int)sizeof(long));
 return(0);
}

$ gcc-3 -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure 
--verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr 
--sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib 
--mandir=/usr/share/man --infodir=/usr/share/info 
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls 
--without-included-gettext --enable-version-specific-runtime-libs --without-x 
--enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter 
--disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm 
--disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization 
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

$ gcc-3 -static pointer.c

$ ./a.exe
4

$ gcc-4 -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: 
/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure 
--srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4 
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var 
--sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man 
--datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v 
--with-gmp=/usr --with-mpfr=/usr --enable-bootstrap 
--enable-version-specific-runtime-libs --with-slibdir=/usr/bin 
--libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc 
--disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 
--disable-sjlj-exceptions 
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers 
--enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp 
--enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic 
--enable-libgcj-sublibs
 CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 
GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind 
AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe 
LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe 
--with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC) 

$ gcc-4 -static pointer.c
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot 
find -lgcc_s
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot 
find -lgcc_s
collect2: ld returned 1 exit status


  

--
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] CALL FOR TESTING: Cygwin 1.7.6 due soon

2010-06-25 Thread Andrey Repin
Greetings, Vasya Pupkin!

> I'm just wondering, will setup.exe honor new mount options, or it will
> still mess up NTFS permissions?

It wasn't causing issues since last update. Redownload it, may be?


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 26.06.2010, <0:57>

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: CTRL-Space issue in Emacs under X on Windows XP machine.

2010-06-25 Thread Andrey Repin
Greetings, Steven Collins!

> I'm a long time user of Emacs and expect the CTRL-Space key
> combination to run the set-mark-command. On most machines I use this
> is the case, but on one Windows XP machine running Emacs under X that
> I use at work the key combination doesn't work. On this machine Emacs
> behaves as is I've not pressed any keys at all. I've checked the key
> bindings for the set-mark-command and CTRL-Space is listed (see
> attachments). The CTRL-@ combination does work on this machine, but it
> is not the one I'm used to using for this purpose. Does anyone have
> any ideas what else to check?

System hooks for the same shortcut.
Easiest is to create a new user, login under it and try there.
If nothing changed, look through launched applications and investigate their
purpose and behavior.


--
WBR,
 Andrey Repin (anrdae...@freemail.ru) 26.06.2010, <1:01>

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



[ANNOUNCEMENT] Updated: aria2-1.9.4-1

2010-06-25 Thread Kostya Altukhov
Version 1.9.4-1 of aria2 has been uploaded.

aria2 is a lightweight  multi-protocol & multi-source, cross platform
download utility operated in command-line. It supports HTTP/HTTPS,
FTP, BitTorrent and Metalink.

This is the latest upstream version.

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, please
use the automated form at:

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

If this does not work, then 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



history (was Re: base-files: LOGNAME)

2010-06-25 Thread Cyrille Lefevre


Le 31/05/2010 13:22, Andy Koppe a écrit :


Posix defines LOGNAME, but regarding USER it only says that it is
"unwise to conflict with certain variables that are frequently
exported by widely used command interpreters and applications".
(http://opengroup.org/onlinepubs/007908799/xbd/envvar.html)


FYI only, in short :

historically, USER is the bsd variant of the sysv LOGNAME.

long...

sunos, login(1) both set USER and LOGNAME using pwd->pw_name
also, logname(1) uses cuserid(3) instead of getlogin(3)
cuserid(3) does getpwuid(geteuid()) || getlogin() || NULL
funny, logname(3) does getenv("LOGNAME") in libxpg !

solaris, login(1) only set LOGNAME
logname(1) does getlogin(3)

in both case, getlogin(3) does an utmp lookup using
a kind of ttyslot() * sizeof(struct utmp) || NULL

sys5r4, same as solaris, but
getlogin(3) does an utmp lookup using a kind
of a while getsid(0) != utmp.ut_pid loop
cuserid(3) does a getlogin(3) || getpwuid(getuid()) || NULL

irix, login(1) and logname(1) does as sunos
getlogin(2) does an utmp lookup using a kind
of a while ttyname(0||1||2) == utmp.ut_line
cuserid(3) does as sys5r4

osf1, login(1) does as sunos, logname(1) as solaris
getlogin(1) does a syscall _getlogin(2)
cuserid(3) does as getpwuid(getuid()) || NULL

Regards,

Cyrille Lefevre
--
mailto:cyrille.lefevre-li...@laposte.net



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



Cygport improvements

2010-06-25 Thread JonY

Hello,

I am planning to bring mingw-w64 to cygwin. Here are some nits I found 
when working with it.


* It sets CC=gcc
While not a major issue, it does present some issues when cross 
compiling the mingw-w64 CRT.


* Implicitly setting --prefix=/usr
While I understand this is suitable for native builds, perhaps adding 
some cross compile logic to disable this?


* Libtool logic too smart
This is partly a GCC issue too, since it insists installing dlls to 
PREFIX/bin. However, manually moving around the dlls and fixing up the 
.la paths after install causes cygport to fail with "[ ../../..: Unary 
operator expected.", "../../.. not installed" of sorts error around 
src_postinst.cygpart:590.


Packaging GCC presents some challenge, there is a packaging hack in the 
src_install part. I will try to fix that in GCC.
DESCRIPTION="Bintils for Win64 target"
HOMEPAGE="mingw-w64.sourceforge.net"
SRC_URI="http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/binutils-${PV}.tar.bz2";
PKG_NAMES="${PN}"
PKG_HINTS="setup"
SRC_DIR="binutils-${PV}"
PKG_CONTENTS[0]='--exclude=usr/lib/* usr/'
# MAKEOPTS+=" -j4"
CYGCONF_ARGS="--with-sysroot=/usr/x86_64-w64-mingw32 --build=i686-pc-cygwin 
--host=i686-pc-cygwin --target=x86_64-w64-mingw32 --disable-multilib"

src_compile() {
cd ${B}
cygconf
cygmake
}
DESCRIPTION="mingw-w64 crt for Win64 target"
HOMEPAGE="mingw-w64.sourceforge.net"
SRC_URI="http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/mingw-w64-crt-${PV}.tar.xz";
PKG_NAMES="${PN}"
PKG_HINTS="setup"
SRC_DIR="mingw-w64-crt"
PKG_CONTENTS[0]='--exclude=usr/lib/* usr/'
#MAKEOPTS+=" -j4"

#Overide default prefix to correct sysroot
#Assuming USE_DESTDIR=1 is in effect
USE_DESTDIR=1
CYGCONF_ARGS="--build=i686-pc-cygwin --host=x86_64-w64-mingw32 
--prefix=/usr/x86_64-w64-mingw32 --enable-lib64 --disable-lib32 
CC=x86_64-w64-mingw32-gcc"

src_install() {
cd ${B}
cyginstall
ln -sv ${D}/usr/x86_64-w64-mingw32/x86_64-w64-mingw32/lib 
${D}/usr/x86_64-w64-mingw32/x86_64-w64-mingw32/lib64
}
DESCRIPTION="mingw-w64 headers for Win64 target"
HOMEPAGE="mingw-w64.sourceforge.net"
SRC_URI="http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/gcc-4.6-20100619.tar.bz2";
PKG_NAMES="${PN} ${PN}-rt ${PN}-g++"
PKG_HINTS="setup runtime g++"
SRC_DIR="gcc-4.6-20100619"
PKG_CONTENTS[0]='--exclude=usr/lib/libiberty.a 
--exclude=usr/lib/gcc/x86_64-w64-mingw32/4.6.0/*.dll 
--exclude=usr/bin/x86_64-w64-mingw32-?++.exe 
--exclude=usr/lib/gcc/x86_64-w64-mingw32/4.6.0/cc1plus.exe 
--exclude=usr/lib/gcc/x86_64-w64-mingw32/4.6.0/include/c++/* 
--exclude=usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++.* 
--exclude=usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libsupc++.* 
--exclude=usr/share/man/man1/x86_64-w64-mingw32-g++.1.gz 
--exclude=usr/share/gcc-4.6.0/python/libstdcxx/* usr/'
PKG_CONTENTS[1]='usr/lib/gcc/x86_64-w64-mingw32/4.6.0/*.dll'
PKG_CONTENTS[2]='usr/bin/x86_64-w64-mingw32-c++.exe 
usr/bin/x86_64-w64-mingw32-g++.exe 
usr/lib/gcc/x86_64-w64-mingw32/4.6.0/include/c++ 
usr/lib/gcc/x86_64-w64-mingw32/4.6.0/cc1plus.exe 
usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++.* 
usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libsupc++.* 
usr/share/gcc-4.6.0/python/libstdcxx/ 
usr/share/man/man1/x86_64-w64-mingw32-g++.1.gz'
MAKEOPTS+=" -j4"

#libgomp not working because pthreads-win32 still in the works.
#multilib disabled because dlls clash on install
#libelf not needed for lto-coff
CYGCONF_ARGS="--build=i686-pc-cygwin --host=i686-pc-cygwin 
--target=x86_64-w64-mingw32 --with-build-sysroot=/usr/x86_64-w64-mingw32 
--with-sysroot=/usr/x86_64-w64-mingw32 --disable-libgomp --disable-multilib 
--enable-version-specific-runtime-libs --enable-lto --with-dwarf2 
--enable-languages=c,c++ --enable-fully-dynamic-strings 
--enable-sjlj-exceptions"

src_compile() {
cd ${B}
cygconf
cygmake
}

src_install() {
cd ${B}
cyginstall
# Workaround GCC install bug
cp -pf ${D}/usr/lib/gcc/x86_64-w64-mingw32/lib/libgcc_s.a 
${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/

# Workaround problematic DLL clashes
mv -f ${D}/usr/bin/libgcc_s_sjlj-1.dll ${D}/usr/bin/libssp-0.dll 
${D}/usr/bin/libstdc++-6.dll ${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/
sed 
s...@dlname.*@dllname=\'/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libssp-0.dll\'@ < 
${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libssp.la > 
${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libssp.la.tmp
sed 
s...@dlname.*@dllname=\'/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++-6.dll\'@
 < ${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++.la > 
${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++.la.tmp
mv ${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libssp.la.tmp 
${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libssp.la
mv ${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++.la.tmp 
${D}/usr/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++.la
}
DESCRIPTION="mingw-w64 headers for Win64 target"
HOMEPAGE="mingw-w64.sourceforge.net"
SRC_URI="http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/mingw-w64-headers-${PV}.tar.xz";
PKG_NAMES="

Followup re: ssh error

2010-06-25 Thread Saxon, Will
Hello,

I just joined the list because I am having the same or similar problems that 
Andrew DeFaria reported on 6/2:

http://www.mail-archive.com/cygwin@cygwin.com/msg109042.html

I've read some other posts in the archive that suggest this might be a 1.7.x 
specific issue, but I also found the following post from 2008, with cygwin 
1.5.25:

http://www.mail-archive.com/cygwin@cygwin.com/msg89149.html

In my case, I've been able to work around this issue by running sshd as 
LocalSystem and storing the user password in the LSA private registry area 
('option 3' from 
http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview). I was never 
able to get PKI working for all use cases using an nt service running as a 
privileged user (local or domain). See below. 

Some background of what I've tried:

After running ssh-host-config (letting it create a privileged user to run 
sshd), making a /etc/passwd entry for a domain user and copying public keys 
into its authorized_keys file, I was able to log in using public key auth, but 
ONLY if I used ssh for an interactive login. If I tried to ssh  or scp 
instead, I always got some form of the following error:

   4 [main] sshd 4404 C:\cygwin\usr\sbin\sshd.exe: *** fatal error - could not 
load user32, Win32 error 1114

This happened with any non-interactive login from Linux -> 2003, Linux -> 
2003R2, Linux -> 2000, 2003 -> 2003R2 and 2000 -> 2003R2. All the windows hosts 
are 32bit and are joined to a single domain. I believe this is the same problem 
Andrew reported with his 'seacase' machine in his post on 6/2.

I tried making my user an administrator on the machine, using a local user to 
log in instead of a domain user, using a domain cyg_server privilege account 
instead of a local one, etc. based on what I've seen suggested in the archives. 
In all cases, I get the above error when using pki for ssh  or scp. 

HOWEVER, when I started a cygwin shell as the cyg_server user and ran sshd in 
the foreground from the shell, I was able to ssh, ssh  and scp using 
pki without error, using both the domain and the local cyg_server accounts. So 
at least in my case with my testing I was only seeing the above error when 
running sshd as a service using these accounts. 

As mentioned at the top of my mail, at this point I think I am going to run 
sshd as LocalSystem and use cygserver/stored passwords for this project. 

Questions:

1. Is there any reason why sshd run as a service via cygrunsrv as a privileged 
user would behave any differently than sshd run in a shell as that same user?

2. Based on the setuid overview it looks like running sshd as LocalSystem with 
cygserver and stored passwords should be identical to running sshd as a 
privileged domain account for the purposes of both PKI and privilege 
separation. Is this correct?

3. In my case, the ssh users are all being used for automated processes and do 
not have high privileges on the domain. Are there any big problems with using 
cygserver and stored passwords vs. using a privileged domain account in this 
situation? Stored passwords seem like a much safer option. Am I being naive 
here? 

Thanks,

-Will

--
Will Saxon
Sage Software Healthcare
william.sa...@sage.com
www.sagehealth.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



Re: Cygport improvements

2010-06-25 Thread Christopher Faylor
On Sat, Jun 26, 2010 at 10:14:42AM +0800, JonY wrote:
>Hello,
>
>I am planning to bring mingw-w64 to cygwin. Here are some nits I found 
>when working with it.
>
>* It sets CC=gcc
>While not a major issue, it does present some issues when cross 
>compiling the mingw-w64 CRT.

Why would a Cygwin tool worry about mingw?  We've already removed mingw
support from gcc.  Why add it to something called "cygport"?

>* Implicitly setting --prefix=/usr
>While I understand this is suitable for native builds, perhaps adding 
>some cross compile logic to disable this?

Ditto.  It's intended to make cygwin packages.

I really don't see how making something mingw aware is a topic for
the cygwin mailing list.

cgf

--
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: Cygport improvements

2010-06-25 Thread NightStrike
On Sat, Jun 26, 2010 at 12:05 AM, Christopher Faylor
 wrote:
> On Sat, Jun 26, 2010 at 10:14:42AM +0800, JonY wrote:
>>Hello,
>>
>>I am planning to bring mingw-w64 to cygwin. Here are some nits I found
>>when working with it.
>>
>>* It sets CC=gcc
>>While not a major issue, it does present some issues when cross
>>compiling the mingw-w64 CRT.
>
> Why would a Cygwin tool worry about mingw?  We've already removed mingw
> support from gcc.  Why add it to something called "cygport"?
>
>>* Implicitly setting --prefix=/usr
>>While I understand this is suitable for native builds, perhaps adding
>>some cross compile logic to disable this?
>
> Ditto.  It's intended to make cygwin packages.
>
> I really don't see how making something mingw aware is a topic for
> the cygwin mailing list.
>
> cgf

He's trying to make a cygwin package that consists of a cross compiler
toolchain for targetting 64-bit windows from a cygwin host.  Cygport
puts some obstacles in the way for doing that.  Maybe you could
suggest how to get around his issues?  That'd be a big help if you
could shed some light on the things he mentioned.

--
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: Cygport improvements

2010-06-25 Thread Christopher Faylor
On Sat, Jun 26, 2010 at 12:15:10AM -0400, NightStrike wrote:
>On Sat, Jun 26, 2010 at 12:05 AM, Christopher Faylor
> wrote:
>> On Sat, Jun 26, 2010 at 10:14:42AM +0800, JonY wrote:
>>>Hello,
>>>
>>>I am planning to bring mingw-w64 to cygwin. Here are some nits I found
>>>when working with it.
>>>
>>>* It sets CC=gcc
>>>While not a major issue, it does present some issues when cross
>>>compiling the mingw-w64 CRT.
>>
>> Why would a Cygwin tool worry about mingw? ?We've already removed mingw
>> support from gcc. ?Why add it to something called "cygport"?
>>
>>>* Implicitly setting --prefix=/usr
>>>While I understand this is suitable for native builds, perhaps adding
>>>some cross compile logic to disable this?
>>
>> Ditto. ?It's intended to make cygwin packages.
>>
>> I really don't see how making something mingw aware is a topic for
>> the cygwin mailing list.
>
>He's trying to make a cygwin package that consists of a cross compiler
>toolchain for targetting 64-bit windows from a cygwin host.  Cygport
>puts some obstacles in the way for doing that.  Maybe you could
>suggest how to get around his issues?  That'd be a big help if you
>could shed some light on the things he mentioned.

If it's a cross-compiler then it should be installed in /usr.

It sure sounds like you're trying to use cygport for something that
it was not intended for.

But I don't support cygport so I am not going to shed any light on
anything.

cgf

--
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: Cygport improvements

2010-06-25 Thread JonY

On 6/26/2010 12:24, Christopher Faylor wrote:

On Sat, Jun 26, 2010 at 12:15:10AM -0400, NightStrike wrote:

On Sat, Jun 26, 2010 at 12:05 AM, Christopher Faylor
  wrote:

On Sat, Jun 26, 2010 at 10:14:42AM +0800, JonY wrote:

Hello,

I am planning to bring mingw-w64 to cygwin. Here are some nits I found
when working with it.

* It sets CC=gcc
While not a major issue, it does present some issues when cross
compiling the mingw-w64 CRT.


Why would a Cygwin tool worry about mingw? ?We've already removed mingw
support from gcc. ?Why add it to something called "cygport"?


* Implicitly setting --prefix=/usr
While I understand this is suitable for native builds, perhaps adding
some cross compile logic to disable this?


Ditto. ?It's intended to make cygwin packages.

I really don't see how making something mingw aware is a topic for
the cygwin mailing list.


He's trying to make a cygwin package that consists of a cross compiler
toolchain for targetting 64-bit windows from a cygwin host.  Cygport
puts some obstacles in the way for doing that.  Maybe you could
suggest how to get around his issues?  That'd be a big help if you
could shed some light on the things he mentioned.


If it's a cross-compiler then it should be installed in /usr.



Yes, its a cross compiler, compiler frontend binaries go in /usr/bin, 
but headers and libraries for target do not belong in cygwin 
/usr/include and /usr/lib.



--
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: False alarm about exception C0000005

2010-06-25 Thread mredekopp

Hi all

I saw this thread when searching for a similar error I'm getting.  Mine is
not with large binaries, but with lots of memory allocations (I'm doing some
processing on a large IC netlist).  When my program reaches around 800 MB of
memory or so it will crash.  I tried to use GDB but it just gave me code
C005 and nothing to locate the problem.  I tried to catch a failed
memory allocation using a std::bad_alloc exception but it doesn't seem to
get thrown.

I'm using cygwin 1007.5.0 on Vista 32-bit Enterprise...

Any ideas about this?

Thanks
M


Magnus Reftel wrote:
> 
> On 26 May 2010 05:17, Dave Korn  wrote:
>> On 25/05/2010 12:47, Magnus Reftel wrote:
>>> Hi all,
>>>
>>> I discovered that the problem does not only affect Cygwin. It was just
>>> that I did not have any large binaries outside cygwin. Large
>>> executables built using VS Express also crash with the same exception.
>>> I guess the  IT department installed some broken crap on our machines
>>> again. Sorry for the confusion!
>>
>>  I had just about reached the same conclusion.  The limit to an
>> executable
>> size on my machine was somewhere between 542048077 and 542048589 bytes,
>> and
>> the only failure mode I observed was a proper error message from bash:
>>
>>> $ ./big.exe
>>> bash: ./big.exe: Cannot allocate memory
>>
>>  So, I reckon you probably have some interfering BLODA, maybe a DLL that
>> is
>> injected into all processes and tries to allocate some memory at startup
>> or
>> something like that and doesn't handle a failure well.
> 
> That seems to be correct. In the failing case (when compiled with VS),
> the VS debugger lists ntdll.dll and kernel32.dll being loaded before
> the crash, and when the executable does not crash, sysfer.dll and
> msvcr100d.dll are also loaded. sysfer is a Symantec DLL. Should have
> guessed it...
> 
> Anyway, thanks for looking at this and sorry to have wasted your time!
> 
> Best Regards
> Magnus Reftel
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/False-alarm-about-exception-C005-tp28667376p28998473.html
Sent from the Cygwin list mailing list archive at Nabble.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