Skip to content

Starter kit fails to extract #118

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

Open
neclimdul opened this issue Jul 24, 2017 · 4 comments
Open

Starter kit fails to extract #118

neclimdul opened this issue Jul 24, 2017 · 4 comments

Comments

@neclimdul
Copy link

Error:

$ php core/console --starterkit --suggestions
configuring pattern lab...

suggested starterkits that work with this edition:

  1: pattern-lab/starterkit-twig-demo
  2: pattern-lab/starterkit-twig-drupal-minimal
  3: aleksip/starterkit-shila-drupal-theme
  4: forumone/starterkit-twig-drupal-gesso

choose an option or hit return to cancel: (ex. 1) > 3

downloading the starterkit. this may take a few minutes...
finished downloading the starterkit...
failed to extract the starterkit. easiest solution is to manually download it and copy <path>./dist</path to ./source/...

Editing Fetch.php to not swallow up the error, the actual error is that pattern-lab seems to pass an illegal combination of arguments to tar.

Unable to execute the following command '/bin/tar' '--extract' '--file=/tmp/pl-sk/pl-sk-archive.tar.gzUDLl04' '--overwrite-dir' '--overwrite' '--gzip' '--directory' '/tmp/pl-sk/pl-sk-archive' {output: /bin/tar: '--overwrite' cannot be used with '--overwrite-dir'
Try '/bin/tar --help' or '/bin/tar --usage' for more information.
}
@neclimdul
Copy link
Author

some other things that might be useful:

$ tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
$ cat /etc/issue
Ubuntu 17.04 \n \l

@neclimdul
Copy link
Author

looks like this is the fix alchemy-fr/Zippy@fceaa04. need to unlock zippy from ^0.3 so the 0.4 branch with the fix can be used. Don't know what the impact of that is though.

neclimdul added a commit to neclimdul/patternlab-php-core that referenced this issue Jul 24, 2017
Fix pattern-lab#118 starter kit fails with invalid options on newer versions tar.
@neclimdul
Copy link
Author

this is still broken. Can we reopen #121?

@neclimdul
Copy link
Author

@EvanLovely since you closed the merge request before, is there a way to push this forward. Best I can tell patternlab is totally unusable in Linux ATM.

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