cygwin build_alias issue (and a possible workaround...)

Scott Newell newell at cei.net
Sat Sep 4 15:15:08 UTC 2004


At 08:57 AM 9/4/2004 , Bogdan Vacaliuc wrote:
>
>Ugh.  You have a bizarre editor.  Your file contains some leading 0x240
>characters.  I'm zipping you my file and attaching it.  Here's the analysis:

I don't think it's the editor (UltraEdit), but the email client (Eudora).
I noticed some 0xA0 bytes floating around, but not any 0x240 (odd--were you
comparing wide chars, unicode, or something like that?).  Anyway, that's
something I'll watch for in the future.  Sorry.


>I wait for your results...

Got some.
The end of the expr.log file, after the build_alias error:

expr x--with-target-subdir=m68k-rtems : x[^=]*=\(.*\) result m68k-rtems
status 0
expr x--with-target-subdir=m68k-rtems : x-*with-\([^=]*\) result
target-subdir status 0
expr xtarget-subdir :
.*[^-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
result 0 status !0
expr x--exec-prefix=/opt/rtems-4.6/m68k-rtems : x[^=]*=\(.*\) result
/opt/rtems-4.6/m68k-rtems status 0
expr xbuild_alias=i686-pc-cygwin : x[^=]*=\(.*\) result i686-pc-cygwin
status 0
expr xbuild_alias=i686-pc-cygwin : x\([^=]*\)= result build_alias status 0

And the tail of the make output:

++ expr xbuild_alias=i686-pc-cygwin : 'x[^=]*=\(.*\)'
+ ac_optarg=i686-pc-cygwin
++ expr xbuild_alias=i686-pc-cygwin : 'x\([^=]*\)='
+ ac_envvar=build_alias
+ strace -o /tmp/strace_03.log expr xbuild_alias :
'.*[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]'
+ echo 'configure: error: invalid variable name: build_alias'
configure: error: invalid variable name: build_alias
+ exit 1
+ exit 1
configure: error: /bin/bash
'../../../../../rtems-4.6.1/c/src/../../cpukit/configure' failed for
../../cpukit
gmake[2]: *** [efi332] Error 1
gmake[2]: Leaving directory `/build_15/m68k-rtems/c'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/build_15/m68k-rtems/c'
gmake: *** [all-recursive] Error 1

Odd that the strace'd expr call didn't get logged.  I'll run it through
again with the strace call removed from cpukit/configure.


--
newell




More information about the users mailing list