Page 1 sur 1

[paquet] Installation de php-box

Publié : mar. 08 oct. 2019, 18:22
par stephan08
Bonjour,

J'ai besoin d'installer php-box pour pouvoir installer php-cs-fixer. Du coup, j'ai réccupéré ce qu'il fallait depuis AUR: git clone https://aur.archlinux.org/php-box.git

Ensuite, j'ai lancé un: makepkg -si

Puis, j'ai eu cette erreur là:

Code : Tout sélectionner

==> Création du paquet php-box 3.8.0-3 (mar. 08 oct. 2019 20:07:47 CEST)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> Récupération des sources…
  -> Mise à jour du dépôt php-box git
Récupération de origin
==> Validation des fichiers source avec sha512sums…
    php-box ... Ignoré
==> Extraction des sources…
  -> Création d’une copie de travail du dépot php-box git…
Remise à zéro de la branche 'makepkg'
==> Suppression du répertoire $pkgdir/ existant…
==> Lancement de build()…
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
bin/box compile --working-dir requirement-checker
[warning] No restart (Unable to read ini: /etc/php/php.ini)

    ____            
   / __ )____  _  __
  / __  / __ \| |/_/
 / /_/ / /_/ />  <  
/_____/\____/_/|_|  
                    

Box version 3.x-dev@e7d8df3

 // Loading the configuration file                                                            
 // "/home/deepak/programmes/php-box/src/php-box/requirement-checker/box.json.dist</c         
 // omment>".                                                                                 

🔨  Building the PHAR "/home/deepak/programmes/php-box/src/php-box/requirement-checker/bin/check-requirements.phar"


In Box.php line 101:
                                                                                             
  creating archive "/home/deepak/programmes/php-box/src/php-box/requirement-checker/bin/che  
  ck-requirements.phar" disabled by the php.ini setting phar.readonly                        
                                                                                             

compile [-c|--config CONFIG] [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [-d|--working-dir WORKING-DIR]

make: *** [Makefile:383: requirement-checker/bin/check-requirements.phar] Error 1
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
J'ai compris que dans le fichier php.ini il fallait faire en sorte que les fichiers .phar puissent pouvoir écrire. Donc j'ai configure comme ceci dans le php.ini phar.readonly = Off.

J'ai relancé makepkg -si et cette fois j'obtiens:

Code : Tout sélectionner

==> Création du paquet php-box 3.8.0-3 (mar. 08 oct. 2019 20:10:58 CEST)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> Récupération des sources…
  -> Mise à jour du dépôt php-box git
Récupération de origin
==> Validation des fichiers source avec sha512sums…
    php-box ... Ignoré
==> Extraction des sources…
  -> Création d’une copie de travail du dépot php-box git…
Remise à zéro de la branche 'makepkg'
==> Suppression du répertoire $pkgdir/ existant…
==> Lancement de build()…
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
bin/box compile --working-dir requirement-checker
[warning] No restart (Unable to read ini: /etc/php/php.ini)

    ____            
   / __ )____  _  __
  / __  / __ \| |/_/
 / /_/ / /_/ />  <  
/_____/\____/_/|_|  
                    

Box version 3.x-dev@e7d8df3

 // Loading the configuration file                                                            
 // "/home/deepak/programmes/php-box/src/php-box/requirement-checker/box.json.dist</c         
 // omment>".                                                                                 

🔨  Building the PHAR "/home/deepak/programmes/php-box/src/php-box/requirement-checker/bin/check-requirements.phar"

? Registering compactors
  + KevinGH\Box\Compactor\Php
  + KevinGH\Box\Compactor\PhpScoper
  + KevinGH\Box\Compactor\Json
? Adding main file: /home/deepak/programmes/php-box/src/php-box/requirement-checker/bin/check-requirements.php
? Skip requirements checker
? Adding binary files
    > No file found
? Auto-discover files? Yes
? Exclude dev files? Yes
? Adding files

                                                                                              
 [ERROR] Amp\Process\StatusError: Process is not running. in                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/process/lib/Process.php:138 
         Stack trace:                                                                         
         #0                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Context/Process
         .php(196): Amp\Process\Process->kill()                                               
         #1 [internal function]:                                                              
         Amp\Parallel\Context\Process->Amp\Parallel\Context\{closure}()                       
         #2                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(102): 
         Generator->throw(Object(Amp\Process\ProcessException))                               
         #3 /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Failure.php(29): 
         Amp\Coroutine->Amp\{closure}(Object(Amp\Process\ProcessException), NULL)             
         #4                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Internal/Placeholder
         .php(38): Amp\Failure->onResolve(Object(Closure))                                    
         #5                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(138): 
         Amp\Coroutine->onResolve(Object(Closure))                                            
         #6                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #7                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Context/Process
         .php(199): Amp\call(Object(Closure))                                                 
         #8                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/Internal
         /WorkerProcess.php(39): Amp\Parallel\Context\Process->start()                        
         #9 [internal function]:                                                              
         Amp\Parallel\Worker\Internal\WorkerProcess->Amp\Parallel\Worker\Internal\{closure}() 
         #10                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #11                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #12                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/Internal
         /WorkerProcess.php(51): Amp\call(Object(Closure))                                    
         #13                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/TaskWork
         er.php(105): Amp\Parallel\Worker\Internal\WorkerProcess->start()                     
         #14 [internal function]:                                                             
         Amp\Parallel\Worker\TaskWorker->Amp\Parallel\Worker\{closure}()                      
         #15                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #16                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #17                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/TaskWork
         er.php(135): Amp\call(Object(Closure))                                               
         #18                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/DefaultP
         ool.php(152):                                                                        
         Amp\Parallel\Worker\TaskWorker->enqueue(Object(Amp\ParallelFunctions\Internal\Paralle
         lTask))                                                                              
         #19                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/function
         s.php(42):                                                                           
         Amp\Parallel\Worker\DefaultPool->enqueue(Object(Amp\ParallelFunctions\Internal\Parall
         elTask))                                                                             
         #20                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(35):                                                                        
         Amp\Parallel\Worker\enqueue(Object(Amp\ParallelFunctions\Internal\ParallelTask))     
         #21 [internal function]: Amp\ParallelFunctions\{closure}('/home/deepak/pr...')       
         #22                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(53): array_map(Object(Closure), Array)                                      
         #23 [internal function]: Amp\ParallelFunctions\{closure}()                           
         #24                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #25                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #26                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(60): Amp\call(Object(Closure))                                              
         #27 /home/deepak/programmes/php-box/src/php-box/src/Box.php(424):                    
         Amp\ParallelFunctions\parallelMap(Array, Object(Closure))                            
         #28 /home/deepak/programmes/php-box/src/php-box/src/Box.php(298):                    
         KevinGH\Box\Box->processContents(Array)                                              
         #29 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(391):
         KevinGH\Box\Box->addFiles(Array, false)                                              
         #30 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(226):
         KevinGH\Box\Console\Command\Compile->addFiles(Object(KevinGH\Box\Configuration\Config
         uration), Object(KevinGH\Box\Box), Object(KevinGH\Box\Console\Logger\CompilerLogger),
         Object(KevinGH\Box\Console\IO\IO))                                                   
         #31 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(193):
         KevinGH\Box\Console\Command\Compile->createPhar(Object(KevinGH\Box\Configuration\Conf
         iguration), Object(KevinGH\Box\Console\Logger\CompilerLogger),                       
         Object(KevinGH\Box\Console\IO\IO), false)                                            
         #32                                                                                  
         /home/deepak/programmes/php-box/src/php-box/src/Console/Command/BaseCommand.php(42): 
         KevinGH\Box\Console\Command\Compile->executeCommand(Object(KevinGH\Box\Console\IO\IO)
         )                                                                                    
         #33                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Command/Command.ph
         p(255):                                                                              
         KevinGH\Box\Console\Command\BaseCommand->execute(Object(Symfony\Component\Console\Inp
         ut\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))               
         #34                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(93
         4):                                                                                  
         Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input
         \ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))                 
         #35                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(27
         3):                                                                                  
         Symfony\Component\Console\Application->doRunCommand(Object(KevinGH\Box\Console\Comman
         d\Compile), Object(Symfony\Component\Console\Input\ArgvInput),                       
         Object(Symfony\Component\Console\Output\ConsoleOutput))                              
         #36                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(14
         9):                                                                                  
         Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\A
         rgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))                   
         #37 /home/deepak/programmes/php-box/src/php-box/bin/box(53):                         
         Symfony\Component\Console\Application->run()                                         
         #38 {main}                                                                           
                                                                                              

                                                                                              
 [ERROR] Amp\Process\StatusError: Process is not running. in                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/process/lib/Process.php:138 
         Stack trace:                                                                         
         #0                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Context/Process
         .php(196): Amp\Process\Process->kill()                                               
         #1 [internal function]:                                                              
         Amp\Parallel\Context\Process->Amp\Parallel\Context\{closure}()                       
         #2                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(102): 
         Generator->throw(Object(Amp\Process\ProcessException))                               
         #3 /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Failure.php(29): 
         Amp\Coroutine->Amp\{closure}(Object(Amp\Process\ProcessException), NULL)             
         #4                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Internal/Placeholder
         .php(38): Amp\Failure->onResolve(Object(Closure))                                    
         #5                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(138): 
         Amp\Coroutine->onResolve(Object(Closure))                                            
         #6                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #7                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Context/Process
         .php(199): Amp\call(Object(Closure))                                                 
         #8                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/Internal
         /WorkerProcess.php(39): Amp\Parallel\Context\Process->start()                        
         #9 [internal function]:                                                              
         Amp\Parallel\Worker\Internal\WorkerProcess->Amp\Parallel\Worker\Internal\{closure}() 
         #10                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #11                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #12                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/Internal
         /WorkerProcess.php(51): Amp\call(Object(Closure))                                    
         #13                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/TaskWork
         er.php(105): Amp\Parallel\Worker\Internal\WorkerProcess->start()                     
         #14 [internal function]:                                                             
         Amp\Parallel\Worker\TaskWorker->Amp\Parallel\Worker\{closure}()                      
         #15                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #16                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #17                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/TaskWork
         er.php(135): Amp\call(Object(Closure))                                               
         #18                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/DefaultP
         ool.php(152):                                                                        
         Amp\Parallel\Worker\TaskWorker->enqueue(Object(Amp\ParallelFunctions\Internal\Paralle
         lTask))                                                                              
         #19                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/function
         s.php(42):                                                                           
         Amp\Parallel\Worker\DefaultPool->enqueue(Object(Amp\ParallelFunctions\Internal\Parall
         elTask))                                                                             
         #20                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(35):                                                                        
         Amp\Parallel\Worker\enqueue(Object(Amp\ParallelFunctions\Internal\ParallelTask))     
         #21 [internal function]: Amp\ParallelFunctions\{closure}('/home/deepak/pr...')       
         #22                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(53): array_map(Object(Closure), Array)                                      
         #23 [internal function]: Amp\ParallelFunctions\{closure}()                           
         #24                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #25                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #26                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(60): Amp\call(Object(Closure))                                              
         #27 /home/deepak/programmes/php-box/src/php-box/src/Box.php(424):                    
         Amp\ParallelFunctions\parallelMap(Array, Object(Closure))                            
         #28 /home/deepak/programmes/php-box/src/php-box/src/Box.php(298):                    
         KevinGH\Box\Box->processContents(Array)                                              
         #29 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(391):
         KevinGH\Box\Box->addFiles(Array, false)                                              
         #30 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(226):
         KevinGH\Box\Console\Command\Compile->addFiles(Object(KevinGH\Box\Configuration\Config
         uration), Object(KevinGH\Box\Box), Object(KevinGH\Box\Console\Logger\CompilerLogger),
         Object(KevinGH\Box\Console\IO\IO))                                                   
         #31 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(193):
         KevinGH\Box\Console\Command\Compile->createPhar(Object(KevinGH\Box\Configuration\Conf
         iguration), Object(KevinGH\Box\Console\Logger\CompilerLogger),                       
         Object(KevinGH\Box\Console\IO\IO), false)                                            
         #32                                                                                  
         /home/deepak/programmes/php-box/src/php-box/src/Console/Command/BaseCommand.php(42): 
         KevinGH\Box\Console\Command\Compile->executeCommand(Object(KevinGH\Box\Console\IO\IO)
         )                                                                                    
         #33                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Command/Command.ph
         p(255):                                                                              
         KevinGH\Box\Console\Command\BaseCommand->execute(Object(Symfony\Component\Console\Inp
         ut\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))               
         #34                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(93
         4):                                                                                  
         Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input
         \ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))                 
         #35                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(27
         3):                                                                                  
         Symfony\Component\Console\Application->doRunCommand(Object(KevinGH\Box\Console\Comman
         d\Compile), Object(Symfony\Component\Console\Input\ArgvInput),                       
         Object(Symfony\Component\Console\Output\ConsoleOutput))                              
         #36                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(14
         9):                                                                                  
         Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\A
         rgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))                   
         #37 /home/deepak/programmes/php-box/src/php-box/bin/box(53):                         
         Symfony\Component\Console\Application->run()                                         
         #38 {main}                                                                           
                                                                                              

                                                                                              
 [ERROR] Amp\Process\StatusError: Process is not running. in                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/process/lib/Process.php:138 
         Stack trace:                                                                         
         #0                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Context/Process
         .php(196): Amp\Process\Process->kill()                                               
         #1 [internal function]:                                                              
         Amp\Parallel\Context\Process->Amp\Parallel\Context\{closure}()                       
         #2                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(102): 
         Generator->throw(Object(Amp\Process\ProcessException))                               
         #3 /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Failure.php(29): 
         Amp\Coroutine->Amp\{closure}(Object(Amp\Process\ProcessException), NULL)             
         #4                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Internal/Placeholder
         .php(38): Amp\Failure->onResolve(Object(Closure))                                    
         #5                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(138): 
         Amp\Coroutine->onResolve(Object(Closure))                                            
         #6                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #7                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Context/Process
         .php(199): Amp\call(Object(Closure))                                                 
         #8                                                                                   
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/Internal
         /WorkerProcess.php(39): Amp\Parallel\Context\Process->start()                        
         #9 [internal function]:                                                              
         Amp\Parallel\Worker\Internal\WorkerProcess->Amp\Parallel\Worker\Internal\{closure}() 
         #10                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #11                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #12                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/Internal
         /WorkerProcess.php(51): Amp\call(Object(Closure))                                    
         #13                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/TaskWork
         er.php(105): Amp\Parallel\Worker\Internal\WorkerProcess->start()                     
         #14 [internal function]:                                                             
         Amp\Parallel\Worker\TaskWorker->Amp\Parallel\Worker\{closure}()                      
         #15                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #16                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #17                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/TaskWork
         er.php(135): Amp\call(Object(Closure))                                               
         #18                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/DefaultP
         ool.php(152):                                                                        
         Amp\Parallel\Worker\TaskWorker->enqueue(Object(Amp\ParallelFunctions\Internal\Paralle
         lTask))                                                                              
         #19                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel/lib/Worker/function
         s.php(42):                                                                           
         Amp\Parallel\Worker\DefaultPool->enqueue(Object(Amp\ParallelFunctions\Internal\Parall
         elTask))                                                                             
         #20                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(35):                                                                        
         Amp\Parallel\Worker\enqueue(Object(Amp\ParallelFunctions\Internal\ParallelTask))     
         #21 [internal function]: Amp\ParallelFunctions\{closure}('/home/deepak/pr...')       
         #22                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(53): array_map(Object(Closure), Array)                                      
         #23 [internal function]: Amp\ParallelFunctions\{closure}()                           
         #24                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/Coroutine.php(60):  
         Generator->current()                                                                 
         #25                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/amp/lib/functions.php(66):  
         Amp\Coroutine->__construct(Object(Generator))                                        
         #26                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/amphp/parallel-functions/src/funct
         ions.php(60): Amp\call(Object(Closure))                                              
         #27 /home/deepak/programmes/php-box/src/php-box/src/Box.php(424):                    
         Amp\ParallelFunctions\parallelMap(Array, Object(Closure))                            
         #28 /home/deepak/programmes/php-box/src/php-box/src/Box.php(298):                    
         KevinGH\Box\Box->processContents(Array)                                              
         #29 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(391):
         KevinGH\Box\Box->addFiles(Array, false)                                              
         #30 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(226):
         KevinGH\Box\Console\Command\Compile->addFiles(Object(KevinGH\Box\Configuration\Config
         uration), Object(KevinGH\Box\Box), Object(KevinGH\Box\Console\Logger\CompilerLogger),
         Object(KevinGH\Box\Console\IO\IO))                                                   
         #31 /home/deepak/programmes/php-box/src/php-box/src/Console/Command/Compile.php(193):
         KevinGH\Box\Console\Command\Compile->createPhar(Object(KevinGH\Box\Configuration\Conf
         iguration), Object(KevinGH\Box\Console\Logger\CompilerLogger),                       
         Object(KevinGH\Box\Console\IO\IO), false)                                            
         #32                                                                                  
         /home/deepak/programmes/php-box/src/php-box/src/Console/Command/BaseCommand.php(42): 
         KevinGH\Box\Console\Command\Compile->executeCommand(Object(KevinGH\Box\Console\IO\IO)
         )                                                                                    
         #33                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Command/Command.ph
         p(255):                                                                              
         KevinGH\Box\Console\Command\BaseCommand->execute(Object(Symfony\Component\Console\Inp
         ut\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))               
         #34                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(93
         4):                                                                                  
         Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input
         \ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))                 
         #35                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(27
         3):                                                                                  
         Symfony\Component\Console\Application->doRunCommand(Object(KevinGH\Box\Console\Comman
         d\Compile), Object(Symfony\Component\Console\Input\ArgvInput),                       
         Object(Symfony\Component\Console\Output\ConsoleOutput))                              
         #36                                                                                  
         /home/deepak/programmes/php-box/src/php-box/vendor/symfony/console/Application.php(14
         9):                                                                                  
         Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\A
         rgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))                   
         #37 /home/deepak/programmes/php-box/src/php-box/bin/box(53):                         
         Symfony\Component\Console\Application->run()                                         
         #38 {main}
         
 In functions.php line 56:
                                                                                             
  Multiple errors encountered; use Amp\MultiReasonException::getReasons() to retrieve the a  
  rray of exceptions thrown  
                                                                  
                                                                                                                                                                                   
compile [-c|--config CONFIG] [--debug] [--no-parallel] [--no-restart] [--dev] [--no-config] [--with-docker] [-d|--working-dir WORKING-DIR]

make: *** [Makefile:383: requirement-checker/bin/check-requirements.phar] Error 1
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…

Comment dois je m'y prendre pour installer ce paquet?

Merci par avance

Re: [paquet] Installation de php-box

Publié : dim. 13 oct. 2019, 09:20
par FoolEcho
Salut,

Il est préférable que tu contactes directement le mainteneur du paquet sur AUR.

Si l'option phar.readonly est désactivée de base c'est bien pour des raisons de sécurité apparemment... Et dans tous les cas il est très louche de devoir modifier un fichier de configuration sur la machine (/etc/php/php.ini) pour pouvoir construire ce paquet... :|