Re: [ITA/P] a2ps, libpaper

2011-11-05 Thread Corinna Vinschen
On Nov  4 13:46, Yaakov (Cygwin/X) wrote:
 The Cygwin a2ps package is currently out of date and depends on the
 ancient libintl2, and furthermore the maintainer hasn't been heard from
 in years[1].  I think it's fair to call this orphaned at this point.
 
 While I have no particular attachment to this package, as I do have a
 working copy in Ports, I might as well ITA it:
 
 ftp://ftp.cygwinports.org/pub/cygwinports/release-2/a2ps/
 
 Since this a2ps package uses libpaper, which is not yet in the distro,
 I'll ITP that now:
 
 ftp://ftp.cygwinports.org/pub/cygwinports/release-2/libpaper/
 
 libpaper, while maintained by Debian, is found in all major distros.

Thanks for taking over a2ps.  Consequently libpaper is a no-brainer
again.  Feel free to upload.


Thanks again,
Corinna

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


RFU: libtorrent-0.12.9-2 / rtorrent-0.8.9-2

2011-11-05 Thread Chris Sutcliffe
Please upload:

wget -x -nH --cut-dirs=1 \
http://emergedesktop.org/cygwin/libtorrent/libtorrent-0.12.9-2.tar.bz2 \
http://emergedesktop.org/cygwin/libtorrent/libtorrent-0.12.9-2-src.tar.bz2 \
http://emergedesktop.org/cygwin/libtorrent/libtorrent14/libtorrent14-0.12.9-2.tar.bz2
\
http://emergedesktop.org/cygwin/libtorrent/libtorrent-devel/libtorrent-devel-0.12.9-2.tar.bz2
\
http://emergedesktop.org/cygwin/rtorrent/rtorrent-0.8.9-2.tar.bz2 \
http://emergedesktop.org/cygwin/rtorrent/rtorrent-0.8.9-2-src.tar.bz2

Thank you,

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d


RE: [ITP] win-ssh-agent 1.07

2011-11-05 Thread Karl M

 Date: Thu, 3 Nov 2011 23:03:39 -0400
 From: cgf
 To: cygwin-apps
 Subject: Re: [ITP] win-ssh-agent 1.07
 
 I don't agree. I don't see why this couldn't be accomplished using
 standard UNIX tools and it seems like it might even be a potential
 security hole. I don't see the need to have this package in the
 distribution.
 
I have been using ssh-agent with the -a option to explicitly specify the
socket instead of the randomly chosen socket name. This avoids the
slow execution of keychain and simplifys the location of the socket.
 
The below is from my .bash_profile to launch the agent as needed.
The initial test of SSH_AUTH_SOCK is to support a forwarded agent.
 
if [ -z $SSH_AUTH_SOCK ]; then
 export SSH_AUTH_SOCK=$HOME/.ssh/ssh-auth-sock
fi
ssh-add -l /dev/null
ec=$?
if [ $ec -eq 2 ]; then
 rm $SSH_AUTH_SOCK /dev/null
 ssh-agent -a $SSH_AUTH_SOCK /dev/null
 ssh-add
elif [ $ec -eq 1 ]; then
 ssh-add
fi
 
You can also define SSH_AUTH_SOCK in the registry if you wish for non-Cygwin 
uses.
 
So I don't see a need for win-ssh-agent, unless the OP can identify any use 
cases not
satisfied by existing options?
 
Thanks,
 
...Karl   


Re: [ITP] win-ssh-agent 1.07

2011-11-05 Thread Christopher Faylor
On Sat, Nov 05, 2011 at 10:21:28PM -0800, Karl M wrote:
So I don't see a need for win-ssh-agent, unless the OP can identify any use 
cases not
satisfied by existing options?

This is a dead subject.  The OP has withdrawn the package.


[ANNOUNCEMENT] Updated: xorg-server-1.11.2-1

2011-11-05 Thread Jon TURNEY

The following packages have been updated in the Cygwin distribution:

*** xorg-server-1.11.2-1
*** xorg-server-dmx-1.11.2-1

These packages contain XWin and the other X.Org X11 servers.

