Hi,
I fixed some things in java-gcjHEAD-compat:
- removed the file conflicts with java-gcj-compat, so java-gcjHEAD-compat will install cleanly beside other java-gcj-compat installations
- added "javac" to the installed tools, using Gary's bootstrap ecj jar
Here are Andrew's instructions for creating a JPackage alternative for GCJ HEAD:
https://www.redhat.com/archives/fedora-devel-java-list/2005-May/msg00046.htm...
The installation of these packages runs smoothly now.
Tom
On Tue, 2005-08-30 at 18:31 -0400, Thomas Fitzsimmons wrote:
Here are Andrew's instructions for creating a JPackage alternative for GCJ HEAD:
https://www.redhat.com/archives/fedora-devel-java-list/2005-May/msg00046.htm...
I'm getting the following:
# rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcj-compat-1.4.2.0-40jpp_45rh.i386.rpm error: Failed dependencies: libgcjawt.so.7 is needed by java-1.4.2-gcj-compat-1.4.2.0-40jpp_45rh.i386
Also, Andrew's instructions should mention that ecj.sh.in and *.jar need to be copied into the SOURCES directory.
Thanks,
AG
On Wed, 2005-08-31 at 10:39 -0700, Anthony Green wrote:
On Tue, 2005-08-30 at 18:31 -0400, Thomas Fitzsimmons wrote:
Here are Andrew's instructions for creating a JPackage alternative for GCJ HEAD:
https://www.redhat.com/archives/fedora-devel-java-list/2005-May/msg00046.htm...
I'm getting the following:
# rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcj-compat-1.4.2.0-40jpp_45rh.i386.rpm error: Failed dependencies: libgcjawt.so.7 is needed by java-1.4.2-gcj-compat-1.4.2.0-40jpp_45rh.i386
I fixed this in CVS:
%if %{custom} # prevent autogeneration of libjawt.so dependencies AutoReqProv: no %endif
Also, Andrew's instructions should mention that ecj.sh.in and *.jar need to be copied into the SOURCES directory.
I updated the instructions and put them on the Wiki:
http://www.fedoraproject.org/wiki/java-gcjHEAD-compat
Tom
On Wed, 2005-08-31 at 14:44 -0400, Thomas Fitzsimmons wrote:
I updated the instructions and put them on the Wiki:
I had problems with these instructions.
"make test-srpm" didn't do anything. I had to "make sources" and copy the sources into my SOURCES directory and build from the spec file.
I also get the following error when I try to install.
$ rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh.i386.rpm Preparing... ########################################### [100%] file /etc/java/security/security.d/1000-gnu.java.security.provider.Gnu from install of java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh conflicts with file from package java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
Thanks,
AG
On Thu, 2005-09-01 at 07:57 -0700, Anthony Green wrote:
On Wed, 2005-08-31 at 14:44 -0400, Thomas Fitzsimmons wrote:
I updated the instructions and put them on the Wiki:
I had problems with these instructions.
"make test-srpm" didn't do anything. I had to "make sources" and copy the sources into my SOURCES directory and build from the spec file.
Did you do "make test-srpm" in java-1.4.2-gcj-compat/devel? That's supposed to generate an SRPM in java-1.4.2-gcj-compat/devel (not in ~/rpmbuild/SRPMS). It works for me here.
I also get the following error when I try to install.
$ rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh.i386.rpm Preparing... ########################################### [100%] file /etc/java/security/security.d/1000-gnu.java.security.provider.Gnu from install of java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh conflicts with file from package java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
You'll have to update the installed java-1.4.2-gcj-compat before installing java-gcjHEAD-compat.
Tom
On Thu, 2005-09-01 at 11:22 -0400, Thomas Fitzsimmons wrote:
"make test-srpm" didn't do anything. I had to "make sources" and copy the sources into my SOURCES directory and build from the spec file.
Did you do "make test-srpm" in java-1.4.2-gcj-compat/devel? That's supposed to generate an SRPM in java-1.4.2-gcj-compat/devel (not in ~/rpmbuild/SRPMS). It works for me here.
Yes, that's what I did. It's not doing anything here.
I also get the following error when I try to install.
$ rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh.i386.rpm Preparing... ########################################### [100%] file /etc/java/security/security.d/1000-gnu.java.security.provider.Gnu from install of java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh conflicts with file from package java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
You'll have to update the installed java-1.4.2-gcj-compat before installing java-gcjHEAD-compat.
I think I'm using the very latest java-1.4.2-gcj-compat for FC4. Are you saying I need to install the rawhide version? I was hoping to keep my system purely FC4 with the exception of this new java-1.4.2-gcjHEAD-compat package.
AG
On Thu, 2005-09-01 at 08:33 -0700, Anthony Green wrote:
On Thu, 2005-09-01 at 11:22 -0400, Thomas Fitzsimmons wrote:
"make test-srpm" didn't do anything. I had to "make sources" and copy the sources into my SOURCES directory and build from the spec file.
Did you do "make test-srpm" in java-1.4.2-gcj-compat/devel? That's supposed to generate an SRPM in java-1.4.2-gcj-compat/devel (not in ~/rpmbuild/SRPMS). It works for me here.
Yes, that's what I did. It's not doing anything here.
Strange; do you have java-1.4.2-gcj-compat/common checked out as well?
I also get the following error when I try to install.
$ rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh.i386.rpm Preparing... ########################################### [100%] file /etc/java/security/security.d/1000-gnu.java.security.provider.Gnu from install of java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh conflicts with file from package java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
You'll have to update the installed java-1.4.2-gcj-compat before installing java-gcjHEAD-compat.
I think I'm using the very latest java-1.4.2-gcj-compat for FC4. Are you saying I need to install the rawhide version? I was hoping to keep my system purely FC4 with the exception of this new java-1.4.2-gcjHEAD-compat package.
You can do that, but you'll have to use the --force option when installing java-1.4.2-gcjHEAD-compat. Only java-1.4.2-gcj-compat versions > 0:1.4.2.0-40jpp_44rh (i.e. Rawhide) allow clean parallel installation of java-1.4.2-gcjHEAD-compat.
Tom
On Thu, 2005-09-01 at 08:33 -0700, Anthony Green wrote:
On Thu, 2005-09-01 at 11:22 -0400, Thomas Fitzsimmons wrote:
"make test-srpm" didn't do anything. I had to "make sources" and copy the sources into my SOURCES directory and build from the spec file.
Did you do "make test-srpm" in java-1.4.2-gcj-compat/devel? That's supposed to generate an SRPM in java-1.4.2-gcj-compat/devel (not in ~/rpmbuild/SRPMS). It works for me here.
Yes, that's what I did. It's not doing anything here.
You're right; in the public repository the command is "make srpm". The command is "make test-srpm" in the internal repository.
I also get the following error when I try to install.
$ rpm -hiv /usr/src/redhat/RPMS/i386/java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh.i386.rpm Preparing... ########################################### [100%] file /etc/java/security/security.d/1000-gnu.java.security.provider.Gnu from install of java-1.4.2-gcjHEAD-compat-1.4.2.0-40jpp_47rh conflicts with file from package java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
You'll have to update the installed java-1.4.2-gcj-compat before installing java-gcjHEAD-compat.
I think I'm using the very latest java-1.4.2-gcj-compat for FC4. Are you saying I need to install the rawhide version? I was hoping to keep my system purely FC4 with the exception of this new java-1.4.2-gcjHEAD-compat package.
This was a problem with the SPEC file. I've committed a fix so that java-gcjHEAD-compat will work with the latest java-1.4.2-gcj-compat for FC4. No need for Rawhide java-1.4.2-gcj-compat.
Tom
Thomas Fitzsimmons wrote:
I fixed some things in java-gcjHEAD-compat:
- removed the file conflicts with java-gcj-compat, so
java-gcjHEAD-compat will install cleanly beside other java-gcj-compat installations
- added "javac" to the installed tools, using Gary's bootstrap ecj jar
Here are Andrew's instructions for creating a JPackage alternative for GCJ HEAD:
https://www.redhat.com/archives/fedora-devel-java-list/2005-May/msg00046.htm...
The installation of these packages runs smoothly now.
Funky!
java-devel@lists.fedoraproject.org