You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You recommend that --enable-sigchild can lead to issues with processes not returning the correct exit flags. I've run into the opposite. Compiling php without this option is causing SvnDownloader to think that the svn checkout is returning a 1, when it is really returning a zero. I've run the command from the command line and $? is always zero, but running composer fails every time.
Composer error. Note that this is seen from a cap deploy command. I did try running the exact same composer install generated by cap deploy to rule out that it was a capifony/capistrano issue.
** [out :: server.hostname.com] Reading ./composer.json
** [out :: server.hostname.com] Executing command (CWD): git describe --exact-match --tags
** [out :: server.hostname.com] Executing command (CWD): git branch --no-color --no-abbrev -v
** [out :: server.hostname.com] Executing command (CWD): hg branch
** [out :: server.hostname.com] Executing command (CWD): svn info --xml
** [out :: server.hostname.com] Reading ./composer.lock
** [out :: server.hostname.com] Loading composer repositories with package information
** [out :: server.hostname.com] Installing dependencies from lock file
** [out :: server.hostname.com] Reading ./composer.lock
** [out :: server.hostname.com] - Installing company/entities (dev-trunk)
** [out :: server.hostname.com] Checking out /trunk/@11408
...
** [out :: server.hostname.com] U /web/sites/api.company.com/shared/vendor/company/entities
** [out :: server.hostname.com] Checked out revision 11408.
*** [err :: server.hostname.com] [RuntimeException]
*** [err :: server.hostname.com] Package could not be downloaded, A /web/sites/api.company.com/shared/vendor/company/entities/composer.json
*** [err :: server.hostname.com] A /web/sites/api.company.com/shared/vendor/company/entities/src
*** [err :: server.hostname.com] A /web/sites/api.company.com/shared/vendor/company/entities/src/Entity
*** [err :: server.hostname.com] A /web/sites/api.company.com/shared/vendor/company/entities/src/Entity/Postfix
*** [err :: server.hostname.com] A /web/sites/api.company.com/shared/vendor/company/entities/src/Entity/Postfix/Domain.php
*** [err :: server.hostname.com] A /web/sites/api.company.com/shared/vendor/company/entities/src/Entity/Postfix/Alias.php
*** [err :: server.hostname.com] A /web/sites/api.company.com/shared/vendor/company/entities/src/Entity/Postfix/Repository
...
*** [err :: server.hostname.com] Checked out revision 11408.
*** [err :: server.hostname.com] Exception trace:
*** [err :: server.hostname.com] () at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Downloader/SvnDownloader.php:93
*** [err :: server.hostname.com] Composer\Downloader\SvnDownloader->execute() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Downloader/SvnDownloader.php:34
*** [err :: server.hostname.com] Composer\Downloader\SvnDownloader->doDownload() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Downloader/VcsDownloader.php:59
*** [err :: server.hostname.com] Composer\Downloader\VcsDownloader->download() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Downloader/DownloadManager.php:201
*** [err :: server.hostname.com] Composer\Downloader\DownloadManager->download() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Installer/LibraryInstaller.php:155
*** [err :: server.hostname.com] Composer\Installer\LibraryInstaller->installCode() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Installer/LibraryInstaller.php:86
*** [err :: server.hostname.com] Composer\Installer\LibraryInstaller->install() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Installer/InstallationManager.php:153
*** [err :: server.hostname.com] Composer\Installer\InstallationManager->install() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Installer/InstallationManager.php:140
*** [err :: server.hostname.com] Composer\Installer\InstallationManager->execute() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Installer.php:529
*** [err :: server.hostname.com] Composer\Installer->doInstall() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Installer.php:215
*** [err :: server.hostname.com] Composer\Installer->run() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Command/InstallCommand.php:122
*** [err :: server.hostname.com] Composer\Command\InstallCommand->execute() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:241
*** [err :: server.hostname.com] Symfony\Component\Console\Command\Command->run() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:892
*** [err :: server.hostname.com] Symfony\Component\Console\Application->doRunCommand() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:191
*** [err :: server.hostname.com] Symfony\Component\Console\Application->doRun() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Console/Application.php:117
*** [err :: server.hostname.com] Composer\Console\Application->doRun() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
*** [err :: server.hostname.com] Symfony\Component\Console\Application->run() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/src/Composer/Console/Application.php:83
*** [err :: server.hostname.com] Composer\Console\Application->run() at phar:///web/sites/api.company.com/releases/20140501101623/composer.phar/bin/composer:43
*** [err :: server.hostname.com] require() at /web/sites/api.company.com/releases/20140501101623/composer.phar:15
*** [err :: server.hostname.com] install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN]
Which OS/distro are you on? sigchild was a fix for OCI8/Oracle DBs and it's the first time I see someone say it fixes anything. Usually it just causes problems.
hm ok, very weird because debian isn't such an exotic system. I don't know what is causing this behavior, but possibly another compile flag or some library that you have.
Hello,
You recommend that --enable-sigchild can lead to issues with processes not returning the correct exit flags. I've run into the opposite. Compiling php without this option is causing SvnDownloader to think that the svn checkout is returning a 1, when it is really returning a zero. I've run the command from the command line and $? is always zero, but running composer fails every time.
Configure command without --enable-sigchild.
Composer error. Note that this is seen from a cap deploy command. I did try running the exact same composer install generated by cap deploy to rule out that it was a capifony/capistrano issue.
Configure command with --enable-sigchild
Same exact command used to generate the error above now executes correctly.
The text was updated successfully, but these errors were encountered: