Thanks for the replies everyone, and I apologize for my late response.
The QT5WebEngine-5.13.0 build is breaking during the `make` process at
[155/15841] where it attempts to import Jinja2. For files
`/Jinja2-2.10.1-py2.7.egg/jinja2/__init__.py, environment.py, nodes.py, and
utils.py` it returns an error: `ImportError: No module named markupsafe.`
So I am reasonably confident that the issue exists somewhere in the Python
2 modules for either Jinja2 or MarkupSafe. I have reinstalled both modules
several times with MarkupSafe always installing both modules successfully
and Jinja2 failing to install the Python 2 module (due to said error in my
first post) but installing the Python 3 module no problem.
I have also tried reinstalling the dependencies for QT5WebEngine such as
NSS-3.45, Qt-5.13.0, and Python-2.7.16 with no change. It will fail at this
exact spot each and every time.
The reason I have not yet tried to use `pip2 install Jinja2` or `pip2
install MarkupSafe` is because as of writing this post, I am also
experiencing issues with getting wpa_supplicant and dhcpcd to properly
connect to my WPA2-protected Wi-Fi (I cannot use Ethernet currently due to
lack of Ethernet ports).
That is a whole other issue, however, that I planned on also making a post
in here for. So for the time being, I have been mostly using the chroot
environment for installing packages as I can use my local Ubuntu account to
wget updated packages if need be while also researching solutions online.
I figured my next step would be to try reinstalling each and every Python
module in the book and see if I didn't miss a dependency somewhere else,
but I am open to suggestions and will attempt pip2 once I solve my Internet
issue as well.
Here is the output of the point in the build in which it fails (there is a
lot of output so I only copied the section from the first fail message to
the end):
`[155/15841] /usr/bin/python2
../../../../src/3rdparty/chromium/services/catalog/public/tools/sourcify_manifest.py
--root-manifest=../../../../src/3rdparty/chromium/components/services/heap_profiling/heap_profiling_manifest.json
--submanifest-info=gen/components/services/heap_profiling/manifest.submanifest_info
--output-function-name=heap_profiling::GetManifest
--output-filename-base=gen/components/services/heap_profiling/manifest
--module-path=components/services/heap_profiling/manifest
FAILED: gen/components/services/heap_profiling/manifest.cc
gen/components/services/heap_profiling/manifest.h
/usr/bin/python2
../../../../src/3rdparty/chromium/services/catalog/public/tools/sourcify_manifest.py
--root-manifest=../../../../src/3rdparty/chromium/components/services/heap_profiling/heap_profiling_manifest.json
--submanifest-info=gen/components/services/heap_profiling/manifest.submanifest_info
--output-function-name=heap_profiling::GetManifest
--output-filename-base=gen/components/services/heap_profiling/manifest
--module-path=components/services/heap_profiling/manifest
Traceback (most recent call last):
File
"../../../../src/3rdparty/chromium/services/catalog/public/tools/sourcify_manifest.py",
line 53, in <module>
import jinja2
File
"/usr/lib/python2.7/site-packages/Jinja2-2.10.1-py2.7.egg/jinja2/__init__.py",
line 33, in <module>
from jinja2.environment import Environment, Template
File
"/usr/lib/python2.7/site-packages/Jinja2-2.10.1-py2.7.egg/jinja2/environment.py",
line 15, in <module>
from jinja2 import nodes
File
"/usr/lib/python2.7/site-packages/Jinja2-2.10.1-py2.7.egg/jinja2/nodes.py",
line 19, in <module>
from jinja2.utils import Markup
File
"/usr/lib/python2.7/site-packages/Jinja2-2.10.1-py2.7.egg/jinja2/utils.py",
line 647, in <module>
from markupsafe import Markup, escape, soft_unicode
ImportError: No module named markupsafe
[156/15841] touch
obj/chrome/browser/ui/webui/omnibox/mojo_bindings__parser.stamp
[157/15841] /usr/bin/python2
../../../../src/3rdparty/chromium/mojo/public/tools/bindings/mojom_bindings_generator.py
verify
--filelist=__chrome_browser_ui_webui_downloads_mojo_bindings__verify_deps__sources_qtwebengine-everywhere-src-5.13.0_build_src_toolchain_target__rule..rsp
-f gen/chrome/browser/ui/webui/downloads/mojo_bindings.deps_sources_list
--gen_dir gen --depth ../../../../src/3rdparty/chromium/
[158/15841] /usr/bin/python2
../../../../src/3rdparty/chromium/mojo/public/tools/bindings/mojom_bindings_generator.py
verify
--filelist=__chrome_browser_ui_webui_discards_mojo_bindings__verify_deps__sources_qtwebengine-everywhere-src-5.13.0_build_src_toolchain_target__rule..rsp
-f gen/chrome/browser/ui/webui/discards/mojo_bindings.deps_sources_list
--gen_dir gen --depth ../../../../src/3rdparty/chromium/
[159/15841] /usr/bin/g++ -MMD -MF obj/device/base/base/features.o.d
-DDEVICE_BASE_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
-DUSE_OZONE=1 -DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../src/3rdparty/chromium
-Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing
-Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage
-Wno-invalid-offsetof -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-c ../../../../src/3rdparty/chromium/device/base/features.cc -o
obj/device/base/base/features.o
[160/15841] /usr/bin/g++ -MMD -MF obj/base/base/base_jumbo_32.o.d
-DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1
-DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I. -Igen
-I../../../../src/3rdparty/chromium -Igen -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe
-pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2
-fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing
-Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage
-Wno-invalid-offsetof -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-c gen/base/base_jumbo_32.cc -o obj/base/base/base_jumbo_32.o
[161/15841] /usr/bin/g++ -MMD -MF obj/base/base/base_jumbo_31.o.d
-DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1
-DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I. -Igen
-I../../../../src/3rdparty/chromium -Igen -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe
-pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2
-fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing
-Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage
-Wno-invalid-offsetof -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-c gen/base/base_jumbo_31.cc -o obj/base/base/base_jumbo_31.o
[162/15841] /usr/bin/g++ -MMD -MF
obj/device/base/base/device_monitor_linux.o.d -DDEVICE_BASE_IMPLEMENTATION
-DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC
-DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-Igen -I../../../../src/3rdparty/chromium -Igen -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe
-pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing
-Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage
-Wno-invalid-offsetof -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-c ../../../../src/3rdparty/chromium/device/base/device_monitor_linux.cc -o
obj/device/base/base/device_monitor_linux.o
[163/15841] /usr/bin/g++ -MMD -MF obj/base/base/base_jumbo_14.o.d
-DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1
-DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I. -Igen
-I../../../../src/3rdparty/chromium -Igen -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe
-pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2
-fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing
-Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage
-Wno-invalid-offsetof -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-c gen/base/base_jumbo_14.cc -o obj/base/base/base_jumbo_14.o
[164/15841] /usr/bin/g++ -MMD -MF obj/base/base/base_jumbo_12.o.d
-DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1
-DNO_TCMALLOC -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -I. -Igen
-I../../../../src/3rdparty/chromium -Igen -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe
-pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized
-Wno-deprecated-declarations -Wno-comments -Wno-dangling-else
-Wno-packed-not-aligned -Wno-missing-field-initializers
-Wno-unused-parameter -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2
-fno-ident -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing
-Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage
-Wno-invalid-offsetof -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-c gen/base/base_jumbo_12.cc -o obj/base/base/base_jumbo_12.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:353: run_ninja] Error 1
make[3]: Leaving directory
'/sources/qtwebengine-everywhere-src-5.13.0/build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory
'/sources/qtwebengine-everywhere-src-5.13.0/build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory
'/sources/qtwebengine-everywhere-src-5.13.0/build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2`
Thanks for the help everyone! (And I hope I replied properly!)
Jared Stevens
On Sat, Sep 14, 2019 at 3:22 AM Christopher Gregory via blfs-support <
[email protected]> wrote:
>
>
> > Sent: Friday, September 13, 2019 at 7:20 PM
> > From: "Pierre Labastie via blfs-support" <
> [email protected]>
> > To: [email protected]
> > Cc: "Pierre Labastie" <[email protected]>
> > Subject: Re: [blfs-support] Issue installing Python2 module for
> Jinja2-2.10.1
> >
> > On 13/09/2019 00:04, Jared Stevens via blfs-support wrote:
> > > Hi all,
> > >
> > > I am attempting to install the Python dependencies for Jinja2 as a
> dependency
> > > to install QtWebEngine-5.13.0, but I am encountering the following
> errors when
> > > attempting to install the Python2 module:
> > >
> > > `python2 setup.py install --optimize=1`
> >
> > Hmmm, where have you seen Jinja2 is a dependency of QtWebEngine?
> >
> > >
> > > [...]
> > >
> > > Processing dependencies for Jinja2==2.10.1
> > > Searching for MarkupSafe>=0.23
> > > Reading https://pypi.python.org/simple/MarkupSafe/
> >
> > Looks like it is seeking https://pypi.python.org/simple/MarkupSafe/,
> while I
> > have found https://pypi.org/simple/markupsafe/
> >
> > But I see on my own logs (from the end of August):
> > -----
> > Searching for MarkupSafe>=0.23
> > Reading https://pypi.org/simple/MarkupSafe/
> > Downloading
> >
> https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl#sha256=43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1
> > Best match: MarkupSafe 1.1.1
> > -----
> >
> > > Download error on https://pypi.python.org/simple/MarkupSafe/: [Errno
> -3]
> > > Temporary failure in name resolution -- Some packages may not be found!
> >
> > So, maybe the failure was really temporary.
> >
> > > Couldn't find index page for 'MarkupSafe' (maybe misspelled?)
> > > Scanning index of all packages (this may take a while)
> > > Reading https://pypi.python.org/simple/
> > > Download error on https://pypi.python.org/simple/: [Errno -3]
> Temporary
> > > failure in name resolution -- Some packages may not be found!
> > > No local packages or working download links found for MarkupSafe>=0.23
> > > error: Could not find suitable distribution for
> > > Requirement.parse('MarkupSafe>=0.23')`
> > >
> > > I have already installed the MarkupSafe-1.1.1 Python2 and Python3
> modules with
> > > no errors as well as Python2 according to the BLFS-9.0-systemd book.
> > >
> > So, if you have installed it for Python2, it is amazing that it has not
> been
> > found... Don't know what to say. Note that I have the same "async" error
> as
> > you in my logs, but it does not seem to break the build.
> >
> > Regards
> > Pierre
> > --
> > http://lists.linuxfromscratch.org/listinfo/blfs-support
> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > Unsubscribe: See the above information page
> >
>
> Hello,
>
> I have jinja2 installed on my blfs 8.4 system. I also have kde installed
> as well.
>
> Have you tried to use:
>
> pip2 install Jinja2
>
> I have it installed for both python2 and python3. The version installed
> is 2.10.1
>
> Regards,
>
> Christopher
> --
> http://lists.linuxfromscratch.org/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page