Error upgrading php5-5.4.33_1

Doug Sampson dougs at dawnsign.com
Wed Oct 22 21:55:29 UTC 2014


> When trying to upgrade php5-5.4.33_1 to 5.3.34, the following error was
> logged:
> 
> config.status: executing default commands
> ===>  Building for php5-5.4.34
> CFLAGS="-pipe -g -fno-strict-aliasing -O0 -Wall -DZTS" dtrace -h -C -s
> /usr/ports/lang/php5/work/php-5.4.34/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 /usr/ports/lang/php5/work/php-
> 5.4.34/Zend/zend_dtrace.d: line 30: failed to resolve INP_IPV4: Unknown
> variable name
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/lang/php5/work/php-5.4.34
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/lang/php5
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/lang/php5
> 
> ===>>> make build failed for lang/php5
> ===>>> Aborting update
> 
> ===>>> Update for lang/php5 failed
> ===>>> Aborting update
> 
> 
> ===>>> You can restart from the point of failure with this command line:
> 
> 
> I tried MAKE_JOBS_UNSAFE=yes to no effect.

Just found that I needed to load the dtraceall module as follows:

# kldload dtraceall

And make it persist across reboots:

# echo "dtraceall_load=YES" >> /boot/loader.conf

In order for the php5 port to rebuild.

~Doug


More information about the freebsd-questions mailing list