Solved [SOLVED] Portmaster: Do not define STAGEDIR in command line.

I can't perform the obligatory portmaster -f post upgrading to 10.0-RELEASE as many ports are failing with the following error:

Code:
===>  $portname Do not define STAGEDIR in command line.
*** Error code 1

Stop.
make: stopped in /usr/ports/$port_category/$portname

Never encountered this before and search engines aren't revealing much. Any ideas?
 
Re: Portmaster: Do not define STAGEDIR in command line.

Looks like its a bug and not due to user error, which is good (and bad).

This is really delaying the upgrade. I have managed to reinstall most applications with pkg, unfortunately I have 3 left that need to be (re)installed from ports. Do you think changing

Code:
NO_STAGE=       yes
to
Code:
NO_STAGE=       no

in the $PORTSDIR/Makefile will provide a fix without breaking anything?
 
Re: Portmaster: Do not define STAGEDIR in command line.

aclis said:
I have the same problem

I just commented out:
Code:
NO_STAGE=       yes

in the $PORTSDIR/Makefile, which seems to have worked. Not sure if it's the right thing to do, but I couldn't wait all day to finish this upgrade. Another reason added to the list of why I despise ports.
 
Re: Portmaster: Do not define STAGEDIR in command line.

Seems all the ports that fail due to the abovementioned error have this NO_STAGE entry in the Makefile, all ports that successfully reinstall do not have this value in their Makefile. I don't know what the value means, but it is obviously breaking ports so there would have to be some intel regarding its defectiveness somewhere.
 
Re: Portmaster: Do not define STAGEDIR in command line.

Appears the ports tree was broken, but has since been fixed.
 
Back
Top