Bug 233945 - java-1.5.0-gcj-1.5.0.0-7.fc7 at installation seems to miss prefix, ant fails to work afterwards
java-1.5.0-gcj-1.5.0.0-7.fc7 at installation seems to miss prefix, ant fails ...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: java-1.5.0-gcj (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Fitzsimmons
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-26 04:45 EDT by Caolan McNamara
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 1.5.0.0-9.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-26 13:27:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Caolan McNamara 2007-03-26 04:45:23 EDT
Description of problem:
i.e. rpm install gives...

[root@Jehannum rpms]# rpm --upgrade java-1.5.0-gcj-*
/usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
/usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
xargs: /bin/gcj-dbtool: No such file or directory
/usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
/usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
/usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
xargs: /bin/gcj-dbtool: No such file or directory
/usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory



Version-Release number of selected component (if applicable):
java-1.5.0-gcj-1.5.0.0-7.fc7


How reproducible:
always

Steps to Reproduce:
1. install above version
2. run ant

e.g. 

/usr/src/redhat/BUILD/OOF680_m10/rhino/unxlngi6.pro/misc/build/rhino1_5R4/build.xml:53:
The following error occurred while executing this line:
/usr/src/redhat/BUILD/OOF680_m10/rhino/unxlngi6.pro/misc/build/rhino1_5R4/src/build.xml:18:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

3.
  
Additional info:
this version is not in rawhide yet, but is in brew so affects building packages
that use ant
Comment 1 Caolan McNamara 2007-03-26 04:54:05 EDT
hmm

ls -l /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/lib/tools.jar

/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/lib/tools.jar ->
../../../../share/java/libgcj-tools-4.1.2.jar

and that is provided by libgcj-src-4.1.2-5.i386.rpm so for my ant problem at
least it looks like that java-1.5.0-gcj-1.5.0.0-7.fc7 should simply require
libgcj-src
Comment 2 Thomas Fitzsimmons 2007-03-26 11:02:56 EDT
(In reply to comment #1)

> and that is provided by libgcj-src-4.1.2-5.i386.rpm so for my ant problem at
> least it looks like that java-1.5.0-gcj-1.5.0.0-7.fc7 should simply require
> libgcj-src

Fixed in Rawhide, 1.5.0.0-8.fc7.

(In reply to comment #0)
> Description of problem:
> i.e. rpm install gives...
> 
> [root@Jehannum rpms]# rpm --upgrade java-1.5.0-gcj-*
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> dirname: missing operand
> Try `dirname --help' for more information.
> mkdir: missing operand
> Try `mkdir --help' for more information.
> /usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
> xargs: /bin/gcj-dbtool: No such file or directory
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> dirname: missing operand
> Try `dirname --help' for more information.
> mkdir: missing operand
> Try `mkdir --help' for more information.
> /usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
> xargs: /bin/gcj-dbtool: No such file or directory
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory

I can't reproduce this problem -- are you still seeing this?
Comment 3 Thomas Fitzsimmons 2007-03-26 11:07:10 EDT
(In reply to comment #2)

> (In reply to comment #0)
> > Description of problem:
> > i.e. rpm install gives...
> > 
> > [root@Jehannum rpms]# rpm --upgrade java-1.5.0-gcj-*
> > /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> > dirname: missing operand
> > Try `dirname --help' for more information.
> > mkdir: missing operand
> > Try `mkdir --help' for more information.
> > /usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
> > xargs: /bin/gcj-dbtool: No such file or directory
> > /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> > /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> > dirname: missing operand
> > Try `dirname --help' for more information.
> > mkdir: missing operand
> > Try `mkdir --help' for more information.
> > /usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
> > xargs: /bin/gcj-dbtool: No such file or directory
> > /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> 
> I can't reproduce this problem -- are you still seeing this?

I couldn't reproduce it with local builds, but I am seeing it in the newly-built
Rawhide packages.  I'm working on a fix.
Comment 4 Thomas Fitzsimmons 2007-03-26 13:27:57 EDT
(In reply to comment #0)
> Description of problem:
> i.e. rpm install gives...
> 
> [root@Jehannum rpms]# rpm --upgrade java-1.5.0-gcj-*
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> dirname: missing operand
> Try `dirname --help' for more information.
> mkdir: missing operand
> Try `mkdir --help' for more information.
> /usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
> xargs: /bin/gcj-dbtool: No such file or directory
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory
> dirname: missing operand
> Try `dirname --help' for more information.
> mkdir: missing operand
> Try `mkdir --help' for more information.
> /usr/bin/rebuild-gcj-db: line 13: /bin/gcj-dbtool: No such file or directory
> xargs: /bin/gcj-dbtool: No such file or directory
> /usr/bin/rebuild-gcj-db: line 6: /bin/gcj-dbtool: No such file or directory

Fixed in Rawhide.

Note You need to log in before you can comment on or make changes to this bug.