[ANNOUNCEMENT] [1.7] Updated: monotone-0.45-1

2009-09-13 Thread Lapo Luchini
Version 0.45-1 of monotone has been uploaded for Cygwin 1.7;
please notice that due to missing dependencies monotone will remain at
release 0.42-1 for Cygwin 1.5; you have to upgrade if you want to use
the new versions. Please read carefully: http://cygwin.com/#beta-test

monotone is a free distributed version control system. it provides a
simple, single-file transactional version store, with fully disconnected
operation and an efficient peer-to-peer synchronization protocol. it
understands history-sensitive merging, lightweight branches, integrated
code review and 3rd party testing. it uses cryptographic version naming
and client-side RSA certificates. it has good internationalization
support, has no external dependencies, runs on linux, solaris, OSX,
windows, and other unixes, and is licensed under the GNU GPL.

You can find information about new features here:
http://monotone.ca/NEWS

You can find information about upgrading from previous releases here:
http://monotone.ca/UPGRADE


If you're not sure what version do you have you can
use the following command to both check version number
and integrity of the install:
% cygcheck -c monotone


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

  *** 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://sources.redhat.com/lists.html#unsubscribe-simple

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

-- 
Lapo Luchini


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



Reading what should not!

2009-09-13 Thread Angelo Graziosi
Just a curiosity... (I have seen th following on Cygwin-1.7, but perhaps 
it happens also on 1.5)


Suppose that there are two users: the administrator (root) and a simple 
user (pippo). Suppose that 'pippo' has a file 'foo.txt' with permissions:


rw---

Why 'root' can read 'foo.txt'? For example with

r...@pc~
$ less /home/pippo/foo.txt

On GNU/Linux, the same command (or with 'sudo') asks for pippo's 
password! (Which looks right to me)


