Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10607

[core-server-kit] dev-php/composer-bin to autogen

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Important (Ebuild) Important (Ebuild)
    • None
    • None
    • None

      At the moment the compiled dev-php/composer seems broken.

       

      $ composer 
      PHP Fatal error:  Uncaught TypeError: Return value of includeIfExists() must be an instance of Composer\Autoload\ClassLoader or null, int returned in /usr/share/composer/src/bootstrap.php:17
      Stack trace:
      #0 /usr/share/composer/src/bootstrap.php(20): includeIfExists()
      #1 /usr/share/composer/bin/composer(14): require('/usr/share/comp...')
      #2 {main}
        thrown in /usr/share/composer/src/bootstrap.php on line 17

      Could be a good idea to have also a `dev-php/composer-bin` created from the official .phar file.
      I created in the past the ebuild for this:
      https://github.com/geaaru/geaaru_overlay/blob/master/dev-php/composer/composer-1.6.5.ebuild
      For a fast solution until could be analyzed dev-php/composer issue we could just supply a new package that follow this way.

       

            tczaude tczaude
            geaaru geaaru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: