return abigail::tools_utils::ABIDIFF_ERROR;
}
+ else if (c_status & abigail::fe_iface::STATUS_ALT_DEBUG_INFO_NOT_FOUND)
+ {
+ if (opts.verbose)
+ emit_prefix("abipkgdiff", cerr)
+ << "Could not read find alternate DWARF debug info for '"
+ << elf.path
+ << "'. You might have forgotten to provide a debug info package\n";
+
+ if (detailed_error_status)
+ *detailed_error_status = c_status;
+
+ return abigail::tools_utils::ABIDIFF_ERROR;
+ }
if (opts.verbose)
emit_prefix("abipkgdiff", cerr)
debuginfo_list1 = []
debuginfo_list2 = []
- # If this is a *devel* package we are looking at, then get all
- # the debug info packages associated to with the main package
- # and stick them into the resulting comparison half.
-
- if _rpm.is_devel:
- debuginfo_list1 = rpm_col1.get_all_debuginfo_rpms(_rpm)
- else:
- debuginfo_list1.append(rpm_col1.get_matching_debuginfo(_rpm))
+ # Get all debug info packages associated to with the main
+ # package and stick them into the resulting comparison half.
+ debuginfo_list1 = rpm_col1.get_all_debuginfo_rpms(_rpm)
devel1 = rpm_col1.get_sibling_devel(_rpm)
if global_config.self_compare:
debuginfo_list2 = debuginfo_list1
devel2 = devel1
else:
- if rpm2.is_devel:
- debuginfo_list2 = rpm_col2.get_all_debuginfo_rpms(rpm2)
- else:
- debuginfo_list2.append(rpm_col2.get_matching_debuginfo(rpm2))
- devel2 = rpm_col2.get_sibling_devel(rpm2)
+ debuginfo_list2 = rpm_col2.get_all_debuginfo_rpms(rpm2)
+ devel2 = rpm_col2.get_sibling_devel(rpm2)
yield (ComparisonHalf(subject=_rpm,
ancillary_debug=debuginfo_list1,