Details
-
Technical task
-
Resolution: Fixed
-
Critical
-
None
-
9223372036854775807
Description
Right now lustre will fail to compile if one attempts to build from a source tree pulled from git, but not actually in a git working directory. The error will contain the string:
"I have no idea how to create a META file"
I can only guess at the reasons this was put in place originally, and none of the reasons that I am coming up with are particularly convincing.
There are, on the other hand, pretty strong counter examples for why this restriction should not exist. For instance, an automated build-and-test farm might reasonably want to use a command like the following to retrieve a tree for a specific commit:
git archive --format=tar.gz --remote=$URL $GIT_TREEISH
As it stands, that tar ball will not allow lustre to be built.
This is a long standing problem, and we really need to get it fixed.
I have already hacked the code to stop the problem for LLNL's local 2.5-llnl branch, but I think a little more extensive overhaul is needed to make things clean. I think it is pretty reasonable for me to get this done in time for Lustre 2.9.
Attachments
Issue Links
- is blocked by
-
LU-7699 Overhaul lustre's versioning
-
- Closed
-
Absolutely! That is why I assigned this ticket to myself; I plan to do this work. This and other tickets will help me track what I need to get done, and also help begin socializing my vision for the build system in the 2.9 time frame.
And FYI, I opened
LU-7645to start planning what needs to change about our use of the RPM Release field.