Re: Install error with rebase 4.0.0-1

2011-10-23 Thread scowles
this new release of rebaseall has an error at lines 217 and 219. the version i just downloaded erroneously assumes invocation of the utility from the current directory. if i missed any previous mention of this in the list, i apologize for the duplication. and thanks to Marco Atzeri for the

How to investigate a bug in /bin/mkshortcut.exe ?

2011-10-23 Thread Regid Ichira
/etc/postinstall/mintty.sh's exit code is 127. $ cat /etc/postinstall/mintty.sh PROGS=$(/bin/cygpath -P $CYGWINFORALL) /bin/mkdir -p "$PROGS/Cygwin" && cd "$PROGS/Cygwin" && /bin/mkshortcut -n mintty /bin/mintty -a - -d "Cygwin Terminal" By running those commands manually, I

Re: gdb problem

2011-10-23 Thread Ken Brown
On 10/23/2011 3:04 PM, Christopher Faylor wrote: On Sat, Oct 22, 2011 at 04:37:55PM -0400, Ken Brown wrote: The attached testcase illustrates a problem with `gdb -i=mi'. I've tested both gdb 7.3.50-1 and 7.3.50-2, with cygwin 1.7.9 as well as with several recent snapshots (including 2011-10-22)

Re: rm -rf calls rmdir() prior to close(), which can fail

2011-10-23 Thread Jim Meyering
Eric Blake wrote: > POSIX is clear that attempts to rmdir() a directory that still has > open descriptors may fail. Of course, on Linux, this (rather > limiting) restriction is not present, so we don't notice it; but on > Cygwin, there are certain file systems where this is a real problem, > such

Re: gdb problem

2011-10-23 Thread Christopher Faylor
On Sat, Oct 22, 2011 at 04:37:55PM -0400, Ken Brown wrote: >The attached testcase illustrates a problem with `gdb -i=mi'. I've >tested both gdb 7.3.50-1 and 7.3.50-2, with cygwin 1.7.9 as well as with >several recent snapshots (including 2011-10-22). > >Under some circumstances, if gdb -i=mi is

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread Csaba Raduly
On Sat, Oct 22, 2011 at 9:18 PM, Philipp Kraus wrote: > Hello, > > I use Cygwin with g++ for compiling my source codes and on some codes I get > the error: > > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9): > undefined reference to `_WinMain@16' If there is no ma

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread René Berber
On 10/23/2011 12:52 PM, René Berber wrote: > Perhaps looking at the link map will clarify what is going on: > > g++ -Wl,-M ... > link-map.txt Or better, use the linker trace symbol functionality: g++ -Wl,-trace-symbol=_WinMain ... -- René Berber -- Problem reports: http:

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread René Berber
On 10/23/2011 5:07 AM, Philipp Kraus wrote: > On 2011-10-23 01:28:37 +0200, René Berber said: > >> I'm not sure why this static library is pulled. > > yes *g* that my problem also. My cygwin g++ / ld > links it automatically Where it comes from? The compiler specs: $ g++ -dumpspecs ... *lib:

Re: Problem with current snapshot: cannot obtain control of tty

2011-10-23 Thread Christopher Faylor
On Thu, Oct 20, 2011 at 07:36:53PM -0400, Christopher Faylor wrote: >On Thu, Oct 20, 2011 at 12:59:55PM +0200, Lemke, Michael SZ/HZA-ZSW wrote: >>To further invesitgate my problem in >>http://cygwin.com/ml/cygwin/2011-10/msg00353.html >> >>I installed the current snapshot. Now I get: >> >>~ > rxvt

Re: Install error with rebase 4.0.0-1

2011-10-23 Thread Marc Girod
Marc Girod wrote: > > It seems that xauth doesn't like the double-quote around the filename... > Sorry. This made a difference on the command line, but not in the file. Marc -- View this message in context: http://old.nabble.com/Install-error-with-rebase-4.0.0-1-tp32705124p32705441.html Sent

Re: Install error with rebase 4.0.0-1

2011-10-23 Thread Marc Girod
Thanks again Marco, marco atzeri-4 wrote: > > As workaround with rebase-4.0.0-1 you can, from ash, > > mkdir /usr/etc > rebaseall > > the database will be created as > /usr/etc/rebase.db.i386 > I did, and it worked. As for the xauth error, it is in /usr/bin/startx: ~> xauth -q -f "$xservera

Re: Install error with rebase 4.0.0-1

2011-10-23 Thread Marco Atzeri
On 10/23/2011 3:57 PM, Marc Girod wrote: Marc Girod wrote: To be honest, I find that cygcheck too behaves strangely: ... ~> cygcheck -l rebase-3.0.1-1 OK: my mistake (Thanks Marco): ~> cygcheck -c rebase Cygwin Package Information Package VersionStatus rebase

Re: Install error with rebase 4.0.0-1

2011-10-23 Thread Marc Girod
Marc Girod wrote: > > To be honest, I find that cygcheck too behaves strangely: > > ... > ~> cygcheck -l rebase-3.0.1-1 > OK: my mistake (Thanks Marco): ~> cygcheck -c rebase Cygwin Package Information Package VersionStatus rebase 3.0.1-1OK ~> cygche

Re: Install error with rebase 4.0.0-1

2011-10-23 Thread Marc Girod
Thanks Ken, Ken Brown-6 wrote: > > This looks like a packaging bug. The rebasedb file is supposed to go in > /etc, not /usr/etc. I suspect that Jason forgot to specify > --sysconfdir=/etc when configuring. See > >http://cygwin.com/ml/cygwin-apps/2011-09/msg00025.html > However, there

Install error with rebase 4.0.0-1

2011-10-23 Thread Marc Girod
I try here to send my cygcheck output as an attachment. This relates to a report made a few minutes ago using the old nabble site, with the same subject. Last time, my sending mail failed. Marc cygcheck.rvc Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Install error with rebase 4.0.0-1

2011-10-23 Thread Ken Brown
On 10/23/2011 9:29 AM, Marc Girod wrote: Hello, I just ran setup, but could not run rebaseall: this one (4.0.0-1 iirc) failed to access a rebasedb file (under a non-existing /usr/etc directory). I reverted to 3.0.1-1. This looks like a packaging bug. The rebasedb file is supposed to go in /

Install error with rebase 4.0.0-1

2011-10-23 Thread Marc Girod
Hello, I just ran setup, but could not run rebaseall: this one (4.0.0-1 iirc) failed to access a rebasedb file (under a non-existing /usr/etc directory). I reverted to 3.0.1-1. Is the following output normal (I find it short): ~> cygcheck -c rebase-3.0.1-1 Cygwin Package Information Package

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread Philipp Kraus
On 2011-10-23 01:37:19 +0200, René Berber said: On 10/22/2011 6:28 PM, René Berber wrote: I also don't know what it is [libcygwin.a] Looking at where it came from, libg.a is a symlink to this one, and libg is known as "special debugging-enabled C library". Still don't know what its doing in

Re: g++ linker problem with libcygwin.a

2011-10-23 Thread Philipp Kraus
On 2011-10-23 01:28:37 +0200, René Berber said: I'm not sure why this static library is pulled. yes *g* that my problem also. My cygwin g++ / ld links it automatically Phil -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Re: Using texi2pdf

2011-10-23 Thread Rolf Dieterich
Andreas Falkenhahn hat am 21.10.2011 um 21:54 Uhr geschrieben: > > Hi, > > I just tried to use texi2pdf on Cygwin but it doesn't seem to work right. > There's a certain > amount of program activity but no PDF is generated. Here's the verbose log: > > $ texi2pdf --verbose testfile.texi > /usr/