Wednesday, May 21, 2008

Mac Ports Troubleshooting: "error: command '-DNDEBUG' failed with exit status 1"

Several different port installation attempts have been throwing this error for me lately:

error: command '-DNDEBUG' failed with exit status 1

I researched a workaround but to no avail.

Finally the solution presented itself:
Simply run the same port installation command again!

If this tip saved you some time, feel free to leave a comment.


wonko said...

This saved me some time, thanks.

Anonymous said...

The same here... I posted a bug report, let's see what happens

Anonymous said...

This helped me too. I was trying to install scons and it required py25-hashlib which included this error.

Anonymous said...

My build failed on py25-hashlib also. Is it a macport bug or a py25-hashlib bug?