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

dev-lang/php-7.4.5::core-server-kit failing to compile

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Presumptive Root Cause:
      The apache2 USE flag seems to trigger a build failure.

      Description

      dev-lang/php-7.4.5::core-server-kit is failing to compile during upgrade with this error

       In file included from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/zend_portability.h:47,
       from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/zend_types.h:25,
       from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/zend.h:27,
       from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/main/php.h:33,
       from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/ext/pdo_mysql/pdo_mysql.c:24:
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:109:46: error: unknown type name ‘THREAD_T’
       109 | TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id);
      
      
      
      
      ^~~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:124:42: error: unknown type name ‘THREAD_T’
       124
      typedef void (*tsrm_thread_begin_func_t)(THREAD_T thread_id);
      
      
      ^~~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:125:40: error: unknown type name ‘THREAD_T’
       125
      typedef void (*tsrm_thread_end_func_t)(THREAD_T thread_id);
      
      
      ^~~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:133:10: error: unknown type name ‘THREAD_T’
       133
      TSRM_API THREAD_T tsrm_thread_id(void);
      
      
      ^~~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:134:10: error: unknown type name ‘MUTEX_T’
       134
      TSRM_API MUTEX_T tsrm_mutex_alloc(void);
      
      
      ^~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:135:31: error: unknown type name ‘MUTEX_T’
       135
      TSRM_API void tsrm_mutex_free(MUTEX_T mutexp);
      
      
      ^~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:136:30: error: unknown type name ‘MUTEX_T’
       136
      TSRM_API int tsrm_mutex_lock(MUTEX_T mutexp);
      
      
      ^~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:137:32: error: unknown type name ‘MUTEX_T’
       137
      TSRM_API int tsrm_mutex_unlock(MUTEX_T mutexp);
      
      
      ^~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:142:50: error: unknown type name ‘tsrm_thread_begin_func_t’
       142
      TSRM_API void *tsrm_set_new_thread_begin_handler(tsrm_thread_begin_func_t new_thread_begin_handler);
      
      
      ^~~~~~~~~~~~~~~~~~~~~~~~
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/Zend/../TSRM/TSRM.h:143:48: error: unknown type name ‘tsrm_thread_end_func_t’; did you mean ‘tsrm_shutdown_func_t’?
       143
      TSRM_API void *tsrm_set_new_thread_end_handler(tsrm_thread_end_func_t new_thread_end_handler);
      
      
      ^~~~~~~~~~~~~~~~~~~~~~
      
      
      tsrm_shutdown_func_t
       In file included from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/ext/mysqlnd/mysqlnd.h:61,
       from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/ext/pdo_mysql/php_pdo_mysql_int.h:25,
       from /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/ext/pdo_mysql/pdo_mysql.c:30:
       /var/tmp/portage/dev-lang/php-7.4.5/work/sapis-build/apache2/ext/mysqlnd/mysqlnd_structs.h:314:2: error: unknown type name ‘MUTEX_T’
       314
      MUTEX_T LOCK_access;
      
      
      ^~~~~~~
       make: *** [Makefile:1224: ext/pdo_mysql/pdo_mysql.lo] Error 1
      
      ERROR: dev-lang/php-7.4.5::core-server-kit failed (compile phase):
      emake failed
      

      Here is my options:

      ip-172-31-24-104 /home/bcowan # emerge -pv php
      These are the packages that would be merged, in order:
      Calculating dependencies... done!
       [ebuild NS ] dev-lang/php-7.4.5:7.4::core-server-kit [7.3.14:7.3::core-server-kit] USE="acl apache2 argon2 berkdb bzip2 cgi cli ctype curl fileinfo filter flatfile* fpm gd gdbm iconv intl ipv6 json mysql mysqli nls opcache pcntl pdo phar posix readline session simplexml sockets sodium spell sqlite ssl threads tidy tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xslt zip zlib -bcmath -calendar -cdb -cjk -coverage -debug -embed -enchant -exif -ffi% -firebird -ftp -gmp -imap -inifile -iodbc -kerberos -ldap -ldap-sasl -libedit -libressl -lmdb -maintainer-zts% -mhash -mssql -oci8-instant-client -odbc -phpdbg -postgres -qdbm (-selinux) -session-mm -sharedmem -snmp -soap -sysvipc -test -tokyocabinet -webp -xpm (-hash%) (-recode%) (-systemd%) (-wddx%) (-zip-encryption%)" 0 KiB
      Total: 1 package (1 in new slot), Size of downloads: 0 KiB 

        Attachments

          Activity

            People

            Assignee:
            moduledge moduledge
            Reporter:
            bcowan bcowan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: