Bug 207231 - lang/php70: dtrace option seems to be broken
Summary: lang/php70: dtrace option seems to be broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 22:56 UTC by rainer
Modified: 2016-02-16 07:23 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (miwi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2016-02-15 22:56:37 UTC
# This file is auto-generated by 'make config'.
# Options for php70-7.0.3
_OPTIONS_READ=php70-7.0.3
_FILE_COMPLETE_OPTIONS_LIST=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 LINKTHR ZTS
OPTIONS_FILE_SET+=CLI
OPTIONS_FILE_SET+=CGI
OPTIONS_FILE_SET+=FPM
OPTIONS_FILE_UNSET+=EMBED
OPTIONS_FILE_UNSET+=PHPDBG
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_SET+=DTRACE
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_SET+=LINKTHR
OPTIONS_FILE_SET+=ZTS

Thank you for using PHP.

config.status: creating php7.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/fpm/php-fpm.conf
config.status: creating sapi/fpm/www.conf
config.status: creating sapi/fpm/init.d.php-fpm
config.status: creating sapi/fpm/php-fpm.service
config.status: creating sapi/fpm/php-fpm.8
config.status: creating sapi/fpm/status.html
config.status: creating sapi/cgi/php-cgi.1
config.status: creating main/php_config.h
config.status: executing default commands
configure: WARNING: unrecognized options: --with-regex, --with-zend-vm
===========================================================================
=======================<phase: build          >============================
===>  Building for php70-7.0.3
CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing -DZTS " dtrace -h -C -s /wrkdirs/usr/ports/lang/php70/work/php-7.0.3/Zend/zend_dtrace.d -o Zend/zend_dtrace_gen.h.bak && sed -e 's,PHP_,DTRACE_,g' Zend/zend_dtrace_gen.h.bak > Zend/zend_dtrace_gen.h
dtrace: failed to compile script /wrkdirs/usr/ports/lang/php70/work/php-7.0.3/Zend/zend_dtrace.d: "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/php70/work/php-7.0.3
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/php70


Sorry, I never tried that during testing...
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 05:24:59 UTC
Hi Rainer,

Thanks for your report. I thought we did check that, I will try to fix it later today.

Thanks,

Martin
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 05:24:59 UTC
Hi Rainer,

Thanks for your report. I thought we did check that, I will try to fix it later today.

Thanks,

Martin
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-02-16 07:22:11 UTC
A commit references this bug:

Author: miwi
Date: Tue Feb 16 07:21:14 UTC 2016
New revision: 408980
URL: https://svnweb.freebsd.org/changeset/ports/408980

Log:
  - Fix build with dtrace enabled [1]
  - Cleanup some old leftovers

  PR:		207231 [1]

Changes:
  head/lang/php70/Makefile
  head/lang/php70/files/patch-acinclude.m4
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2016-02-16 07:23:13 UTC
Hi,

I have added a patch which address this problem.

Thanks again :).

- Martin