* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
@ 2006-06-14 12:28 ` tromey at gcc dot gnu dot org
2006-06-14 12:42 ` cvs-commit at developer dot classpath dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-06-14 12:28 UTC (permalink / raw)
To: java-prs
------- Comment #1 from tromey at gcc dot gnu dot org 2006-06-14 12:28 -------
Looks like classpath's configure uses the $(...) construct.
This isn't portable sh.
The fix is to replace with `...`
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-14 12:28:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
2006-06-14 12:28 ` [Bug java/28024] " tromey at gcc dot gnu dot org
@ 2006-06-14 12:42 ` cvs-commit at developer dot classpath dot org
2006-06-14 13:46 ` tromey at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at developer dot classpath dot org @ 2006-06-14 12:42 UTC (permalink / raw)
To: java-prs
------- Comment #2 from cvs-commit at developer dot classpath dot org 2006-06-14 12:42 -------
Subject: Bug 28024
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Tom Tromey <tromey> 06/06/14 12:35:17
Modified files:
. : ChangeLog configure.ac
m4 : acinclude.m4
Log message:
PR java/28024:
* m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
* configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7807&r2=1.7808
http://cvs.savannah.gnu.org/viewcvs/classpath/configure.ac?cvsroot=classpath&r1=1.160&r2=1.161
http://cvs.savannah.gnu.org/viewcvs/classpath/m4/acinclude.m4?cvsroot=classpath&r1=1.11&r2=1.12
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7807
retrieving revision 1.7808
diff -u -b -r1.7807 -r1.7808
--- ChangeLog 14 Jun 2006 11:01:25 -0000 1.7807
+++ ChangeLog 14 Jun 2006 12:35:16 -0000 1.7808
@@ -1,3 +1,9 @@
+2006-06-14 Tom Tromey <tromey@redhat.com>
+
+ PR java/28024:
+ * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
+ * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
+
2006-06-14 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -b -r1.160 -r1.161
--- configure.ac 7 Jun 2006 15:09:39 -0000 1.160
+++ configure.ac 14 Jun 2006 12:35:17 -0000 1.161
@@ -438,7 +438,7 @@
if test "x$HAVE_QT4" = "xyes"; then
dnl Check needed because in some cases the QtGui includedir
dnl doesn't contain the subsystem dir.
- QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui)
+ QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget],
AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]),
Index: m4/acinclude.m4
===================================================================
RCS file: /cvsroot/classpath/classpath/m4/acinclude.m4,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- m4/acinclude.m4 27 Mar 2006 17:47:29 -0000 1.11
+++ m4/acinclude.m4 14 Jun 2006 12:35:17 -0000 1.12
@@ -409,13 +409,13 @@
AC_MSG_ERROR("jay executable not found");
fi
else
- JAY_DIR_PATH=$(dirname "${withval}")
+ JAY_DIR_PATH=`dirname "${withval}"`
JAY="${withval}"
AC_SUBST(JAY)
fi
JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
AC_CHECK_FILE(${JAY_SKELETON}, AC_SUBST(JAY_SKELETON),
- AC_MSG_ERROR("Expected skeleton file in $(dirname ${withval})"))
+ AC_MSG_ERROR("Expected skeleton file in `dirname ${withval}`"))
JAY_FOUND=yes
],
[
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
2006-06-14 12:28 ` [Bug java/28024] " tromey at gcc dot gnu dot org
2006-06-14 12:42 ` cvs-commit at developer dot classpath dot org
@ 2006-06-14 13:46 ` tromey at gcc dot gnu dot org
2006-06-14 13:56 ` tromey at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-06-14 13:46 UTC (permalink / raw)
To: java-prs
------- Comment #3 from tromey at gcc dot gnu dot org 2006-06-14 13:46 -------
Subject: Bug 28024
Author: tromey
Date: Wed Jun 14 13:46:33 2006
New Revision: 114637
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114637
Log:
PR java/28024:
* aclocal.m4, configure: Rebuilt.
* m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
* configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
Modified:
branches/gcc-4_1-branch/libjava/classpath/ChangeLog.gcj
branches/gcc-4_1-branch/libjava/classpath/aclocal.m4
branches/gcc-4_1-branch/libjava/classpath/configure
branches/gcc-4_1-branch/libjava/classpath/configure.ac
branches/gcc-4_1-branch/libjava/classpath/m4/acinclude.m4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
` (2 preceding siblings ...)
2006-06-14 13:46 ` tromey at gcc dot gnu dot org
@ 2006-06-14 13:56 ` tromey at gcc dot gnu dot org
2006-06-14 14:00 ` tromey at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-06-14 13:56 UTC (permalink / raw)
To: java-prs
------- Comment #4 from tromey at gcc dot gnu dot org 2006-06-14 13:56 -------
Subject: Bug 28024
Author: tromey
Date: Wed Jun 14 13:56:22 2006
New Revision: 114639
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114639
Log:
PR java/28024:
* aclocal.m4, configure: Rebuilt.
* m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
* configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
Modified:
trunk/libjava/classpath/ChangeLog.gcj
trunk/libjava/classpath/aclocal.m4
trunk/libjava/classpath/configure
trunk/libjava/classpath/configure.ac
trunk/libjava/classpath/m4/acinclude.m4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
` (3 preceding siblings ...)
2006-06-14 13:56 ` tromey at gcc dot gnu dot org
@ 2006-06-14 14:00 ` tromey at gcc dot gnu dot org
2006-06-15 12:34 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-06-14 14:00 UTC (permalink / raw)
To: java-prs
------- Comment #5 from tromey at gcc dot gnu dot org 2006-06-14 14:00 -------
Thanks for the report.
I fixed this problem. But, as I don't have a Solaris box,
I can't test whether this means that the build works.
Please update and try again :)
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
` (4 preceding siblings ...)
2006-06-14 14:00 ` tromey at gcc dot gnu dot org
@ 2006-06-15 12:34 ` ebotcazou at gcc dot gnu dot org
2006-06-15 12:36 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-06-15 12:34 UTC (permalink / raw)
To: java-prs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-06-15 12:34 -------
> I fixed this problem. But, as I don't have a Solaris box,
> I can't test whether this means that the build works.
This report was actually invalid, we don't support /bin/sh on Solaris.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
` (5 preceding siblings ...)
2006-06-15 12:34 ` ebotcazou at gcc dot gnu dot org
@ 2006-06-15 12:36 ` ebotcazou at gcc dot gnu dot org
2006-06-16 9:13 ` bob at digilink dot net
2006-06-16 9:24 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-06-15 12:36 UTC (permalink / raw)
To: java-prs
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-06-15 12:36 -------
See http://gcc.gnu.org/install/specific.html#x-x-solaris2
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|REOPENED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
` (6 preceding siblings ...)
2006-06-15 12:36 ` ebotcazou at gcc dot gnu dot org
@ 2006-06-16 9:13 ` bob at digilink dot net
2006-06-16 9:24 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: bob at digilink dot net @ 2006-06-16 9:13 UTC (permalink / raw)
To: java-prs
------- Comment #8 from bob at digilink dot net 2006-06-16 09:13 -------
(In reply to comment #6)
> > I fixed this problem. But, as I don't have a Solaris box,
> > I can't test whether this means that the build works.
>
> This report was actually invalid, we don't support /bin/sh on Solaris.
>
I would like to thank Tom for the amazingly fast response to this bug - and to
also apologize for the fact that I have been unable to actually test his fix
yet.
Given that the problem is solvable, it seems more than just a little odd that
your reply is "We don't support /bin/sh on Solaris"
My simple question is why not support /bin/sh on Solaris?
Having to specify the shell for the config script is more than a little obtuse
given that I haven't encountered a single open source software package that
requires this and I have been dealing with open source software for the last
13+ years on Solaris. I thought that I had read all of the Solaris notes for
building 4.1.1 but even with that effort I missed the link you pointed me to.
gcc 4.1.1 for c and c++ compile just fine with /bin/sh for Solaris. If java is
going to be 'different' then it should not be included as a standard build
language. I don't need it and I'm fairly certain the majority of people
building gcc don't need it.
If the compatibility with /bin/sh can be solved, why not. The result will be
less hassle with bugs like this being filed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/28024] libjava build failure on Solaris 2.8 (sun4u)
2006-06-14 8:00 [Bug java/28024] New: libjava build failure on Solaris 2.8 (sun4u) bob at digilink dot net
` (7 preceding siblings ...)
2006-06-16 9:13 ` bob at digilink dot net
@ 2006-06-16 9:24 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-06-16 9:24 UTC (permalink / raw)
To: java-prs
------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-06-16 09:24 -------
> My simple question is why not support /bin/sh on Solaris?
Because we're not in the business of working around bugs in antiquated shells.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28024
^ permalink raw reply [flat|nested] 10+ messages in thread