[LU-44] e2fsprogs' configure does not detect when there is no db.h available Created: 19/Jan/11 Updated: 28/May/17 Resolved: 28/May/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Brian Murrell (Inactive) | Assignee: | WC Triage |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 10216 |
| Description |
|
If you don't have a db-devel package installed and therefore have a db.h available, configure detects it but does not error out: checking db.h usability... no But db.h is required for lfsck. |
| Comments |
| Comment by Andreas Dilger [ 20/Jan/11 ] |
|
The e2fsprogs-lfsck.patch file wasn't checking for db4.7 and db4.8 being installed, so that is one source of problems. However, the e2fsprogs.spec file does add "BuildRequires: db-devel" so that should be detected. That said, it should also be possible to build without lfsck if --disable-lfsck is passed to configure. |
| Comment by Brian Murrell (Inactive) [ 20/Jan/11 ] |
|
I noticed that it stopped at 4.6 also. I wonder if there is some way to deal with this other just adding more successive checks. I thought about it for a few minutes and couldn't really come up with anything since we won't know if (for example) 4.9 will be next or if they go to 5.0, etc. I did notice that 4.1 to 4.6 are all copy'n'pastes of the same thing with just versions changing. I wonder if we can at least either put those all in a loop or use a function, etc. Regardless, I really do think configure should bail if it's supposed to be building lfsck and can't find a usable db.h. |
| Comment by Andreas Dilger [ 28/May/17 ] |
|
The db4 libraries are no longer needed. |