On Sat, May 09, 2020 at 10:56:46AM +0000, Tom Willhite via blfs-support wrote: > ________________________________ > From: blfs-support <blfs-support-boun...@lists.linuxfromscratch.org> on > behalf of Ken Moffat via blfs-support > <blfs-support@lists.linuxfromscratch.org> > Sent: Thursday, May 7, 2020 9:29 PM > To: blfs-support@lists.linuxfromscratch.org > <blfs-support@lists.linuxfromscratch.org> > Cc: Ken Moffat <zarniwh...@ntlworld.com> > Subject: [blfs-support] Odd build failure with Jinja2 (now ok):wq >
> I _thought_ I had deleted the files installed from the failed > Python2 build, but apparently I didn't. I then built Jinja2 for > Python3, and let my script continue, expecting qtwebengine to fail - > but that succeeded and falkon has now been built and is working. > So, it seems that the previous 2.7 install was ok (even though it > failed). > > - - - > > I've now tried a manual build, and installed to a DESTDIR equivalent > using > python2 setup.py install --root /tmp/JINJA2 > and that completed ok. > I can confirm Jinja in blfs-sysd book is broke for the python2 version. V3 > builds/installs. Same invalid syntax error as you posted Ken. > I'll chk back since I'd like it for qtwebengine but I think that builds ok > regardless of this error. > > Archetech Hi Tom, that is very interesting. I assumed the alpha version of MarkupSafe was the problem (probably never tested on a system with python2) and that it happened to have been removed, which was why my later manual build worked. But maybe there is again a newer version. Because I had NOT removed the 2.7 egg which did get installed, I think that was used by qtwebengine. That implies that for future builds Python2 Jinja is still needed, but might crap out in the later stages of the install - if so, not a problem. In other words, maybe add ' || true' to the Python2 install and mark it down as collateral damage from the discontinuation of that version. But I don't know how pip works (maybe it uses mirrors, and if so thy might lag behind by a day or two). I'll bear this in mind, but I don't expect to be building qtwebengine on a fresh system for several weeks (and if 5.15 is released and I upgrade my existing systems I won't bother updating Jinja2). Thanks. ken (for some reasons, I'm getting errors trying to write the glyph I normally use instead of k) -- See You Later, Holy Poppadom! -- Red Dwarf, The Promised Land -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page