work towards compilation database for packages