Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when building in production or testinig modes #2

Closed
scebotari66 opened this issue Jun 15, 2020 · 1 comment
Closed

Failure when building in production or testinig modes #2

scebotari66 opened this issue Jun 15, 2020 · 1 comment

Comments

@scebotari66
Copy link

I run the following command from the application directory:

docker run --rm -v `pwd`:/app -w /app rockmagicnet/sencha-cmd:latest app build --production

I tried it on two projects. One long-running, and a fresh one. I get the same errors:

Sencha Cmd v7.0.0.40
[INF] Processing Build Descriptor : classic (production environment)
[INF] Loading compiler context
[INF] Loading app json manifest...
[INF] Processing data with CmdJavascriptCompressor
[INF] JavaScript input level is NEXT and output level is ES5
[INF] Writing concatenated output to file /app/build/production/MyApp/classic/app.js
[INF] merging 243 input resources into /app/build/production/MyApp/classic/resources
[INF] merged 1 resources into /app/build/production/MyApp/classic/resources
[INF] merging 31 input resources into /app/build/production/MyApp
[INF] merged 1 resources into /app/build/production/MyApp
[INF] Writing content to /app/build/temp/production/MyApp/slicer-temp/bootstrap.json
[INF] Writing content to /app/build/temp/production/MyApp/slicer-temp/bootstrap.js
[INF] writing sass content to /app/build/temp/production/MyApp/slicer-temp/MyApp-example.scss.tmp
[LOG] Fashion build starting for /app/build/temp/production/MyApp/slicer-temp/MyApp-example.scss
[LOG] Fashion build complete for /app/build/temp/production/MyApp/slicer-temp/MyApp-example.scss
[LOG] Fashion build completed in 3.975 sec.
[INF] Capturing theme image
[ERR] Auto configuration failed
139777492045440:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
139777492045440:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
139777492045440:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
139777492045440:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf

[ERR] 
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 1
[ERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
[ERR] dAccessorImpl.java:62)
[ERR] 
[ERR] Total time: 24 seconds

[ERR] /opt/Sencha/Cmd/7.0.0.40/plugin.xml:333: The following error occurred while executing this line:
/opt/Sencha/Cmd/7.0.0.40/ant/build/app/build-impl.xml:341: The following error occurred while executing this line:
/opt/Sencha/Cmd/7.0.0.40/ant/build/app/slice-impl.xml:378: The following error occurred while executing this line:
/opt/Sencha/Cmd/7.0.0.40/ant/build/app/slice-impl.xml:379: The following error occurred while executing this line:
/opt/Sencha/Cmd/7.0.0.40/ant/build/app/slice-impl.xml:220: com.sencha.exceptions.ExProcess: phantomjs process exited with code 1
[ERR] A log is available in the file "/app/sencha-error-20200615-5.log"

When I run Sench Cmd directly from my machine it works as expected.

Might be related to this issue: bazelbuild/rules_closure#351.

Thanks!

@scebotari66
Copy link
Author

ariya/phantomjs#15449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant