I want to build coreutils from source (because I’m testing a possible bug in the binary package). I tried

sudo port -s install coreutils

But this forces all packages to build from source. Is it possible to use binary packages for its dependencies, only build coreutils from source?

1 Answer 1


Not exactly a solution, but I got this answer from IRC:

sudo port destroot coreutils

After that, the binary is found in folder /opt/local/var/macports/build/ (because this is before the installation phase). This is good enough for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .