Hi Vincenzo, We hit this too. There is a bug about it in the lustre bugzilla. You can edit the script to fix it but you can also get around it by simply
export LUSTRE_VERS=1.8.1 before your make. With that defined, it skips right over the problem with get_latest_mtime(). Charlie Taylor UF HPC Center On Wed, 2009-09-02 at 18:31 +0200, Vincenzo Spinoso wrote: > Hi all, > we are currently using lustre 1.8.0.1 in production, using a Vanilla > kernel 2.6.22.14. > No problems at all with the previous building, except for the new > lustre 1.8.1. > I succeed in building the patched kernel and configuring lustre, but > when running make rpms it build just > lustre-ldiskfs-3.0.9-2.6.22.19_200909021808.x86_64.rpm > lustre-ldiskfs-debuginfo-3.0.9-2.6.22.19_200909021808.x86_64.rpm > and then I get the following: > > [...] > Making all in . > make[4]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1' > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1/ldiskfs' > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1/ldiskfs' > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1/lnet' > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1/lnet' > make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1/lustre' > make[6]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1/lustre/ > lvfs' > make[6]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1/lustre/ > lvfs' > Uncaught exception from user code: > unable to open the tree_status file: No such file or directory > at ../lustre/scripts/version_tag.pl line 129 > main::get_latest_mtime() called at ../lustre/scripts/version_tag.pl > line 242 > make[5]: *** [lustre_build_version] Error 2 > make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1/lustre' > make[4]: *** [all-sources] Error 2 > make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1' > error: Bad exit status from /var/tmp/rpm-tmp.80249 (%build) > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.80249 (%build) > make[1]: *** [rpms-real] Error 1 > make[1]: Leaving directory `/root/_kernel/lustre-1.8.1' > make: *** [rpms] Error 2 > > Now I've tried again the same procedure against lustre 1.8.0.1 with > linux 2.6.22.19, and I've no problems. > > The exception is on opening the "tree_status" file. There is no > "tree_status" in 1.8.0.1, while "lustre-1.8.1/tree_status" exists. > It seems that make cannot open it... Can I simply move it somewhere > else to solve the problem? > > Thanks in advance! > Vincenzo > _______________________________________________ > Lustre-discuss mailing list > [email protected] > http://lists.lustre.org/mailman/listinfo/lustre-discuss _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
