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

Re: Re: Blender 2.37, spec and srpms

On Tue, 2005-06-07 at 20:42 -0800, luya jpopmail com wrote:
> For some reasons, the compilation will ask for files to patch in x86_64 although
> the system I use is i386. I think creating a condition to detect if the architecture is a x86_64
> or a i386. Unfortunately, I have limited knowledge how make a condition
> inside spec file. Here is the log:
> -----
> $ sudo rpmbuild -ba rpmbuild/SPECS/blender.spec

Why are you building as root?

> + echo 'Patch #0 (blender-2.37-x86_64.patch):'
> Patch #0 (blender-2.37-x86_64.patch):
> + patch -p1 -b --suffix .x86_64 -s
> The text leading up to this was:
> --------------------------
> |--- blender/source/gameengine/Expressions/KX_HashedPtr.cpp.x86_64      2004-03-22 17:01:28.000000000 -0500
> |+++ blender/source/gameengine/Expressions/KX_HashedPtr.cpp     2005-06-05 10:09:48.000000000 -0400
> --------------------------
> File to patch:
> Skip this patch? [y] y
> 1 out of 1 hunk ignored

Hmm.. there's something wrong here.  Are you using the spec and patch
checked out from FE cvs?  That ran through the buildsystem on i386 so
it's not a problem building on i386 that should be conditionalized away.

It looks like patch is not finding the correct files.  Diagnosing this
would be elped by specifying where you think that file resides instead
of skipping over it.  So on the "File to patch:" line try
and see if you can figure out where patch is going wrong.

> error: Bad exit status from /var/tmp/rpm-tmp.87402 (%prep)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.87402 (%prep)

If you're using the files from cvs, then this file may contain some
useful information to you for figuring out why patch is going wrong.


Attachment: signature.asc
Description: This is a digitally signed message part

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