In addition to upstream fixes [1], this contains the following cygwin-specific 
changes since 1.11.1-1:


* Use spawn() rather than pipe()  fork() to invoke xkbcomp.  This should 
improve X server startup reliability, avoiding being unable to start when 
cygwin's fork() emulation is unable to work successfully. (This workaround was 
added in 1.10.2-1, but in a form which didn't work :( )


2baaff23a96d11aa5638b60a5d190608 *xorg-server-1.11.2-1.tar.bz2
c73c6b5bbb42dfeae74fb92a8bcbad2a *xorg-server-dmx-1.11.2-1.tar.bz2
e1bbc83b4299a4966b3bc4c4683c02db *xorg-server-1.11.2-1-src.tar.bz2

[1] 
http://lists.freedesktop.org/archives/xorg-announce/2011-November/001751.html

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



winsup/cygwin ChangeLog pinfo.cc

2011-11-05 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-11-05 18:29:51

Modified files:
cygwin : ChangeLog pinfo.cc 

Log message:
* pinfo.cc (status_exit): Return complete error code.  Handle
STATUS_ACCESS_VIOLATION correctly.
(pinfo::set_exit_code): Set self-exitcode directly from status_exit.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5546r2=1.5547
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaumr1=1.282r2=1.283



src/winsup/doc ChangeLog faq-using.xml overvie ...

2011-11-05 Thread jturney
CVSROOT:/cvs/src
Module name:src
Changes by: jtur...@sourceware.org  2011-11-05 18:42:55

Modified files:
winsup/doc : ChangeLog faq-using.xml overview2.sgml 

Log message:
* faq-using.xml (faq.using.fixing-fork-failures): Add new FAQ.
* overview2.sgml (ov-hi-process-problems): Describe some difficulties
in implementing fork()

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/doc/ChangeLog.diff?cvsroot=srcr1=1.364r2=1.365
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/doc/faq-using.xml.diff?cvsroot=srcr1=1.35r2=1.36
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/doc/overview2.sgml.diff?cvsroot=srcr1=1.20r2=1.21



winsup/cygwin ChangeLog pinfo.cc sigproc.cc

2011-11-05 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-11-05 18:47:39

Modified files:
cygwin : ChangeLog pinfo.cc sigproc.cc 

Log message:
* pinfo.cc (status_exit): Recognize STATUS_ILLEGAL_INSTRUCTION.
(child_info::proc_retry): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5547r2=1.5548
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaumr1=1.283r2=1.284
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaumr1=1.351r2=1.352



Re: [PATCH] Prevent restart of crashing non-Cygwin exe

2011-11-05 Thread Christian Franke

Christopher Faylor wrote:

On Thu, Nov 03, 2011 at 01:07:20PM +0100, Corinna Vinschen wrote:

On Nov  2 20:53, Christian Franke wrote:

On Jun 24, Corinna Vinschen wrote:

Hi Christian,

On Jun 23 19:52, Christian Franke wrote:

If a non-Cygwin .exe started from a Cygwin shell window segfaults,
Cygwin restarts the .exe 5 times.
[...l]
* sigproc.cc (child_info::sync): Add exit_code to debug
message.
(child_info::proc_retry): Don't retry on unknown exit_code
from non-cygwin programs.

This looks ok to me, but cgf should have a say here.  He's on vacation
for another week, though.


Problem can still be reproduced with current CVS.  Patch is still
valid.

Sorry, I forgot about this patch entirely.  Chris, is that patch ok
with you as well?

No, it isn't.  Sorry for not stating this earlier.  The problem that
this code was intended to solve was actually a transient exit codes from
a non-Cygwin process which began with 0xc...

I don't believe that I ever saw STATUS_ACCESS_VIOLATION in any of my
testing though so adding that earlier in the switch would fix this
particular problem.  I'll do that.


Works as expected with testcase from my first mail:

$ i686-w64-mingw32-gcc -o crash-w crash.c

$ ./crash-w
Hello,


A drawback is that non-Cygwin programs crash silently.
I attached an experimental patch which sets WTERMSIG(status) = SIGSEGV:

$ ./crash-w
Hello, Segmentation fault

Christian

diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 5a77d8f..7d60d62 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -148,9 +148,13 @@ status_exit (DWORD x)
 void
 pinfo::set_exit_code (DWORD x)
 {
-  if (x = 0xc000UL)
+  int sig = sigExeced;
+  if (x == STATUS_ACCESS_VIOLATION  !sig)
+/* Report segfault to parent process.  */
+sig = SIGSEGV;
+  else if (x = 0xc000UL)
 x = status_exit (x);
-  self-exitcode = EXITCODE_SET | (sigExeced ?: (x  0xff)  8);
+  self-exitcode = EXITCODE_SET | (sig ?: (x  0xff)  8);
 }
 
 void


hey its me

2011-11-05 Thread Jleon1429
296207965   What up. I was searching the web and found! there giving out 15 
iPad2s first come first serve!! you need to hurry up and get yours before 
they run out heres the site, http://sayabit.com/dbayoh

--
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: proc_waiter: error on read of child wait pipe

2011-11-05 Thread Corinna Vinschen
On Nov  4 13:28, Denis Excoffier wrote:
 
 Hello,
 
 I have all the packages up to date, and also the last Cygwin snapshot:
 [...]

Fixed in CVS and the latest snapshot.


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: 1.7.10s(0.254/5/3) ssh pubkey disconnect

2011-11-05 Thread Corinna Vinschen
On Nov  4 17:06, Brian Ford wrote:
 I don't have time to debug further right now, but this is just a heads up
 that I just updated using setup and installed the subject snapshot.  Now,
 ssh with pubkey auth immediately disconnects from mintty and rxvt:
 
 $ uname -a
 CYGWIN_NT-5.1 PC1163-8460-XP 1.7.10s(0.254/5/3) 2004 17:08:22 i686
 Cygwin
 
 $ ssh localhost
 Warning: No xauth data; using fake authentication data for X11 forwarding.
 Last login: Fri Nov  4 16:44:01 2011 from localhost
 
 Connection to localhost closed.
 
 and in the Windows Event log:
 
 Received disconnect from 127.0.0.1: 11: disconnected by user.

My own build from CVS works fine for me on 2008R2.


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: Problem with execution of binary file

2011-11-05 Thread David Sastre
On Fri, Nov 04, 2011 at 06:20:50PM +, Mark Geisert wrote:
 Eliot Moss writes:
  I would add that having more than one cygwin installation
  on the same system can be tricky, since you need to insure
  that each program gets the right dlls, etc.
 
 Sheesh, it's so tricky that I assumed the OP meant he had separate VMs for his
 two Cygwin installations.  If they really are installed on one machine, as the
 OP said, one 'cygcheck -svr' is enough.  I don't think the cygcheck has ever
 been posted in this thread but is the main requirement asked on
 http://cygwin.com/problems.html when reporting problems.

Also note that the OP is using a home-brewed bash (might be
meaningful):

   22  111648 [main] bash 536 normalize_posix_path:
src /usr/local/bin/bash
   23  111671 [main] bash 536 normalize_posix_path: /usr/local/bin/bash
= normalize_posix_path (/usr/local/bin/bash)
   23  111694 [main] bash 536 mount_info::conv_to_win32_path:
conv_to_win32_path (/usr/local/bin/bash)
   22  111716 [main] bash 536 set_flags: flags: binary (0x2)
   24  111740 [main] bash 536 mount_info::conv_to_win32_path:
src_path /usr/local/bin/bash, dst C:\cygwin\usr\local\bin\bash, flags
0x3000A, rc 0

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: cygwin on virtual box vm

2011-11-05 Thread David Sastre
On Fri, Nov 04, 2011 at 03:08:25PM -0600, J.V. wrote:
 Any other command I type is freakishly slow.  How do I get this to
 run faster under a vm environment.
 Even if I $vi a file it takes a while seriously cutting into the
 productivity gains that cygwin on the host environment provides.

Please follow the spteps mentioned here to submit a problem report:

 Problem reports:   http://cygwin.com/problems.html

 When I open a cygwin bash shell, and type '$ls' it just sits there forever.

