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

grasmash/phing composer dependency Build Failure #88

Closed
justinlevi opened this issue May 27, 2016 · 2 comments
Closed

grasmash/phing composer dependency Build Failure #88

justinlevi opened this issue May 27, 2016 · 2 comments

Comments

@justinlevi
Copy link
Contributor

Getting an error when running ./bolt.sh create -debug -verbose from with a drupal-vm ssh session @geerlingguy @grasmash

  - Installing phing/phing (dev-propertyfile-fix b23d903)                                                                                                                          
    Cloning b23d903f1d12ee615a9267fab3e2f67519805294                                                                                                                               
    b23d903f1d12ee615a9267fab3e2f67519805294 is gone (history was rewritten?)                                                                                                      


  [RuntimeException]                                                                                                                                                               
  Failed to execute git checkout 'b23d903f1d12ee615a9267fab3e2f67519805294' -- && git reset --hard 'b23d903f1d12ee615a9267fab3e2f67519805294' --                                   
  fatal: reference is not a tree: b23d903f1d12ee615a9267fab3e2f67519805294                                                                                                         


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--opti
mize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...                                                                                       


BUILD FAILED                                                                                                                                                                       
BuildException: /var/www/drupalvm/bolt/build/phing/build.xml:135:112: Task exited with code 1 in /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/tasks/system/ExecTask.php:
338                                                                                                                                                                                
Stack trace:                                                                                                                                                                       
#0 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/tasks/system/ExecTask.php(156): ExecTask->cleanup(1, Array)                                                             
#1 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/UnknownElement.php(100): ExecTask->main()                                                                               
#2 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Task.php(283): UnknownElement->main()                                                                                   
#3 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Target.php(336): Task->perform()                                                                                        
#4 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Target.php(366): Target->main()                                                                                         
#5 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Project.php(898): Target->performTasks()                                                                                
#6 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Project.php(868): Project->executeTarget('create')                                                                      
#7 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Phing.php(706): Project->executeTargets(Array)                                                                          
#8 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Phing.php(196): Phing->runBuild()                                                                                       
#9 /var/www/drupalvm/bolt/vendor/phing/phing/classes/phing/Phing.php(343): Phing::start(Array, NULL)                                                                               
#10 /var/www/drupalvm/bolt/vendor/phing/phing/bin/phing.php(58): Phing::fire(Array)                                                                                                
#11 /var/www/drupalvm/bolt/vendor/phing/phing/bin/phing(14): require_once('/var/www/drupal...')                                                                                    
#12 {main}                                                                                                                                                                         

Total time: 13 minutes  0.30 seconds                                                                                                                                               

When manually trying to run composer update from within the default bolted8 directory, I'm getting a bunch of dependency requirement errors as well.

vagrant@drupalvm:/var/www/drupalvm/bolted8$ composer update
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for drupal/lightning 8.1.00-rc3 -> satisfiable by drupal/lightning[8.1.00-rc3].
- drush/drush dev-master requires codegyre/robo ~1.0.0-beta1 -> satisfiable by codegyre/robo[1.0.0-beta1].
- drush/drush dev-master requires codegyre/robo ~1.0.0-beta1 -> satisfiable by codegyre/robo[1.0.0-beta1].
- Conclusion: don't install codegyre/robo 1.0.0-beta1
- Installation request for drush/drush dev-master -> satisfiable by drush/drush[dev-master].

Thought it had something to do with the repository definition being git versus vcs or the require-dev being phing/phing instead of

grasmash/phing

But, nothing seems to be working for me.

@grasmash
Copy link
Contributor

grasmash commented May 27, 2016

@justinlevi It looks like you're working with an older version of the composer.json file. When did you last pull from github? We've updated the dependency upstream in https://github.com/acquia/blt/blob/8.x/template/composer.json:

  "require-dev": {
    "phing/phing":                  "dev-master#0ef30e55bb5871cb38903cc0ee9d76074118a22c",
  },

This will be updated again once Phing makes a release containing the required commit.

@justinlevi
Copy link
Contributor Author

whoa... that's super weird. I forked the repo this morning and if I go to my repo it says I'm 90 commits behind. I have no idea how that could have happened. Super bizarre. I'll try with the latest. thanks for the help. I'll report back if/when I get it to work.

@grasmash grasmash closed this as completed Jun 6, 2016
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

2 participants