Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 30 Aug 2004 14:59:03 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Peter Ekberg cc: cygwin AT cygwin DOT com Subject: RE: configure-script failure In-Reply-To: <90459864DAD67D43BDD3D517DEFC2F7D70C1@axon.Axentia.local> Message-ID: References: <90459864DAD67D43BDD3D517DEFC2F7D70C1 AT axon DOT Axentia DOT local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: X-Scanned-By: MIMEDefang 2.39 Note-from-DJ: This may be spam On Mon, 30 Aug 2004, Peter Ekberg wrote: > > > > "configure -v"? "bash -x configure"? Come on, man, do some > > > > *debugging*! > > > > Igor > > > > > > Attached is the output of a bash -x run of my testcase, available here: > > > http://sources.redhat.com/ml/cygwin/2004-08/msg01025.html > > > > Quoting the relevant part of the attached "bashlog": > > > > + ac_package=extra-includes > > + expr xextra-includes : '.*[^-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]' > > + echo 'configure: error: invalid package name: extra-includes' > > configure: error: invalid package name: extra-includes > > + exit 1 > > > > > Looks like a bug to me as "extra-includes" is alphanumeric, which I > > > believe is what is being tested. > > > > Yes, it does seem wrong. Now the question is whether bash is getting > > the wrong return code from expr, or whether the && doesn't work > > properly, or whether there's some other problem here. Can you > > reproduce this under strace? I don't suggest that you send the raw > > strace output to the list, but examining it might be helpful in > > tracking this down. > > Not the whole strace output, but a snippet around the actual problem. > I don't know if it is useful. It's not useful to me... Well, turns out you snipped out the relevant piece of the strace (see the end of your snippet, it just starts dealing with the expr invocation). I guess that was because you looked for the actual configure output, and the different buffering of stdout/stderr confused you. > I have the whole output (~12MB) readily available on request. Just the next, say, 100 lines after the snippet you posted should be enough. Feel free to send them to me privately, so as not to spam the list, unless CGF and Corinna request to see them as well. > I used this command to generate the log: > "strace bash ../../ggi3/ggi-core/libgii/configure --prefix=/usr --with-extra-includes=/cygdrive/c/dx9csdk/include &> bashstrace" Umm, FWIW, it would have been probably better to use "strace -O bashstrace bash ../../ggi3/ggi-core/libgii/configure --prefix=/usr --with-extra-includes=/cygdrive/c/dx9csdk/include" but you don't have to re-run the whole thing now. Just please send me this snippet plus the next 100 or so lines. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/