#4 Assertion failure if heuristics file not found
Closed 3 years ago by midipix. Opened 3 years ago by rossburton.

Related to issue 3 but not the same, if I pass --heuristics=foo and foo doesn't exist slibtool asserts without explaining the problem:

slibtool: error logged in slbt_lconf_open(), line 49: flow error: unexpected condition or other.
slibtool: < returned to > slbt_get_lconf_flags(), line 104.
make[2]: *** [Makefile:1288: libltdl/libltdl_la-lt__alloc.lo] Error 2


Confirmed (and admittedly known). At the present, flow-error is often used in place of a more accurate error message, especially when the latter would require some extra work (saving the path argument passed to openat, statat, and friends, detecting ENOENT, etc.)

Will add more graceful error message for the 0.5.32 release.

Metadata Update from @midipix:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata