[LU-987] Fail to create ldisk rpms RHEL5 Created: 12/Jan/12  Updated: 09/May/12  Resolved: 10/Feb/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.2.0, Lustre 1.8.7
Fix Version/s: Lustre 2.2.0, Lustre 2.1.1, Lustre 1.8.8

Type: Bug Priority: Minor
Reporter: James A Simmons Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: None
Environment:

RHEL5 server side systems


Severity: 3
Rank (Obsolete): 4767

 Description   

The current build system for lustre will compile ldiskfs but a make rpms will fail. This is due to the BUILD_SERVER variable not being set in the autoMakefile



 Comments   
Comment by Andreas Dilger [ 12/Jan/12 ]

James,
please note that RHEL5 will not be a supported server platform for the 2.2 release. RHEL5 is already 5 years old and will be dropping off Red Hat regular support soon, so it doesn't make sense to be deploying Lustre 2.2 systems with such an old kernel.

Comment by James A Simmons [ 12/Jan/12 ]

I have a feeling this is on other platforms too. I haven't tried it yet.

Comment by Peter Jones [ 13/Jan/12 ]

Minh

Could you please see whether this behaviour manifests itself for RHEL6.x? It probably makes sense to wait until the RHEL6.2 support has landed to master(which is imminent).

Thanks

Peter

Comment by James A Simmons [ 13/Jan/12 ]

Just tested on our RHEL6 build box. It also fails to build rpms for ldiskfs.

Comment by James A Simmons [ 13/Jan/12 ]

Posted a patch that fixed it.

http://review.whamcloud.com/#change,1964

Comment by Kent Engström (Inactive) [ 17/Jan/12 ]

I ran into this problem trying to build the Lustre 1.8 fix for LU-974 on CentOS 5.7 (with kernel 2.6.18-274.3.1.el5).
The simple one-line fix in http://review.whamcloud.com/#change,1964 seems to work.

Comment by James A Simmons [ 18/Jan/12 ]

Since gerrit with the git commit hooks hates placing build errors in the comments section I placed them here. If you do make rpms in the ldiskfs directory the error you see is

CONFIGURE_ARGS=$(echo $(eval echo $CONFIGURE_ARGS) | sed -re
's/--with-release=[^ ][^ ]*//'); \
RPMARGS="$RPMARGS --define \"configure_args $CONFIGURE_ARGS\""; \
if ! false; then \
RPMARGS="$RPMARGS --define \"build_lustre_tests 0\""; \
fi; \
if ! ; then \
RPMARGS="$RPMARGS --define \"lustre_name lustre-client\""; \
fi; \
echo "Building Lustre RPM with $RPMARGS"; \
eval rpmbuild $RPMARGS -ta lustre-ldiskfs-3.3.0.tar.gz
/bin/sh: -c: line 14: syntax error near unexpected token `;'
/bin/sh: -c: line 14: `if ! ; then \'
make[1]: *** [rpms-real] Error 2

The autoMakefile.am in ldsikfs does not define the BUILD_SERVER flag.
This is from the autoMakefile in the real-rpms section coming out as

CONFIGURE_ARGS=$$(echo $$(eval echo $$CONFIGURE_ARGS) | sed -re
's/--with-release=[^ ][^ ]*//'); \
RPMARGS="$$RPMARGS --define \"configure_args $$CONFIGURE_ARGS\""; \
if ! $(BUILD_TESTS); then \
RPMARGS="$$RPMARGS --define \"build_lustre_tests 0\""; \
fi; \
if ! $(BUILD_SERVER); then \
RPMARGS="$$RPMARGS --define \"lustre_name lustre-client\""; \
fi; \
echo "Building Lustre RPM with $$RPMARGS"; \
eval rpmbuild $$RPMARGS -ta $(distdir).tar.gz

As you can sse no BUILD_SERVER define leads to the above error.

Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,client,el5,ofa #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » i686,client,el6,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » x86_64,server,el5,ofa #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » i686,server,el5,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » i686,server,el5,ofa #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » i686,server,el6,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » i686,client,el5,inkernel #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 18/Jan/12 ]

Integrated in lustre-master » i686,client,el5,ofa #429
LU-987 build: Fail to create ldisk rpms (Revision 55a114621157a6e6d4d9191aa6846448152a32d4)

Result = SUCCESS
Oleg Drokin : 55a114621157a6e6d4d9191aa6846448152a32d4
Files :

  • ldiskfs/autoMakefile.am
Comment by Kent Engström (Inactive) [ 07/Feb/12 ]

Will this patch be introduced on b1_8 too? If not, why? Is it fixed in some other way?

Comment by Andreas Dilger [ 07/Feb/12 ]

We should land a patch for b1_8 also.

Comment by Minh Diep [ 07/Feb/12 ]

reopen for porting this to b2_1 and b1_8

Comment by Jay Lan (Inactive) [ 07/Feb/12 ]

Was the commit pulled from master? I saw it earlier, but it is not there now.

Comment by Peter Jones [ 07/Feb/12 ]

It has already landed to master http://git.whamcloud.com/?p=fs/lustre-release.git;a=commit;h=55a114621157a6e6d4d9191aa6846448152a32d4

Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » x86_64,client,el5,ofa #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » x86_64,server,el5,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » x86_64,client,ubuntu1004,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » x86_64,client,el5,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » x86_64,server,el5,ofa #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » x86_64,client,el6,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » i686,client,el5,ofa #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » i686,client,el6,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » i686,client,el5,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » i686,server,el5,ofa #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Build Master (Inactive) [ 10/Feb/12 ]

Integrated in lustre-b1_8 » i686,server,el5,inkernel #172
LU-987 build: Fail to create ldisk rpms (Revision ac57d5a2b9c4beedd8d56b3cc433d70581718ed5)

Result = SUCCESS
Johann Lombardi : ac57d5a2b9c4beedd8d56b3cc433d70581718ed5
Files :

  • ldiskfs/autoMakefile.am
Comment by Peter Jones [ 10/Feb/12 ]

Landed to b1_8

Generated at Sat Feb 10 01:12:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.