if (system(cmd.c_str()))
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " FAILED\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Erasing temporary extraction directory"
+ << " FAILED\n";
}
else
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " DONE\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Erasing temporary extraction directory"
+ << " DONE\n";
}
}
<< package_path
<< " to "
<< extracted_package_dir_path
- << " ...";
+ << " ...\n";
string cmd = "test -d " + extracted_package_dir_path
+ " || mkdir -p " + extracted_package_dir_path + " ; cd " +
if (system(cmd.c_str()))
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " FAILED\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Extracting package "
+ << package_path
+ << " to "
+ << extracted_package_dir_path
+ << " FAILED\n";
return false;
}
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " DONE\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Extracting package "
+ << package_path
+ << " to "
+ << extracted_package_dir_path
+ << " DONE\n";
return true;
}
if (system(cmd.c_str()))
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " FAILED\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Extracting package "
+ << package_path
+ << " to "
+ << extracted_package_dir_path
+ << " FAILED\n";
return false;
}
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " DONE\n";
-
+ emit_prefix("abipkgdiff", cerr)
+ << "Extracting package "
+ << package_path
+ << " to "
+ << extracted_package_dir_path
+ << " DONE\n";
return true;
}
if (system(cmd.c_str()))
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " FAILED\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Extracting tar archive "
+ << package_path
+ << " to "
+ << extracted_package_dir_path
+ << " FAILED\n";
return false;
}
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << " DONE\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Extracting tar archive "
+ << package_path
+ << " to "
+ << extracted_package_dir_path
+ << " DONE\n";
return true;
}
if (system(cmd.c_str()))
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << "FAILED\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Erasing temporary extraction parent directory "
+ << package::extracted_packages_parent_dir()
+ << "FAILED\n";
}
else
{
if (opts.verbose)
- emit_prefix("abipkgdiff", cerr) << "DONE\n";
+ emit_prefix("abipkgdiff", cerr)
+ << "Erasing temporary extraction parent directory "
+ << package::extracted_packages_parent_dir()
+ << "DONE\n";
}
}
diff = compute_diff(corp, reread_corp, ctxt);
if (opts.verbose)
emit_prefix("abipkgdfiff", cerr)
- << "... Comparing the ABIs: DONE\n";
+ << "Comparing the ABIs: of \n"
+ << " '" << corp->get_path() << "' against \n"
+ << " '" << abi_file_path << "':"
+ << "DONE\n";
abidiff_status s = abigail::tools_utils::ABIDIFF_OK;
if (diff->has_changes())
is_ok = true;
if (opts.verbose)
emit_prefix("abipkgdiff", cerr)
- << " Analysis of " << package.path() << " DONE\n";
+ << " Analysis of linux package " << package.path() << " DONE\n";
return is_ok;
}