A Chinese shipyard completes a second submarine for ally Pakistan