jetty-6.1.12.rc2 rpm status

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

jetty-6.1.12.rc2 rpm status

David Yu-3
The rpm build fails to generate the rpms.

=======================================================

[webtide@webtidetest ~]$ sudo rpmbuild -ba rpm/SPECS/jetty6.spec

Executing(%prep): /bin/sh -e /home/webtide/rpm/tmp/rpm-tmp.78651
+ umask 022
+ cd /home/webtide/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/webtide/rpm/BUILD
+ rm -rf jetty-6.1
+ /usr/bin/unzip -qq /home/webtide/rpm/SOURCES/jetty-6.1-src.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jetty-6.1
++ /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 .
+ cp /home/webtide/rpm/SOURCES/jetty6-settings.xml settings.xml
+ echo 'Patch #0 (jetty6.patch):'
Patch #0 (jetty6.patch):
+ patch -p0 -b --suffix .sav -s
5 out of 5 hunks FAILED -- saving rejects to file pom.xml.rej
1 out of 1 hunk FAILED -- saving rejects to file modules/util/src/test/java/org/mortbay/thread/ThreadPoolTest.java.rej
1 out of 1 hunk FAILED -- saving rejects to file contrib/cometd/demo/pom.xml.rej
The text leading up to this was:
--------------------------
|Index: contrib/cometd/api/pom.xml
|===================================================================
|--- contrib/cometd/api/pom.xml (revision 688)
|+++ contrib/cometd/api/pom.xml (working copy)
--------------------------
File to patch: Skip this patch? [y] y
2 out of 2 hunks ignored
2 out of 2 hunks FAILED -- saving rejects to file contrib/cometd/pom.xml.rej
error: Bad exit status from /home/webtide/rpm/tmp/rpm-tmp.78651 (%prep)


RPM build errors:
    Bad exit status from /home/webtide/rpm/tmp/rpm-tmp.78651 (%prep)
[webtide@webtidetest ~]$




Reply | Threaded
Open this post in threaded view
|

Re: jetty-6.1.12.rc2 rpm status

Igor E. Poteryaev
Hi, David.

For RPM build, I've made changes to

contrib/rpms/pom.xml
contrib/rpms/src/jetty6.patch
contrib/rpms/src/jetty6.spec

but could not commit those changes back to 6.1.x trunk. AFAIK I have
permissions only for contrib in 7.x branch.

If you would like to build rpm, you should get patched versions of
mentioned above files from source RPM linked on:
http://jira.codehaus.org/browse/JETTY-565


http://jira.codehaus.org/secure/attachment/35315/jetty6-6.1.11-1jpp.src.rpm

contains all files mentioned above.



В Птн, 19/09/2008 в 19:17 +0800, David Yu пишет:

> The rpm build fails to generate the rpms.
>
> =======================================================
>
> [webtide@webtidetest ~]$ sudo rpmbuild -ba rpm/SPECS/jetty6.spec
>
> Executing(%prep): /bin/sh -e /home/webtide/rpm/tmp/rpm-tmp.78651
> + umask 022
> + cd /home/webtide/rpm/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /home/webtide/rpm/BUILD
> + rm -rf jetty-6.1
> + /usr/bin/unzip -qq /home/webtide/rpm/SOURCES/jetty-6.1-src.zip
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd jetty-6.1
> ++ /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 .
> + cp /home/webtide/rpm/SOURCES/jetty6-settings.xml settings.xml
> + echo 'Patch #0 (jetty6.patch):'
> Patch #0 (jetty6.patch):
> + patch -p0 -b --suffix .sav -s
> 5 out of 5 hunks FAILED -- saving rejects to file pom.xml.rej
> 1 out of 1 hunk FAILED -- saving rejects to file
> modules/util/src/test/java/org/mortbay/thread/ThreadPoolTest.java.rej
> 1 out of 1 hunk FAILED -- saving rejects to file
> contrib/cometd/demo/pom.xml.rej
> The text leading up to this was:
> --------------------------
> |Index: contrib/cometd/api/pom.xml
> |===================================================================
> |--- contrib/cometd/api/pom.xml (revision 688)
> |+++ contrib/cometd/api/pom.xml (working copy)
> --------------------------
> File to patch: Skip this patch? [y] y
> 2 out of 2 hunks ignored
> 2 out of 2 hunks FAILED -- saving rejects to file
> contrib/cometd/pom.xml.rej
> error: Bad exit status from /home/webtide/rpm/tmp/rpm-tmp.78651 (%
> prep)
>
>
> RPM build errors:
>     Bad exit status from /home/webtide/rpm/tmp/rpm-tmp.78651 (%prep)
> [webtide@webtidetest ~]$
>
>
>
>
>
--
Igor E. Poteryaev <[hidden email]>
Severnaya Kazna

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email