Also, I take for granted you don't type a literal '$ls', and the '$'
sign here represents the prompt.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


JNI with g++

2011-11-05 Thread Kraus Philipp
Hello,

I try to build under Cygwin a JNI shared library. I must use Cygwin because 
Atlas  LAPack can be compiled only under Cygwin without the -mno-cygwin flag.
So my library code will be compiled. I link to other Cygwin compiled libraries 
(*.dll) and some static libs. If I run my Java example I see with the 
Sysinternal
ProcessExplorer that the libraries will be loaded but the library function(s) 
won't be run. The code does not create any exception or anything else, only
the function code does not run.

Is there any difference for the linker? All libs are compiled under Cygwin so, 
if I use them under an executable everything works fine.

Hope anybody can help me with this strange problem !?

Thanks

Phil

--
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: recompiling gcc, make, and binutils for my cpu architecture?

2011-11-05 Thread Jorge
Ryan Johnson ryan.johnson at cs.utoronto.ca writes:

 
 On 03/11/2011 8:54 AM, Jorge wrote:
  Hi all, I hope I am posting in the right location.
 This has nothing whatsoever to do with cygwin.

In fact, for what I originally asked, it does have to do with cygwin, it's
called optimizing it for my system which involves optimizing the build tools
first.

 
  I would like to setup/optimize gcc, binutils, and make for my CPU
 architecture,
  AMD K8, and rebuild.  I have installed the cygwin sources.
 Invoking gcc with -march=native should do exactly what you want with 
 far less effort than rebuilding the toolchain from scratch (a task not 
 for the faint of heart nor for the impatient). Make cares very little 
 what architecture it runs on; binutils cares deeply but almost certainly 
 does the right thing already.
 
 If you need more information, try 'man gcc' and 'http://gcc.gnu.org' (in 
 that order).
 
 Ryan
 
 

If anyone would like to optimize cygwin for their exact architecture, the
default configure scripts do allot of work to figure out how to do the build,
but it is still not optimized to the fullest.

You need to set CFLAGS, CPPFLAGS, CXXFLAGS, and LDFLAGS in your environment, for
example: My system is and AMD K8 processor with SSE, SSE2, MMX, and 3DNOW.

-march=native just compiles for a basic i686 system

Here are the flags I have figured out so far for my system. I did this within
the cygwin.bat file.

set CFLAGS=-g -O2 -mtune=k8 -msse -msse2 -m3dnow -mfpmath=sse
set CXXFLAGS=-g -O2 -mtune=k8 -msse -msse2 -m3dnow -mfpmath=sse
set CPPFLAGS=-g -O2 -mtune=k8 -msse -msse2 -m3dnow -mfpmath=sse
set LDFLAGS=-s

This works great for my system so far, and builds are somewhat faster now that I
have recompiled and installed binutils, gcc, and make.  Now to rebuild cygwin :D
--- has to do with cygwin.

Each person wishing to optimize their system better than default should read
about the GCC's info pages, not just the man pages.  gcc.info has all the
information you need to set your *FLAGS variables to something that is more
representative to your system.  There is allot to read!  But is is all described
very well.

I still have yet to figure out how to alter the prefix properly, from i686 to
k8, but it all still works.  If someone can tell me the proper way to do this it
would be appreciated.

Thanks again for your comments.

Jorge


--
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: JNI with g++

2011-11-05 Thread Eliot Moss

On 11/5/2011 5:22 AM, Kraus Philipp wrote:

Hello,

I try to build under Cygwin a JNI shared library. I must use Cygwin because 
Atlas  LAPack can be compiled only under Cygwin without the -mno-cygwin flag.
So my library code will be compiled. I link to other Cygwin compiled libraries 
(*.dll) and some static libs. If I run my Java example I see with the 
Sysinternal
ProcessExplorer that the libraries will be loaded but the library function(s) 
won't be run. The code does not create any exception or anything else, only
the function code does not run.

Is there any difference for the linker? All libs are compiled under Cygwin so, 
if I use them under an executable everything works fine.

