public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin @ 2006-06-06 7:55 Denis dot Excoffier at airbus dot com 2006-06-06 8:08 ` [Bug libgcj/27910] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: Denis dot Excoffier at airbus dot com @ 2006-06-06 7:55 UTC (permalink / raw) To: java-prs In order to build correctly in libjava and libjava/classpath, i had to: 1) in libjava/classpath/lib/Makefile.gcj, replace $(SHELL) by /bin/sh 2) in libjava/classpath/lib/gen-classlist.sh.in, replace the four occurrences of "while read pkg file" with an appropriate awk sentence (eg for the first one: awk '{ pkg=$1; file=$2; printf("%s %s %s/%s\n", pkg, dir, pkg, file); }' dir=@top_srcdir@ -) 3) in libjava/Makefile.in, replace "cat tmp-ilist | while read f; do" with "for f in `cat tmp-ilist`; do" It seems that the read built-in in darwin ksh does not read a line, but 4096 bytes. -- Summary: building fails due essentially to bad /bin/ksh on darwin Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Denis dot Excoffier at airbus dot com GCC build triplet: powerpc-apple-darwin8.2.2 GCC host triplet: powerpc-apple-darwin8.2.2 GCC target triplet: powerpc-apple-darwin8.2.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27910 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/27910] building fails due essentially to bad /bin/ksh on darwin 2006-06-06 7:55 [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin Denis dot Excoffier at airbus dot com @ 2006-06-06 8:08 ` pinskia at gcc dot gnu dot org 2006-06-06 8:33 ` Denis dot Excoffier at airbus dot com 2006-06-06 8:37 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-06-06 8:08 UTC (permalink / raw) To: java-prs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-06 08:08 ------- Why are you trying to build with /bin/ksh? That is just wrong. How is ${SHELL} is being set to /bin/ksh anyways, SHELL is set by MAKE to /bin/sh by default unless someone else overrides it. Did you set CONFIG_SHELL before building GCC? -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Component|java |libgcj http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27910 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/27910] building fails due essentially to bad /bin/ksh on darwin 2006-06-06 7:55 [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin Denis dot Excoffier at airbus dot com 2006-06-06 8:08 ` [Bug libgcj/27910] " pinskia at gcc dot gnu dot org @ 2006-06-06 8:33 ` Denis dot Excoffier at airbus dot com 2006-06-06 8:37 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: Denis dot Excoffier at airbus dot com @ 2006-06-06 8:33 UTC (permalink / raw) To: java-prs ------- Comment #2 from Denis dot Excoffier at airbus dot com 2006-06-06 08:33 ------- Oops, i've found an unnoticed CONFIG_SHELL=/bin/ksh around the "configure" step in my build instructions. Sorry for that. Bug is not confirmed any longer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27910 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/27910] building fails due essentially to bad /bin/ksh on darwin 2006-06-06 7:55 [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin Denis dot Excoffier at airbus dot com 2006-06-06 8:08 ` [Bug libgcj/27910] " pinskia at gcc dot gnu dot org 2006-06-06 8:33 ` Denis dot Excoffier at airbus dot com @ 2006-06-06 8:37 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-06-06 8:37 UTC (permalink / raw) To: java-prs ------- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-06 08:37 ------- Ok, closing as invalid, you might also want to report to Apple that ksh does not work correctly for POSIX cases. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27910 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-06 8:37 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-06-06 7:55 [Bug java/27910] New: building fails due essentially to bad /bin/ksh on darwin Denis dot Excoffier at airbus dot com 2006-06-06 8:08 ` [Bug libgcj/27910] " pinskia at gcc dot gnu dot org 2006-06-06 8:33 ` Denis dot Excoffier at airbus dot com 2006-06-06 8:37 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).