Trying to read the same file as 'root', but with Windows applications 
(Notepad, for example), fails: one gets 'Access denied' (also if foo.txt 
is copied in the 'root' HOME or /tmp, as pippo's file rw---). Even 
this looks right to me...



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



Cygwin 1.7 message queues - permission denied error still exists

2009-09-13 Thread Philip Semanchuk

Hi all,
I'm fooling around with POSIX IPC under Cygwin 1.7 beta and message  
queues still seem to be broken per the description in this thread:

http://www.cygwin.com/ml/cygwin/2008-08/msg00539.html

That thread says that a fix is in "-29" [1]. I'm not sure what version  
I have, but I downloaded my Cygwin 1.7 in August and I see that cygwin- 
dev is discussing 1.7.0-60, so I assume that my Cygwin is sufficiently  
up to date.


Should this bug be fixed, or...? Is there anything I can do to help?

Thanks
Philip

[1] - As a Cygwin n00b, I don't know how to get the cygwin release  
number. I checked the FAQ, but it says, "If you are looking for the  
version number for the whole Cygwin release, there is none." I'd be  
happy to report my release number if someone can clue me in.



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygwin 1.7 message queues - permission denied error still exists

2009-09-13 Thread Christopher Faylor
On Sun, Sep 13, 2009 at 12:13:42PM -0400, Philip Semanchuk wrote:
>Hi all,
>I'm fooling around with POSIX IPC under Cygwin 1.7 beta and message  
>queues still seem to be broken per the description in this thread:
>http://www.cygwin.com/ml/cygwin/2008-08/msg00539.html
>
>That thread says that a fix is in "-29" [1]. I'm not sure what version  
>I have, but I downloaded my Cygwin 1.7 in August and I see that cygwin- 
>dev is discussing 1.7.0-60, so I assume that my Cygwin is sufficiently  
>up to date.
>
>Should this bug be fixed, or...? Is there anything I can do to help?

You need to read the rest of the thread:
http://www.cygwin.com/ml/cygwin/2008-08/msg00617.html

>[1] - As a Cygwin n00b, I don't know how to get the cygwin release  
>number. I checked the FAQ, but it says, "If you are looking for the  
>version number for the whole Cygwin release, there is none." I'd be  
>happy to report my release number if someone can clue me in.

Being a "n00b" doesn't grant you a "Get Out of Jail Free" card from
paying attention.

Every message to this list ends with this:

>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:   http://cygwin.com/problems.html
 ^^
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/

I cut and paste the above from the message that you referenced.  If you
had followed the link for problem reports you would know how to find the
version number.

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: Cygwin 1.7 message queues - permission denied error still exists

2009-09-13 Thread Philip Semanchuk


On Sep 13, 2009, at 12:22 PM, Christopher Faylor wrote:


On Sun, Sep 13, 2009 at 12:13:42PM -0400, Philip Semanchuk wrote:

Hi all,
I'm fooling around with POSIX IPC under Cygwin 1.7 beta and message
queues still seem to be broken per the description in this thread:
http://www.cygwin.com/ml/cygwin/2008-08/msg00539.html

That thread says that a fix is in "-29" [1]. I'm not sure what  
version
I have, but I downloaded my Cygwin 1.7 in August and I see that  
cygwin-
dev is discussing 1.7.0-60, so I assume that my Cygwin is  
sufficiently

up to date.

Should this bug be fixed, or...? Is there anything I can do to help?


You need to read the rest of the thread:
http://www.cygwin.com/ml/cygwin/2008-08/msg00617.html


I *did* read the entire thread before I sent my mail. I see one person  
reporting success, but I have twice as many reporting failure. I'm  
wondering if the bug in question didn't get completely fixed.




[1] - As a Cygwin n00b, I don't know how to get the cygwin release
number. I checked the FAQ, but it says, "If you are looking for the
version number for the whole Cygwin release, there is none." I'd be
happy to report my release number if someone can clue me in.


Being a "n00b" doesn't grant you a "Get Out of Jail Free" card from
paying attention. Every message to this list ends with this:


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html

^^

Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


I cut and paste the above from the message that you referenced.  If  
you
had followed the link for problem reports you would know how to find  
the

version number.


Well, the first link on that page is to the Cygwin FAQ which tells me  
that what I'm looking for doesn't exist. Ignoring that and reading  
problems.html I'm still at a loss as to how to get the exact cygwin  
version number.


Before I sent my first mail I tried to parse the output from cygcheck  
but it's pretty overwhelming. I also ran 'uname -srv' didn't contain  
anything that looked like a relevant version number. I also scanned  
Cygwin-dev to see approximately what version number was current. I  
would have been happy to follow a more efficient (and informative) path.


bye
Philip



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygwin 1.7 message queues - permission denied error still exists

2009-09-13 Thread Andy Koppe
2009/9/13 Philip Semanchuk:
> I also ran 'uname -srv' didn't contain anything
> that looked like a relevant version number.

uname -r normally does the job:

$ uname -r
1.7.0(0.212/5/3)

Unfortunately that doesn't contain the package release number used to
differentiate the beta releases, which is why each beta release
announcement contains this little tidbit:

> FAQ:
> 
>
> - Q: How do I know that I'm running Cygwin 1.7.0-61?
>
>   A: The `uname -v' command prints "2009-09-11 01:25"

Andy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygwin 1.7 message queues - permission denied error still exists

2009-09-13 Thread Philip Semanchuk


On Sep 13, 2009, at 1:15 PM, Andy Koppe wrote:


2009/9/13 Philip Semanchuk:

I also ran 'uname -srv' didn't contain anything
that looked like a relevant version number.


uname -r normally does the job:

$ uname -r
1.7.0(0.212/5/3)

Unfortunately that doesn't contain the package release number used to
differentiate the beta releases, which is why each beta release
announcement contains this little tidbit:


FAQ:


- Q: How do I know that I'm running Cygwin 1.7.0-61?

 A: The `uname -v' command prints "2009-09-11 01:25"


Thanks Andy. Mine is dated 2009-08-20 10:56; I'm sure that's well past  
the 1.7.0-29 release which is the one I'm concerned with.


Cheers
Philip


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygwin 1.7 message queues - permission denied error still exists

2009-09-13 Thread Christopher Faylor
On Sun, Sep 13, 2009 at 01:25:01PM -0400, Philip Semanchuk wrote:
>On Sep 13, 2009, at 1:15 PM, Andy Koppe wrote:
>>> FAQ:
>>> 
>>>
>>> - Q: How do I know that I'm running Cygwin 1.7.0-61?
>>>
>>>  A: The `uname -v' command prints "2009-09-11 01:25"
>
>Thanks Andy. Mine is dated 2009-08-20 10:56; I'm sure that's well past  
>the 1.7.0-29 release which is the one I'm concerned with.

It is, but there is no reason to be running an earlier version.

I just modified the test case from the original report:

>>>cut here<<<
#include 
#include 
#include 
#include 

main()
{
 int flags = O_RDWR | O_NONBLOCK | O_CREAT | O_EXCL;
 struct mq_attr attr;
 char queue[80];
 char *e;
 mode_t mode = strtoul("644", &e, 8);
 mqd_t mqd;


 memset((void *) &attr, 0, sizeof(struct mq_attr));
 attr.mq_maxmsg = (long) 10;
 attr.mq_msgsize = (long) 24;
 strcpy(queue, "/queue0");
 mq_unlink(queue);
 mqd = mq_open(queue, flags, mode, &attr);
 if (mqd < 0)
   perror("mq_open 1");
 strcpy(queue, "/queue1");
 mq_unlink(queue);
 mqd = mq_open(queue, flags, mode, &attr); // ALWAYS FAIL HERE WITH "Permission 
denied"
 if (mqd < 0)
   perror("mq_open 2");
}
>>>cut here<<<

It behaves the same on both linux and cygwin.

Make sure that you've read:

http://cygwin.com/faq/faq-nochunks.html#faq.programming.ipc

And have cygserver running properly.

The cygcheck output mentioned on the problems page is not optional.  If
you had provided that in your first message we'd know what version of
cygwin you had installed and if you had cygserver running.

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



subversion hangs on svn up using 1.6.4 & 1.6.5

2009-09-13 Thread John Bito
I'm not sure how to diagnose this problem, as svn up produces no
output and svn admin recover says:

svnadmin: Expected repository format '3' or '5'; found format '10'

I imagine that the format 10 indicates that the repository is corrupt.
 Do you have any suggestions for repairing it?

There's some possibility that subclipse was what created this working
copy, though I was pretty sure I used Cygwin SVN to update it most
recently.  I tried svn up with Cygwin SVN 1.6.4 and then upgraded to
Cygwin SVN 1.6.5, both hang with no output.  Then I tried svnadmin
recover .svn which gives the message above.

If there's not a clear path to repairing my working copy, do you know
of any guidance for moving work from a broken working copy to a new
checkout so that svn up will merge changes/flag conflicts?

Thanks!

--
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: Reading what should not!

2009-09-13 Thread Larry Hall (Cygwin)

On 09/13/2009 10:04 AM, Angelo Graziosi wrote:

Just a curiosity... (I have seen th following on Cygwin-1.7, but perhaps
it happens also on 1.5)

Suppose that there are two users: the administrator (root) and a simple
user (pippo). Suppose that 'pippo' has a file 'foo.txt' with permissions:

rw---

Why 'root' can read 'foo.txt'? For example with

r...@pc~
$ less /home/pippo/foo.txt

On GNU/Linux, the same command (or with 'sudo') asks for pippo's
password! (Which looks right to me)

Trying to read the same file as 'root', but with Windows applications
(Notepad, for example), fails: one gets 'Access denied' (also if foo.txt
is copied in the 'root' HOME or /tmp, as pippo's file rw---). Even
this looks right to me...


We've been through this before as recently as the last couple of weeks.
This is new behavior with 1.7 and it's there to mimic what one sees in
Linux.  I can't reproduce your reported results in Fedora 8.  For me, if I
am 'root', I can see the contents of 'foo.txt' just fine with the permissions
you have set on it.

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



Core dump on hello world.

2009-09-13 Thread Jerry DeLisle
I first noticed this when trying to build and run gfortran 4.5 for my 
development work on cygwin 1.7.  This is on WinNT running in VirtualBox.


With 4.5, I get no output at all.  With gfortran distributed with Cygwin 
I get the following.  Am I configured wrong?


Regards,

Jerry

$ cat hello.f90
program hello
  print *, "Hello World!"
end program hello

$ gfortran-4.exe hello.f90

$ ./a.exe
Illegal instruction (core dumped)

gdb says:
(gdb) r
Starting program: /home/jerry/prs/test/a.exe
[New thread 162.0xa9]
[New thread 162.0x8e]

Program received signal SIGILL, Illegal instruction.
set_fpu () at ./fpu-target.h:80
80  ./fpu-target.h: No such file or directory.
in ./fpu-target.h
(gdb) bt
#0  set_fpu () at ./fpu-target.h:80
#1  0x004057ff in init ()
at 
/gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.2/libgfortran/runtime/main.c:15

5
#2  0x61004eb9 in __main () from /usr/bin/cygwin1.dll
#3  0x004011a3 in main (argc=Cannot access memory at address 0x9
)
at /gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.2/libgfortran/fmain.c:11
(gdb)

and cygcheck -c :

Cygwin Package Information
Package  Version Status
_update-info-dir 00829-1 OK
alternatives 1.3.30c-10  OK
autoconf 7-10OK
autoconf2.1  2.13-10 OK
autoconf2.5  2.64-10 OK
automake 4-10OK
automake1.10 1.10.2-10   OK
automake1.11 1.11-10 OK
automake1.4  1.4p6-10OK
automake1.5  1.5-10  OK
automake1.6  1.6.3-11OK
automake1.7  1.7.9-10OK
automake1.8  1.8.5-10OK
automake1.9  1.9.6-10OK
base-cygwin  2.0-1   OK
base-files   3.8-4   OK
base-passwd  3.1-1   OK
bash 3.2.49-23   OK
binutils 2.19.51-1   OK
bison2.3-1   OK
bzip21.0.5-10OK
coreutils7.0-2   OK
crypt1.1-1   OK
csih 0.9.1-1 OK
cygrunsrv1.34-1  OK
cygutils 1.4.0-1 OK
cygwin   1.7.0-61OK
cygwin-doc   1.5-1   Incomplete
dash 0.5.5.1-2   OK
dejagnu  20021217-2  OK
diffutils2.8.7-1 OK
editrights   1.01-2  OK
expat2.0.1-1 OK
expect   20030128-1  OK
findutils4.5.4-1 OK
flex 2.5.35-1OK
gawk 3.1.7-1 OK
gcc-core 3.4.4-999   OK
gcc-g++  3.4.4-999   OK
gcc-g77  3.4.4-999   OK
gcc-mingw-core   20050522-1  OK
gcc-mingw-g++20050522-1  OK
gcc-mingw-g7720050522-1  OK
gcc-tools-autoconf   2.59-10 OK
gcc-tools-automake   1.9.6-10OK
gcc4 4.3.2-2 OK
gcc4-core4.3.2-2 OK
gcc4-fortran 4.3.2-2 OK
gcc4-g++ 4.3.2-2 OK
gdb  6.8-2   OK
gettext  0.17-11 OK
gettext-devel0.17-11 OK
gmp  4.3.1-3 OK
grep 2.5.3-1 OK
groff1.19.2-2OK
gzip 1.3.12-2OK
ipc-utils1.0-1   OK
less 429-1   OK
libapr1  1.3.8-2 OK
libaprutil1  1.3.9-2 OK
libbz2_1 1.0.5-10OK
libdb4.2 4.2.52.5-2  OK
libdb4.5 4.5.20.2-2  OK
libexpat12.0.1-1 OK
libexpat1-devel  2.0.1-1 OK
libffi4  4.3.2-2 OK
libgcc1  4.3.2-2 OK
libgdbm4 1.8.3-20OK
libgettextpo00.17-11 OK
libgfortran3 4.3.2-2 OK
libgmp-devel 4.3.1-3 OK
libgmp3  4.3.1-3 OK
libgmpxx44.3.1-3 OK
libgomp1 4.3.2-2 OK
libiconv21.13-10 OK
libintl2 0.12.1-3OK
libintl3 0.14.5-1OK
libintl8 0.17-11 OK
liblzma1 4.999.9beta-10  OK
libmpc-devel 0.6-1   OK
libmpc1  0.6-1   OK
libmpfr-devel2.4.1-4 OK
libmpfr1 2.4.1-4 OK
libncurses8  5.5-10  OK
libncurses9  5.7-14  OK
libneon270.28.3-1OK
libopenldap2_3_0 2.3.43-1OK
libpcre0 

R: Core dump on hello world.

2009-09-13 Thread Marco Atzeri
--- Lun 14/9/09, Jerry DeLisle  ha scritto:

> Da: Jerry DeLisle 
> Oggetto: Core dump on hello world.
> A: cygwin@cygwin.com
> Data: Lunedì 14 settembre 2009, 06:45
> I first noticed this when trying to
> build and run gfortran 4.5 for my development work on cygwin
> 1.7.  This is on WinNT running in VirtualBox.
> 
> With 4.5, I get no output at all.  With gfortran
> distributed with Cygwin I get the following.  Am I
> configured wrong?
> 
> Regards,
> 
> Jerry
> 
> $ cat hello.f90
> program hello
>   print *, "Hello World!"
> end program hello
> 
> $ gfortran-4.exe hello.f90
> 
> $ ./a.exe
> Illegal instruction (core dumped)
> 

I can not reproduce on cygwin 1-7

$ gfortran-4.exe hello.f90 -o hello

$ ./hello.exe 
 Hello World!


Regards
Marco
 




--
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: emacs installed but won't run

2009-09-13 Thread René Berber
Charles Blair wrote:

>When I type "emacs", I get a new command prompt, with no other
> messages.

That's expected when a library is missing, you can make sure by running
"emacs; echo $?" and getting error 53.

More interesting is knowing which library is missing, run "cygcheck
emacs".  Install whatever is missing; the real problem is a setup hint
file missing a dependency.
-- 
René Berber


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