Make actually works, but make package doesn't

“/Applications/Xcode.app/Contents/Developer/usr/bin/make package
requires dpkg-deb.” What the hell? Running make package in a default
Terminal works fine. dpkg is installed. The fuck man.