parse nm output in port-depcheck.sh