Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2022 21:40:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 268488] www/firefox-esr: won't build without deprecated python27 ?
Message-ID:  <bug-268488-21738-SOuTGa91B4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268488-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268488-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268488

--- 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]=20
/usr/ports/www/firefox-esr/work/firefox-102.6.0/python/mozbuild/mozbuild/co=
nfigure/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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268488-21738-SOuTGa91B4>