[lustre-discuss] rpmbuild error with lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64.src.rpm

Dilger, Andreas andreas.dilger at intel.com
Wed Jun 29 10:55:11 PDT 2016

This is a bug in the RPM .spec file. While heartbeat is one option for HA on servers, it definitely should not be required. Could you please file a Jira ticket with details. 

Cheers, Andreas

> On Jun 29, 2016, at 11:36, Martin Hecht <hecht at hlrs.de> wrote:
> Hello,
> I have just seen that you managed to mount with a different kernel, but
> let me come back to this error when building your own rpms for a
> specific kernel.
> Independent if you use it or not, I believe on lustre servers you need
> to have heartbeat installed nowadays. This is not installed by default
> on a standard centos server, and it's a new requirement to build the
> rpms since some 2.x release (it was optional before, and actually using
> it is still optional). This requirement for building and installing the
> server rpms is not mentioned in all tutorials and unfortunately the
> absence of heartbeat is not properly detected by the configure system.
> It would be better to fail earlier, during configure, with a clear error
> message, rather than the error during make which you have seen here (has
> anybody filed a lustre bug about this yet?)
> If you  aim to build lustre client rpms only, you can use the rpmbuild
> option --without servers to work around this problem, but If I didn't
> miss anything in the discussion before you are trying to build the
> server rpms with zfs, so --without servers is not suitable for you, but
> mentioning it here might be helpful for others who run into the same
> trouble.
> Martin
>> On 06/28/2016 04:55 PM, Yu Chen wrote:
>> Hello,
>> Trying to follow Christopher's advice to rebuild the lustre from src.rpm.
>> However, got into this error:
>> ...........
>> make[3]: Nothing to be done for `install-data-am'.
>> make[3]: Leaving directory `/home/build/rpmbuild/BUILD/lustre-2.8.0/lustre'
>> make[2]: Leaving directory `/home/build/rpmbuild/BUILD/lustre-2.8.0/lustre'
>> make[1]: Leaving directory `/home/build/rpmbuild/BUILD/lustre-2.8.0/lustre'
>> + :
>> + ln -s Lustre.ha_v2
>> /home/build/rpmbuild/BUILDROOT/lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64/etc/ha.d/resource.d/Lustre
>> ln: failed to create symbolic link
>> '/home/build/rpmbuild/BUILDROOT/lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64/etc/ha.d/resource.d/Lustre':
>> No such file or directory
>> error: Bad exit status from /var/tmp/rpm-tmp.Rhg32s (%install)
>> ..........
>> There seems someone posted to the list before about this error too, and no
>> answers, wondering if anybody has some solutions now?
>> Thanks in advance!
>> Regards,
>> Chen
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

More information about the lustre-discuss mailing list