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

"_build:archives" task fails on Windows #11685

Closed
LeeDr opened this issue May 9, 2017 · 3 comments
Closed

"_build:archives" task fails on Windows #11685

LeeDr opened this issue May 9, 2017 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience build Team:Operations Team label for Operations Team

Comments

@LeeDr
Copy link

LeeDr commented May 9, 2017

Kibana version: master

Server OS version: Window 10

Description of the problem including expected versus actual behavior:
Can't build on Windows.

Steps to reproduce:

  1. npm run build -- --skip-os-packages on Windows
Running "_build:archives" task
 > tar -zchf C:\git\kibana\target\kibana-6.0.0-alpha1-SNAPSHOT-darwin-x86_64.tar.gz kibana-6.0.0-alpha1-SNAPSHOT-darwin-x86_64
 > tar -zchf C:\git\kibana\target\kibana-6.0.0-alpha1-SNAPSHOT-linux-x86_64.tar.gz kibana-6.0.0-alpha1-SNAPSHOT-linux-x86_64
 > tar -zchf C:\git\kibana\target\kibana-6.0.0-alpha1-SNAPSHOT-linux-x86.tar.gz kibana-6.0.0-alpha1-SNAPSHOT-linux-x86
 > zip -rq -ll C:\git\kibana\target\kibana-6.0.0-alpha1-SNAPSHOT-windows-x86.zip kibana-6.0.0-alpha1-SNAPSHOT-windows-x86
Warning: Command failed: tar -zchf C:\git\kibana\target\kibana-6.0.0-alpha1-SNAPSHOT-darwin-x86_64.tar.gz kibana-6.0.0-alpha1-SNAPSHOT-darwin-x86_64
tar (child): Cannot connect to C: resolve failed
 Use --force to continue.

Aborted due to warnings.

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Describe the feature:

@LeeDr LeeDr added bug Fixes for quality problems that affect the customer experience build Team:Operations Team label for Operations Team labels May 9, 2017
@marius-dr marius-dr reopened this Aug 1, 2017
@marius-dr
Copy link
Member

Still have issues with it on Windows even after the tar fix was merged.

Now it's saying this:

Running "_build:archives" task
 > tar -zchf C:\Users\ratonbox\Documents\GitHub\kibana\target\kibana-6.0.0-beta1-SNAPSHOT-darwin-x86_64.tar.gz kibana-6.0.0-beta1-SNAPSHOT-darwin-x86_64 --force-local
 > tar -zchf C:\Users\ratonbox\Documents\GitHub\kibana\target\kibana-6.0.0-beta1-SNAPSHOT-linux-x86_64.tar.gz kibana-6.0.0-beta1-SNAPSHOT-linux-x86_64 --force-local
 > zip -rq -ll C:\Users\ratonbox\Documents\GitHub\kibana\target\kibana-6.0.0-beta1-SNAPSHOT-windows-x86_64.zip kibana-6.0.0-beta1-SNAPSHOT-windows-x86_64
Warning: spawn zip ENOENT Use --force to continue.

Aborted due to warnings.

And the archives that get created inside the target folder don't seem complete. ( the linux and darwin tar.gz)

@marius-dr
Copy link
Member

This looks like a fix that could be done, but we need to test first if it would impact building on other OS.
nodejs/node-v0.x-archive#5841 (comment)

@tylersmalley
Copy link
Contributor

Resolved in #24374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience build Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

3 participants