Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 25th December 2010, 03:20 PM
marvin_ita Offline
Registered User
 
Join Date: Jun 2007
Location: Como - Italy
Posts: 248
linuxfirefox
Trying to repackage JOSM, stuck on error with patches

Hi,
I'm trying to make an updated rpm for JOSM, starting from the source RPM I found on koji.
However, when I issue the 'rpmbuild -bp' command I get
Code:
$ rpmbuild -bp josm.spec 
Esecuzione(%prep) in corso: /bin/sh -e /var/tmp/rpm-tmp.lUfdAp
+ umask 022
+ cd /home/marvin/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/marvin/rpmbuild/BUILD
+ rm -rf josm-0
+ /usr/bin/gzip -dc /home/marvin/rpmbuild/SOURCES/josm-0.3740svn.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd josm-0
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (josm-0-disable_oauth.patch):'
Patch #0 (josm-0-disable_oauth.patch):
+ /bin/cat /home/marvin/rpmbuild/SOURCES/josm-0-disable_oauth.patch
+ /usr/bin/patch -s -p1 --fuzz=0
3 out of 3 hunks FAILED -- saving rejects to file build.xml.rej
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.lUfdAp (%prep)


Errori di compilazione RPM:
    Stato d'uscita errato da /var/tmp/rpm-tmp.lUfdAp (%prep)
In another file I found the problem, changed the patch and I made it work, but with the build.xml I cannot see the reason it won't work, since the patch seems perfectly to me...
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i repackage already installed packages creeping death Using Fedora 17 30th April 2009 07:17 AM
How to repackage a rpm file? pepe123 Using Fedora 6 14th September 2008 09:30 PM
Instillation of Fedore Core 4 = OK, Installing the patches = Error?? leighmgardner Installation and Live Media 3 31st October 2005 04:24 PM


Current GMT-time: 02:46 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat