Hi Amir,

Am 26.12.2011 um 11:55 schrieb Amir Abbasi:

+ echo 'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):'
Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.9x-qmailtoaster.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 7 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)
 

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)
 
Have you ever faced this error message?
Thank you for your assistance.


The problem is that the included patch is not 100% rediffed against version 0.97.3 of clamav… e.g. some lines are off.
This causes the patch utility to fail, as the allowed amount of 'fuzz' (e.g. allow patches to apply to be a couple lines off the expected place) on CentOS 6 is zero.

Anyway,

use the attached patch instead of the old one (replace the clamav patch file in the SOURCES folder within your rpm build directory) and try again…

Martin


--
Martin Waschbüsch
IT-Dienstleistungen
Schumacherring 29
81737 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
[email protected]
http://www.waschbuesch.it

Attachment: clamav-0.9x-qmailtoaster.patch.bz2
Description: BZip2 compressed data

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to