[openib-general] Open MPI rpmbuild fails in OFED-1.2

Jeff Squyres jsquyres at cisco.com
Wed Feb 7 08:52:24 PST 2007


The "%build" directive is not just a macro, it's also a section  
qualifier indicating the beginning of the build section.  From

http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch08s02.html#id2966770

"The build section starts with a %build statement."

Is there something else that I should replace it with that will also  
start the build section?



On Feb 7, 2007, at 11:42 AM, Vladimir Sokolovsky wrote:

> Hi Jeff,
> Please remove %build macro from the RPM spec file.
> On SuSE distros it removes RPM_BUILD_ROOT.
>
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.23343
> + umask 022
> + cd /var/tmp/OFEDRPM/BUILD
> + /bin/rm -rf /var/tmp/OFED
> ++ dirname /var/tmp/OFED
> + /bin/mkdir -p /var/tmp
> + /bin/mkdir /var/tmp/OFED
> + cd openmpi-1.2b4ofedr13470
> + fortify_source=1
> + test '' '!=' ''
> ...
>
> -- 
> Vladimir Sokolovsky <vlad at dev.mellanox.co.il>
> Mellanox Technologies Ltd.


-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems





More information about the general mailing list