pkg: pkg_report_graph_error() should be static