pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/nodejs builds, works fine with python 39



On 8/4/21 3:17 PM, Jonathan Perkin wrote:
* On 2021-08-04 at 20:02 BST, Louis Guillaume wrote:

Do you think something like this might be workable? It appears to DTRT on my systems, although it does require both versions of python if the PYTHON_VERSION_DEFAULT isn't "27" (and PKG_OPTIONS.node has "dtrace"). Keeps unwanted builds of python27 away!

I'd rather not.  Are you 100% certain that the python2 script is only ever used when building with the dtrace option?

Just for context I've had to fix this a number of times in the past when others have tried to remove the python27 dependency, which has wasted my time and caused build breakages for users, so I'm particularly sensitive regarding this issue.

It's not a runtime dependency, and so the risk of breaking the build far outweighs the small advantage for people who build from source in my opinion.  I'd honestly rather see effort put into just fixing the script in question and submitting a python3 compatible version upstream if it's something people care about - that way everyone wins.


I'm certainly not 100% certain! So I agree with you it's not a safe bet and we should leave well alone until we learn more...

Thanks again,

Louis



Home | Main Index | Thread Index | Old Index