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

harvester: autogen: pecl-http ebuild metadata error

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium (Ebuild) Medium (Ebuild)
    • None
    • None
    • None
    • One of the pecl ebuilds will not function.

      When regenning the harvester/2023-03 tree, I saw that the pecl-http autogen seems to be producing an invalid ebuild:

      [ERROR 09:12:30] dev-php/pecl-http-4.2.3 metadata error:  * ERROR: dev-php/pecl-http-4.2.3:: failed (depend phase):     
           *   USE_PHP is not set for the php-ext-source-r3 eclass                                                            
           *                                                                                                                  
           * Call stack:                                                                                                      
           *                  ebuild.sh, line 577:  Called source '/home/tree/repo_tmp/dest-trees/core-server-kit/dev-php/pecl
      -http/pecl-http-4.2.3.ebuild'                                                                                           
           *     pecl-http-4.2.3.ebuild, line  11:  Called inherit 'php-ext-pecl-r3'                        
           *                  ebuild.sh, line 282:  Called __qa_source '/home/tree/repo_tmp/dest-trees/core-kit/eclass/php-ext
      -pecl-r3.eclass'                                                                                                        
           *                  ebuild.sh, line  80:  Called source '/home/tree/repo_tmp/dest-trees/core-kit/eclass/php-ext-pecl
      -r3.eclass'                                                                                                             
           *     php-ext-pecl-r3.eclass, line  45:  Called inherit 'php-ext-source-r3'       
           *                  ebuild.sh, line 282:  Called __qa_source '/home/tree/repo_tmp/dest-trees/core-kit/eclass/php-ext
      -source-r3.eclass'                                                                                                      
           *                  ebuild.sh, line  80:  Called source '/home/tree/repo_tmp/dest-trees/core-kit/eclass/php-ext-sour
      ce-r3.eclass'                                                                                                           
           *   php-ext-source-r3.eclass, line  54:  Called die                                                                
           * The specific snippet of code:                                                                                    
           *   [[ -z "${USE_PHP}" ]] && \                                                                                     
           *          die "USE_PHP is not set for the php-ext-source-r3 eclass"                
           *                                                                                                                  
           * If you need support, post the output of `emerge --info '=dev-php/pecl-http-4.2.3::'`,                            
           * the complete build log and the output of `emerge -pqv '=dev-php/pecl-http-4.2.3::'`.           
           * Working directory: '/home/tree'                                                                                  
           * S: '/pecl_http-4.2.3'                                                                                            
                                                                        

      tczaude  – I think this is from your recent commit for FL-9464 – can you take a look?

            seemant seemant
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: