phmLabs / LiveTest2

LiveTest2
MIT License
5 stars 9 forks source link

sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/ #48

Open christianhaller opened 9 years ago

christianhaller commented 9 years ago

apply dirty patch hack until https://github.com/zendframework/zf2/issues/4039 is applied
> cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch
sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No such file or directory
Script cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch handling the post-update-cmd event returned with an error

  [RuntimeException]                                                                      
  Error Output: sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No such file   
  or directory         

OSX 10.10, php --version PHP 5.5.27 (cli) (built: Jul 23 2015 00:21:59)

phmLabs commented 9 years ago

What did you do?

digitalkaoz commented 9 years ago

mh it seems composer installed a newer version of zend/http and therefore the patching file doesnt exists anymore...maybe this is fixed by psr/http integration in zend-framework...

christianhaller commented 9 years ago

I just tried to install LiveTest2

digitalkaoz commented 9 years ago

mh its an unbound constraint on zf*. can you paste the composer install log?

christianhaller commented 9 years ago

I don't find any logs (sorry, but I'm new to composer)

Here is my bash output:

➜  LiveTest2 git:(master) ✗ bin/vendors 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  269k  100  269k    0     0  1477k      0 --:--:-- --:--:-- --:--:-- 1832k
#!/usr/bin/env php
All settings correct for using Composer
Downloading...

Composer successfully installed to: /Users/halle3/LiveTest2/composer.phar
Use it: php composer.phar
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing doctrine/lexer (v1.0.1)
    Loading from cache

  - Installing doctrine/annotations (v1.2.6)
    Loading from cache

  - Installing doctrine/collections (v1.3.0)
    Loading from cache

  - Installing doctrine/cache (v1.4.1)
    Loading from cache

  - Installing doctrine/inflector (v1.0.1)
    Loading from cache

  - Installing doctrine/common (v2.5.0)
    Loading from cache

  - Installing symfony/http-foundation (v2.7.3)
    Loading from cache

  - Installing symfony/yaml (v2.7.3)
    Loading from cache

  - Installing symfony/console (v2.7.3)
    Loading from cache

  - Installing zendframework/zend-stdlib (2.6.0)
    Loading from cache

  - Installing zendframework/zend-config (2.5.1)
    Loading from cache

  - Installing zendframework/zend-validator (2.5.2)
    Loading from cache

  - Installing zendframework/zend-escaper (2.5.1)
    Loading from cache

  - Installing zendframework/zend-uri (2.5.1)
    Loading from cache

  - Installing zendframework/zend-loader (2.5.1)
    Loading from cache

  - Installing zendframework/zend-http (2.5.2)
    Loading from cache

symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
symfony/console suggests installing psr/log (For using the console logger)
zendframework/zend-stdlib suggests installing zendframework/zend-eventmanager (To support aggregate hydrator usage)
zendframework/zend-stdlib suggests installing zendframework/zend-serializer (Zend\Serializer component)
zendframework/zend-stdlib suggests installing zendframework/zend-servicemanager (To support hydrator plugin manager usage)
zendframework/zend-stdlib suggests installing zendframework/zend-filter (To support naming strategy hydrator usage)
zendframework/zend-config suggests installing zendframework/zend-filter (Zend\Filter component)
zendframework/zend-config suggests installing zendframework/zend-i18n (Zend\I18n component)
zendframework/zend-config suggests installing zendframework/zend-json (Zend\Json to use the Json reader or writer classes)
zendframework/zend-config suggests installing zendframework/zend-servicemanager (Zend\ServiceManager for use with the Config Factory to retrieve reader and writer instances)
zendframework/zend-validator suggests installing zendframework/zend-db (Zend\Db component)
zendframework/zend-validator suggests installing zendframework/zend-filter (Zend\Filter component, required by the Digits validator)
zendframework/zend-validator suggests installing zendframework/zend-i18n (Zend\I18n component to allow translation of validation error messages as well as to use the various Date validators)
zendframework/zend-validator suggests installing zendframework/zend-math (Zend\Math component)
zendframework/zend-validator suggests installing zendframework/zend-i18n-resources (Translations of validator messages)
zendframework/zend-validator suggests installing zendframework/zend-servicemanager (Zend\ServiceManager component to allow using the ValidatorPluginManager and validator chains)
zendframework/zend-validator suggests installing zendframework/zend-session (Zend\Session component)
Writing lock file
Generating autoload files
> echo apply dirty patch hack until https://github.com/zendframework/zf2/issues/4039 is applied
apply dirty patch hack until https://github.com/zendframework/zf2/issues/4039 is applied
> cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch
sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No such file or directory
Script cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch handling the post-update-cmd event returned with an error

  [RuntimeException]                                                           
  Error Output: sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No  
   such file or directory                                                      
digitalkaoz commented 9 years ago

mh probably its fixed in zend/http 2.5

toddy commented 8 years ago

I have the same error. There is a newer lib: 2.5.3

Installing zendframework/zend-http (2.5.3) Downloading: 100%

sebastianneubert commented 8 years ago

I fixed this in a former pull request, which isnt merged yet. https://github.com/phmLabs/LiveTest2/pull/47

Please try the version in my repository, if you want to avoid this failure: https://github.com/sebastianneubert/LiveTest2

toddy commented 8 years ago

Thank you. It works for me with this branch.

sebastianneubert commented 8 years ago

@phmLabs Please merge. We'll fix the unittests later this year. ;)