Hope anybody can help me with this strange problem !?


Assuming that you're talking about Oracle/Sun Java, cygwin
libs won't run with it -- Java is not a cygwin app but a
regular Windows app. Its run=time environment is totally
different. You have to figure a way to build with no-cygwin
using some toolset or other ...

Regards -- Eliot Moss

--
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: JNI with g++

2011-11-05 Thread Csaba Raduly
Hi,

On Sat, Nov 5, 2011 at 11:22 AM, Kraus Philipp  wrote:
 Hello,

 I try to build under Cygwin a JNI shared library. I must use Cygwin because 
 Atlas  LAPack can be compiled only under Cygwin without the -mno-cygwin flag.
 So my library code will be compiled. I link to other Cygwin compiled 
 libraries (*.dll) and some static libs. If I run my Java example I see with 
 the Sysinternal
 ProcessExplorer that the libraries will be loaded but the library function(s) 
 won't be run. The code does not create any exception or anything else, only
 the function code does not run.

I'm sorry, but function code does not run is not sufficient to
diagnose the problem.
Have you tried putting print statements before and after the function
invocation to see whether Java tries to call the function?


Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
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-apps Digest 30 Oct 2011 21:10:36 -0000 Issue 2824

2011-11-05 Thread Charles Stepp
Any ideas on why the quick disconnect? Putty/Linux ssh works fine.
This is across a Cicso vpn connection. The connection works fine at
work:

OpenSSH_5.9p1, OpenSSL 0.9.8r 8 Feb 2011
debug2: ssh_connect: needpriv 0
debug1: Connecting to abcde.fghi.com [10.223.71.43] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load /home/CStepp/.ssh/id_rsa as a RSA1 public key
debug1: identity file /home/CStepp/.ssh/id_rsa type 1
debug1: identity file /home/CStepp/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load /home/CStepp/.ssh/id_dsa as a RSA1 public key
debug1: identity file /home/CStepp/.ssh/id_dsa type 2
debug1: identity file /home/CStepp/.ssh/id_dsa-cert type -1
debug1: identity file /home/CStepp/.ssh/id_ecdsa type -1
debug1: identity file /home/CStepp/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version 3.2.9
F-SECURE SSH 3.3.0
debug1: no match: 3.2.9 F-SECURE SSH 3.3.0
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host
propag13.unix.gsm1900.org from file /home/CStepp/.ssh/known_hosts
debug3: load_hostkeys: found key type DSA in file
/home/CStepp/.ssh/known_hosts:490
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs:
ssh-dss-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Software caused connection abort

--
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 on virtual box vm

2011-11-05 Thread Christopher Faylor
On Sat, Nov 05, 2011 at 11:05:54AM +0100, David Sastre wrote:
On Fri, Nov 04, 2011 at 03:08:25PM -0600, J.V. wrote:
 Any other command I type is freakishly slow.  How do I get this to
 run faster under a vm environment.
 Even if I $vi a file it takes a while seriously cutting into the
 productivity gains that cygwin on the host environment provides.

Please follow the spteps mentioned here to submit a problem report:

 Problem reports:   http://cygwin.com/problems.html

 When I open a cygwin bash shell, and type '$ls' it just sits there forever.

Also, I take for granted you don't type a literal '$ls', and the '$'
sign here represents the prompt.

FWIW, I run Cygwin on VirtualBox all of the time.  It is one of my main
testing environments.

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



gcj exception compiling

2011-11-05 Thread Kraus Philipp
Hello,

I try to build a Java class with the gcj under Cygwin. I get this error message:

Exception in thread main java.lang.NoClassDefFoundError: org.eclipse.jdt.inter
nal.compiler.batch.GCCMain
   at gnu.java.lang.MainThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.b
atch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.
gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at gnu.java.lang.MainThread.run(Unknown Source)

The class does not have any main function. 
On the default gcj installation, it creates this error first:

/usr/lib/gcc/i686-pc-cygwin/4.5.3/ecj1.exe: error while loading shared libraries
: cyggcj-11.dll: cannot open shared object file: No such file or directory

So I install the gcj-11 library, the setup installs gcj-9 on default.

How can I create a working installation?

Thanks

Phil



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



stderr doesn't work in gdb?

2011-11-05 Thread Phan, Linh H (3443)
Hi,

  it seems there is a problem with stderr when running a program under gdb in 
cygwin 1.7.9 with 64 bit Windows 7; eg, if I run this program:

#include stdio.h
main()
{
  fprintf(stderr,stderr does not print out.\n);
  fprintf(stdout,Only stdout does print out.\n);
}

(gdb) r
Only stdout does print out.


The program works fine outside of gdb; ie, stderr does work when not running in 
gdb.
Does anyone know a fix for this?

Thank you,

Linh
PS  This my version of cygwin:
CYGWIN_NT-6.1-WOW64 LMC-022482 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

and gdb:
GNU gdb (GDB) 7.3.50.20110821-cvs (cygwin-special)

I also tested under:
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
on the same cygwin 1.7.9 on 64 bit Windows7 and the same stderr problem exist.

--
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: stderr doesn't work in gdb?

2011-11-05 Thread Ryan Johnson


On 05/11/2011 4:02 PM, Phan, Linh H (3443) wrote:

   it seems there is a problem with stderr when running a program under gdb in 
cygwin 1.7.9 with 64 bit Windows 7;

This was fixed some time ago. You might try a snapshot.

Ryan


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



stderr doesn't work in gdb?

2011-11-05 Thread Phan, Linh H (3443)
Hi Ryan,

  how do I get the snapshot to try?   I got the cygwin just this week and I 
thought that was the latest.

Thanks,

Linh
 it seems there is a problem with stderr when running a program under gdb in 
 cygwin 1.7.9 with 64 bit Windows 7;
 This was fixed some time ago. You might try a snapshot.

 Ryan

--
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: Can't get sshd to work

2011-11-05 Thread S. Cowles

On Fri, 4 Nov 2011, gabier wrote:


$ssh gabriel@freennas
Password etc... Welcome... OK
$scp gabriel@192.168.1.103:/cygdrive/E/gabriel/testfile.txt
~/gabriel/testfile.txt

Now the connection is established but there is a password problem

Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).



i think there is a chance this is not a password problem.  from what is shown, 
here,
it appears to be a typographical error.  instead of:

$scp gabriel@192.168.1.103:/cygdrive/E/gabriel/testfile.txt 
~/gabriel/testfile.txt

maybe you should have typed the following?

$scp gabriel@192.168.1.103:/cygdrive/E/gabriel/testfile.txt 
~gabriel/testfile.txt

the error permission denied would arise because there is no such directory:  
~/gabriel.

bonne chance avec la solution, monsieur.

--
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: stderr doesn't work in gdb?

2011-11-05 Thread Mark Geisert
Phan, Linh H writes:
 Hi Ryan,
 
   how do I get the snapshot to try?   I got the cygwin just this week and I
thought that was the latest.

  it seems there is a problem with stderr when running a program under gdb in
cygwin 1.7.9 with 64 bit Windows 7;
  This was fixed some time ago. You might try a snapshot.
 
  Ryan

With apologies to Ryan, you can find snapshots at http://cygwin.com/snapshots.
 They are, as the name implies, intermediate snapshots of cygwin1.dll that are
generated frequently between full releases such as 1.7.9 and the next one. 
Rather than having to wait for 1.7.10 you can try a snapshot now.  Follow the
instructions on that page.

..mark




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



Should these /usr/doc references be changed to /usr/share/doc ?

2011-11-05 Thread Regid Ichira
  With 1.7, and no pending updates as of 5-Nov-2011:

  Do these files and references should changed to /usr/share/doc

1. grep /usr/doc/ /usr/share/doc/Cygwin/exim-4.76-1.README
   /usr/doc/Cygwin/cygrunsrv.README.
2. ls -R /usr/doc
   /usr/doc/:
   Cygwin  popt-1.6.4

   /usr/doc/Cygwin:
   popt-1.6.4.README

   /usr/doc/popt-1.6.4:
   CHANGES  COPYING  README

