building packages into result files