gcc-config needs some cleanup. It does weird things like "which which" which just aren't necessary. :) Since its interpreter in /bin/bash, it can ue the bash builtin "type -path" for the exact same effect, removeing a dependency on which. In stage tarballs, which doesn't exist. I don't know if gcc-config does, and gcc-config contains some backup code in case which fails for any reason, but I still think this cleanup is necessay to kill any bugs-in-waiting and just because it makes for nicer code.
Created attachment 34208 [details, diff] patch to remove gcc-config's dependency on which
Problem I have, is that it breaks if you have an alias set for what you querry: -- azarah@nosferatu azarah $ type -path cp azarah@nosferatu azarah $ type -path rm azarah@nosferatu azarah $ type -path mv azarah@nosferatu azarah $ type -path ln /bin/ln -- Sure, you can now first unset the alias first, but now you have to check if the alias exists, and then unset it, etc, so it gets as hairy, if not more ...
Created attachment 34337 [details, diff] fixed patch Thanks for the advice.
Ditto, more like it.
Done, thanks.