Make the reinplace warning an error#232
Make the reinplace warning an error#232kurthindenburg wants to merge 1 commit intomacports:masterfrom
Conversation
This changes the warning "reinplace didn't change anything in" to an error. This will force maintainers to fix these issues. This can be bypassed by using the quiet (-q) option. Two tests are added to verify the code. Closes: https://trac.macports.org/ticket/60844
|
It's an easy change to the code, certainly, and I do want to make this change, but it's going to break so many ports. |
|
I'd prefer this to be an opt-in option, enabled via a new parameter. This is similar in spirit to optional "strict" mode, used in some CMake (and/or Configure) scripts. |
|
Just an example of port where Another example of port which uses @kurthindenburg do you see any another way to solve that issues after your patch? Call |
|
I think this should not be a default option. Totally agree with @mascguy – opt-in is fine. |
Use
You can use |
|
@ryandesign thanks for |
This changes the warning "reinplace didn't change anything in" to an error. This will force maintainers to fix these issues. This can be bypassed by using the quiet (-q) option. Two tests are added to verify the code.
Closes: https://trac.macports.org/ticket/60844