Two problems with fixinc.sh on SunOS4 ...
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sat Apr 3 06:49:00 GMT 1999
I ran a bootstrap on sparc-sun-sunos4.1.4 last night. What I
found was that it got stuck in fixinc.sh. The script was run with these
arguments:
> /bin/sh ./fixinc.sh
> /a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19990402/gcc/include
> /usr/include
and the last output from the bootstrap was:
> Fixing directory /usr/include/xview_private into /a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19990402/gcc/include/root/automount/caipgeneral/caip/a2/u2/system/s1/openwin3.0/include/xview_private
> sed: Unrecognized command: -es;//*;/;g
> Checking header files
> Cleaning up DONE files.
Then it hung.
The "sed: Unrecognized command" occurs because sed is invoked
like this sed -e's;/\./;/;g' -e's;//*;/;g'. If you put a space after
the -e, then it works. E.g.: sed -e 's;/\./;/;g' -e 's;//*;/;g'
I think you should to a global search and replace for -e' to -e ' in
the fixinc stuff.
The second problem is the hang. The process fixinc.sh blocked on
was "find . -name DONE -exec rm -f {} ;". This process wasn't really hung,
it was just taking a long time to run. I checked with lsof, and the cwd was
"/a/caip/a47/u47 (versicolor:/caip/u47)". I.e. it was searching everyone's
home directory (over NFS, urg.)
I'm new to the replacement fixinc stuff, so if you would guide
me on what to do next, I would appreciate it. I can provide other
details if that would help.
Thanks,
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-bugs
mailing list