« Return to Thread: [Cooker] libobjc_gc.so missing from the gcc srpm build

Re: [Cooker] libobjc_gc.so missing from the gcc srpm build

by Christophe Fergeau-3 :: Rate this Message:

Reply to Author | View in Thread

Hi,

Mika Laitio a écrit :
>
> + echo 'Patch #101 (gcc33-pass-slibdir.patch):'
> Patch #101 (gcc33-pass-slibdir.patch):
> + /usr/bin/patch -U -s -p1 -b --suffix .pass-slibdir --fuzz=0 -i
> /home/lamikr/rpmbuild/SOURCES/gcc33-pass-slibdir.patch
> 1 out of 2 hunks FAILED -- saving rejects to file Makefile.in.rej
> error: Bad exit status from /var/tmp/rpm-tmp.58AuoS (%prep)
This happens because the patches are fuzzy and don't apply with
--fuzz=0. You can work around this by adding
%define _default_patch_fuzz 2
to the beginning of gcc.spec

Hope that helps,

Christophe

 « Return to Thread: [Cooker] libobjc_gc.so missing from the gcc srpm build