[openib-general] Open MPI rpmbuild fails in OFED-1.2
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Wed Feb 7 09:00:20 PST 2007
I propose to replace %build by %install.
Otherwise %build removes /var/tmp/OFED (on SuSE) which includes all
installed libraries.
Regards,
Vladimir
On Wed, 2007-02-07 at 11:52 -0500, Jeff Squyres wrote:
> 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.
>
>
More information about the general
mailing list