[Webkit-unassigned] [Bug 181631] New: ImportError: No module named jsmin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 13 16:37:08 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=181631

            Bug ID: 181631
           Summary: ImportError: No module named jsmin
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ajacoutot at bsdfrog.org
                CC: bugs-noreply at webkitgtk.org

Hi.

Since version 2.18.5, building with multiple jobs fails with:
ImportError: No module named jsmin
This looks similar to https://bugs.webkit.org/show_bug.cgi?id=128742 which got resolved at the time but it looks like the bug is back...

Here's an extract from the build log:

[320/5476] cd /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/Source/WebDriver && /usr/local/bin/python2.7 /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/make-js-file-arrays.py -n WebDriver /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebDriver/WebDriverAtoms.h /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebDriver/WebDriverAtoms.cpp /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/ElementAttribute.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/ElementDisplayed.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/FindNodes.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/FormElementClear.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/FormSubmit.js
FAILED: DerivedSources/WebDriver/WebDriverAtoms.h DerivedSources/WebDriver/WebDriverAtoms.cpp 
cd /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/Source/WebDriver && /usr/local/bin/python2.7 /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/make-js-file-arrays.py -n WebDriver /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebDriver/WebDriverAtoms.h /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebDriver/WebDriverAtoms.cpp /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/ElementAttribute.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/ElementDisplayed.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/FindNodes.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/FormElementClear.js /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebKit/UIProcess/Automation/atoms/FormSubmit.js
Traceback (most recent call last):
  File "/exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/ForwardingHeaders/JavaScriptCore/Scripts/make-js-file-arrays.py", line 28, in <module>
    from jsmin import JavascriptMinify
ImportError: No module named jsmin
[321/5476] /exopi-obj/pobj/webkitgtk4-2.18.5/bin/c++  -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\"share\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DUSER_AGENT_GLIB_MAJOR_VERSION=\"605\" -DUSER_AGENT_GLIB_MINOR_VERSION=\"1\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I/exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/ThirdParty/brotli/include -I/exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/ThirdParty/woff2/include -I/exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/ThirdParty/woff2/src -fdiagnostics-color=always -fcolor-diagnostics -Wno-parentheses-equality -Wno-noexcept-type -Wno-expansion-to-defined -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -O2 -pipe -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -DNDEBUG -fPIC   -Wno-cast-align -Wno-implicit-fallthrough -Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -MD -MT Source/ThirdParty/woff2/CMakeFiles/woff2.dir/src/variable_length.cc.o -MF Source/ThirdParty/woff2/CMakeFiles/woff2.dir/src/variable_length.cc.o.d -o Source/ThirdParty/woff2/CMakeFiles/woff2.dir/src/variable_length.cc.o -c /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/ThirdParty/woff2/src/variable_length.cc
[322/5476] cd /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/Source/JavaScriptCore && /usr/local/bin/ruby24 /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb -I/exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/JavaScriptCore/ /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
[323/5476] cd /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore && /usr/bin/perl /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/generate-bindings-all.pl --defines "LANGUAGE_JAVASCRIPT  ENABLE_3D_TRANSFORMS ENABLE_ACCESSIBILITY ENABLE_CHANNEL_MESSAGING ENABLE_CONTEXT_MENUS ENABLE_CSS_BOX_DECORATION_BREAK ENABLE_CSS_REGIONS ENABLE_CSS_SELECTORS_LEVEL4 ENABLE_DFG_JIT ENABLE_DOWNLOAD_ATTRIBUTE ENABLE_DRAG_SUPPORT ENABLE_FETCH_API ENABLE_FTL_JIT ENABLE_FULLSCREEN_API ENABLE_GEOLOCATION ENABLE_ICONDATABASE ENABLE_INDEXED_DATABASE ENABLE_INDEXED_DATABASE_IN_WORKERS ENABLE_INPUT_TYPE_COLOR ENABLE_INTERSECTION_OBSERVER ENABLE_INTL ENABLE_INTROSPECTION ENABLE_JIT ENABLE_LEGACY_VENDOR_PREFIXES ENABLE_MATHML ENABLE_MEDIA_CONTROLS_SCRIPT ENABLE_METER_ELEMENT ENABLE_MHTML ENABLE_NETSCAPE_PLUGIN_API ENABLE_NOTIFICATIONS ENABLE_OPENGL ENABLE_PUBLIC_SUFFIX_LIST ENABLE_REMOTE_INSPECTOR ENABLE_SAMPLING_PROFILER ENABLE_SMOOTH_SCROLLING ENABLE_SPELLCHECK ENABLE_STREAMS_API ENABLE_SUBTLE_CRYPTO ENABLE_SVG_FONTS ENABLE_TOUCH_EVENTS ENABLE_USERSELECT_ALL ENABLE_USER_MESSAGE_HANDLERS ENABLE_VIDEO ENABLE_VIDEO_TRACK ENABLE_WEBASSEMBLY ENABLE_WEBDRIVER ENABLE_WEBGL ENABLE_WEB_AUDIO ENABLE_WEB_CRYPTO ENABLE_X11_TARGET ENABLE_XSLT USE_GSTREAMER_GL USE_LIBHYPHEN USE_LIBNOTIFY USE_LIBSECRET USE_REDIRECTED_XCOMPOSITE_WINDOW" --generator JS --outputDir /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore --idlFilesList /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/Source/WebCore/idl_files_WebCoreBindings.tmp --preprocessor "\"/exopi-obj/pobj/webkitgtk4-2.18.5/bin/c++\" -E -P -x c++" --idlAttributesFile /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/IDLAttributes.json --supplementalDependencyFile /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/supplemental_dependency.tmp --numOfJobs 4 --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/animation --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/css --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/dom --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/fileapi --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/html --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/inspector --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/page --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/plugins --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/storage --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/svg --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/workers --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/xml --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/airplay --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/cache --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/credentials --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/encryptedmedia/legacy --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/fetch --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/geolocation --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/indexeddb --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/mediasession --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/mediastream --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/notifications --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/quota --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/speech --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/streams --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/webaudio --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/webdatabase --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/Modules/websockets --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/js --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/html/canvas --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/html/shadow --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/html/track --include /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/loader/appcache --include /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore --ppExtraOutput /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/DOMWindowConstructors.idl --ppExtraOutput /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/WorkerGlobalScopeConstructors.idl --ppExtraOutput /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/DedicatedWorkerGlobalScopeConstructors.idl --ppExtraArgs --windowConstructorsFile --ppExtraArgs /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/DOMWindowConstructors.idl --ppExtraArgs --workerGlobalScopeConstructorsFile --ppExtraArgs /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/WorkerGlobalScopeConstructors.idl --ppExtraArgs --dedicatedWorkerGlobalScopeConstructorsFile --ppExtraArgs /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/DedicatedWorkerGlobalScopeConstructors.idl --ppExtraArgs --serviceWorkerGlobalScopeConstructorsFile --ppExtraArgs /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/DerivedSources/WebCore/ServiceWorkerGlobalScopeConstructors.idl --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/generate-bindings.pl --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/CodeGenerator.pm --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/IDLParser.pm --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/InFilesParser.pm --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/preprocessor.pm --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/build-amd64/cmakeconfig.h --generatorDependency /exopi-obj/pobj/webkitgtk4-2.18.5/webkitgtk-2.18.5/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
ninja: build stopped: subcommand failed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180114/761d7c7b/attachment-0001.html>


More information about the webkit-unassigned mailing list