[Bug 268488] www/firefox-esr: won't build without deprecated python27 ?

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Dec 2022 21:40:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268488

--- Comment #9 from Joel Rodriguez <joel@tahoestores.com> ---
OK, I was able to bypass the "borked" work directory by renaming it, then
rebuilt python3.9, plus a couple of other port updates depending on python3.9
and everything looks good.

Of course, firefox-esr still fails. After examining the make log, I see:

1] 
/usr/ports/www/firefox-esr/work/firefox-102.6.0/python/mozbuild/mozbuild/configure/util.py:50:
DeprecationWarnin\
g: distutils Version classes are deprecated. Use packaging.version instead.

2] numerous DeprecationWarning : invalid escape sequence \w

3] numerous ResourceWarning: unclosed file xxx

That appears to crash concurrent processing.

And results in

    raise GypError("Call to '%s' returned exit status %d while in %s." %
gyp.common.GypError: Call to
'"/usr/ports/www/firefox-esr/work/.build/_virtualenvs/build/bin/python"
./coreconf/\
werror.py' returned exit status 0 while in
/usr/ports/www/firefox-esr/work/firefox-102.6.0/security/nss/nss.gyp.\
 while trying to load
/usr/ports/www/firefox-esr/work/firefox-102.6.0/security/nss/nss.gyp

So while I detect little supporting evidence that my install of python3.9 is
borked, I am leaning toward errors in your .py scripts.

fyi

-- 
You are receiving this mail because:
You are the assignee for the bug.