Re: JTA package?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-03-01 at 12:13 +0000, Michael A. Peters wrote:
> On 01/03/2005 03:53:09 AM, Brian Mury wrote:
> > I'm trying to install Eclipse from the JPackage yum repository, but  
> > it
> > fails on the jta dependency. I can't find a jta package anywhere -
> > anyone know where I can get it?
> 
> It's a non free package.
> You have to get the nosrc.rpm from jpackage, get the jta distribution  
> from sun, and then rebuild the rpm.

Ok, I'm trying to do this, but it's my first time building an rpm and
I've run into a problem (actually I've run into several but solved most
of them).

Here's what I get:

# rpmbuild -bb /usr/src/redhat/SPECS/jta.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64998
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf jta-1.0.1
+ /bin/mkdir -p jta-1.0.1
+ cd jta-1.0.1
+ /usr/bin/unzip -qq /usr/src/redhat/SOURCES/jta-1_0_1B-classes.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /usr/src/redhat/BUILD
+ cd jta-1.0.1
+ /usr/bin/unzip -qq /usr/src/redhat/SOURCES/jta-1_0_1B-doc.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.21217
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd jta-1.0.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ /usr/lib/jvm/java/bin/jar cf jta-1.0.1.jar javax
+ /usr/lib/jvm/java/bin/jar i jta-1.0.1.jar
/usr/bin/fastjar: invalid option -- i
Try `/usr/bin/fastjar --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.21217 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.21217 (%build)



/var/tmp/rpm-tmp.21217 looks like this:

#!/bin/sh

  RPM_SOURCE_DIR="/usr/src/redhat/SOURCES"
  RPM_BUILD_DIR="/usr/src/redhat/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -m32 -march=i386 -mtune=pentium4"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="jta"
  RPM_PACKAGE_VERSION="1.0.1"
  RPM_PACKAGE_RELEASE="0.b.4jpp"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/jta-1.0.1-0.b.4jpp-buildroot"
  export RPM_BUILD_ROOT


  set -x
  umask 022
  cd /usr/src/redhat/BUILD
cd jta-1.0.1
LANG=C
export LANG
unset DISPLAY

/usr/lib/jvm/java/bin/jar cf jta-1.0.1.jar javax
/usr/lib/jvm/java/bin/jar i  jta-1.0.1.jar



exit 0



man jar says that i is a valid command. 

What am I doing wrong?





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux