Help needed - errors while building rpm from srpm

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

 



Hi,

I used commons-codec as well as previous version of the htmlunit to
create a new .spec file.

I did SRPM build on FC13.

Here are the issues I encountered:

1. My package POM file requires maven-release-plugin. On F13 I could
not find any maven plugin that has to do with
    maven and release (sudo yum search maven | grep release)

2. When I build the srpm (rpmbuild -bs --clean htmlunit.spec) I get
srpm built but when I try to build rpm or to install rpm
   I get this:

$ rpmbuild --ba --clean SPECS/htmlunit.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OqRY17
+ umask 022
+ cd /home/edmon/rpmbuild/BUILD
+ cd /home/edmon/rpmbuild/BUILD
+ rm -rf htmlunit-2.7
+ /usr/bin/gzip -dc /home/edmon/rpmbuild/SOURCES/htmlunit-2.7-1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd htmlunit-2.7
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3IIwbQ
+ umask 022
+ cd /home/edmon/rpmbuild/BUILD
+ cd htmlunit-2.7
++ pwd
+ export MAVEN_REPO_LOCAL=/home/edmon/rpmbuild/BUILD/htmlunit-2.7/.m2/repository
+ MAVEN_REPO_LOCAL=/home/edmon/rpmbuild/BUILD/htmlunit-2.7/.m2/repository
+ mkdir -p /home/edmon/rpmbuild/BUILD/htmlunit-2.7/.m2/repository
+ mvn-jpp -Dmaven.repo.local=/home/edmon/rpmbuild/BUILD/htmlunit-2.7/.m2/repository
install javadoc:javadoc
/usr/lib/jvm/java
/usr/share/maven2/bin/mvn: line 157: /usr/lib/jvm/java/bin/java: Success
error: Bad exit status from /var/tmp/rpm-tmp.3IIwbQ (%build)


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

My most recent srpm and spec files are on:
http://ebegoli.fedorapeople.org/htmlunit-2.7-1.src.rpm
http://ebegoli.fedorapeople.org/htmlunit.spec

If you could, would you please take a look at what I may be doing
wrong (or if the absence of maven-release-plugin may
be an issue).

Thank you in advance,
Edmon
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux