[MacPorts] #63350: Xdebug not building on El Capitan

MacPorts noreply at macports.org
Sun Aug 8 22:01:53 UTC 2021


#63350: Xdebug not building on El Capitan
---------------------------+------------------------
  Reporter:  mav2287       |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  PHP Xdebug
      Port:  php80-xdebug  |
---------------------------+------------------------

Comment (by mav2287):

 Since the error in the log was pretty vague I ran the {{{cd}}} and
 {{{make}}} commands it was complaining about form there terminal and go
 the following output:

 {{{
 # cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4"
 # /usr/bin/make -j16 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4'
 Makefile:245: warning: overriding commands for target `test'
 Makefile:132: warning: ignoring old commands for target `test'
 /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/libtool --mode=compile
 /usr/bin/clang -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/main
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4 -I/opt/local/include/php80/php
 -I/opt/local/include/php80/php/main -I/opt/local/include/php80/php/TSRM
 -I/opt/local/include/php80/php/Zend -I/opt/local/include/php80/php/ext
 -I/opt/local/include/php80/php/ext/date/lib -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src  -I/opt/local/include
 -I/opt/local/include/LegacySupport -DHAVE_CONFIG_H  -pipe -Os
 -I/opt/local/include/LegacySupport -arch x86_64     -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src/lib/timing.c -o
 src/lib/timing.lo
 /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/libtool --mode=compile
 /usr/bin/clang -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/main
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4 -I/opt/local/include/php80/php
 -I/opt/local/include/php80/php/main -I/opt/local/include/php80/php/TSRM
 -I/opt/local/include/php80/php/Zend -I/opt/local/include/php80/php/ext
 -I/opt/local/include/php80/php/ext/date/lib -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src  -I/opt/local/include
 -I/opt/local/include/LegacySupport -DHAVE_CONFIG_H  -pipe -Os
 -I/opt/local/include/LegacySupport -arch x86_64     -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src/tracing/tracing.c -o
 src/tracing/tracing.lo
  /usr/bin/clang -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/main
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4 -I/opt/local/include/php80/php
 -I/opt/local/include/php80/php/main -I/opt/local/include/php80/php/TSRM
 -I/opt/local/include/php80/php/Zend -I/opt/local/include/php80/php/ext
 -I/opt/local/include/php80/php/ext/date/lib -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src -I/opt/local/include
 -I/opt/local/include/LegacySupport -DHAVE_CONFIG_H -pipe -Os
 -I/opt/local/include/LegacySupport -arch x86_64 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src/lib/timing.c  -fno-common -DPIC
 -o src/lib/.libs/timing.o
  /usr/bin/clang -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/main
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4 -I/opt/local/include/php80/php
 -I/opt/local/include/php80/php/main -I/opt/local/include/php80/php/TSRM
 -I/opt/local/include/php80/php/Zend -I/opt/local/include/php80/php/ext
 -I/opt/local/include/php80/php/ext/date/lib -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src -I/opt/local/include
 -I/opt/local/include/LegacySupport -DHAVE_CONFIG_H -pipe -Os
 -I/opt/local/include/LegacySupport -arch x86_64 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src/tracing/tracing.c  -fno-common
 -DPIC -o src/tracing/.libs/tracing.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src/lib/timing.c:111:9: warning:
 implicit declaration of function
       'clock_gettime_nsec_np' is invalid in C99 [-Wimplicit-function-
 declaration]
         return clock_gettime_nsec_np(CLOCK_UPTIME_RAW);
                ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4/src/lib/timing.c:111:31: error: use
 of undeclared identifier 'CLOCK_UPTIME_RAW'
         return clock_gettime_nsec_np(CLOCK_UPTIME_RAW);
                                      ^
 1 warning and 1 error generated.
 make: *** [src/lib/timing.lo] Error 1
 make: *** Waiting for unfinished jobs....
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_php_php-
 xdebug/php80-xdebug/work/xdebug-3.0.4'

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63350#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list