?

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



What does mean 'obsolete' category?

2011-11-05 Thread Oleksandr Gavenko
Search:

  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=xorg-x11-xwin

take:

  xorg-x11-xwin/xorg-x11-xwin-7.4-1  Obsolete package

From setup.ini:

  @ xorg-x11-xwin
  sdesc: Obsolete package
  ldesc: Obsolete package
  category: _obsolete

That mean 'obsolete' for package?

I search for docs in:

  Cygwin Package Contributor's Guide
  Cygwin User's Guide
  http://sourceware.org/cygwin-apps/setup-head.ini.html

but does not found any relevant docs for 'obsolete' keyword.

Do this mean that package depricated and I need avoid its uses?

Or it is for a long time does not updated and can have known bugs?

I will be glad if docs updated with appropriate texts.

-- 
Best regards!


--
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: gcj exception compiling

2011-11-05 Thread Yaakov (Cygwin/X)
On Sat, 2011-11-05 at 19:13 +0100, Kraus Philipp wrote:
 Hello,
 
 I try to build a Java class with the gcj under Cygwin. I get this error 
 message:
 
 Exception in thread main java.lang.NoClassDefFoundError: 
 org.eclipse.jdt.inter
 nal.compiler.batch.GCCMain
at gnu.java.lang.MainThread.run(Unknown Source)
 Caused by: java.lang.ClassNotFoundException: 
 org.eclipse.jdt.internal.compiler.b
 atch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[], 
 parent=gnu.
 gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at gnu.java.lang.MainThread.run(Unknown Source)

You're missing the ECJ jar.  Either download
ftp://sourceware.org/pub/java/ecj-4.5.jar and install it
to /usr/share/java/ecj.jar or install java-ecj from Cygwin Ports.

 The class does not have any main function. 
 On the default gcj installation, it creates this error first:
 
 /usr/lib/gcc/i686-pc-cygwin/4.5.3/ecj1.exe: error while loading shared 
 libraries
 : cyggcj-11.dll: cannot open shared object file: No such file or directory
 
 So I install the gcj-11 library, the setup installs gcj-9 on default.
 
 How can I create a working installation?

Install libgcj11.

(P.S. Dave Korn: I took the liberty of fixing this on sourceware.)


Yaakov



--
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] New package: libpaper-1.1.24-1

2011-11-05 Thread Yaakov (Cygwin/X)
The following packages have been added to the Cygwin distribution:

*** libpaper1-1.1.24-1
*** libpaper-bin-1.1.24-1
*** libpaper-devel-1.1.24-1

The libpaper paper-handling library automates recognition of many
different paper types and sizes for programs that need to deal with
printed output.  See papersize(5) for details.

-- 

Yaakov
Cygwin/X


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: a2ps-4.14-1

2011-11-05 Thread Yaakov (Cygwin/X)
The following package has been updated for the Cygwin distribution:

*** a2ps-4.14-1

GNU a2ps is a filter which generates PostScript from various formats,
with pretty-printing features, strong support for many alphabets, and
customizable layout.

This is an update to the latest upstream release, and adds a dependency
on libpaper for paper size management.

-- 

Yaakov
Cygwin/X


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



New package: libpaper-1.1.24-1

2011-11-05 Thread Yaakov (Cygwin/X)
The following packages have been added to the Cygwin distribution:

*** libpaper1-1.1.24-1
*** libpaper-bin-1.1.24-1
*** libpaper-devel-1.1.24-1

The libpaper paper-handling library automates recognition of many
different paper types and sizes for programs that need to deal with
printed output.  See papersize(5) for details.

-- 

Yaakov
Cygwin/X


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.




Updated: a2ps-4.14-1

2011-11-05 Thread Yaakov (Cygwin/X)
The following package has been updated for the Cygwin distribution:

*** a2ps-4.14-1

GNU a2ps is a filter which generates PostScript from various formats,
with pretty-printing features, strong support for many alphabets, and
customizable layout.

This is an update to the latest upstream release, and adds a dependency
on libpaper for paper size management.

-- 

Yaakov
Cygwin/X


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.