Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2014 21:55:26 +0000
From:      Doug Sampson <dougs@dawnsign.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: Error upgrading php5-5.4.33_1
Message-ID:  <E6B2517F8D6DBF4CABB8F38ACA367E78341B70D6@Draco.dawnsign.com>
In-Reply-To: <E6B2517F8D6DBF4CABB8F38ACA367E78341B6F52@Draco.dawnsign.com>
References:  <E6B2517F8D6DBF4CABB8F38ACA367E78341B6F52@Draco.dawnsign.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> When trying to upgrade php5-5.4.33_1 to 5.3.34, the following error was
> logged:
>=20
> config.status: executing default commands
> =3D=3D=3D>  Building for php5-5.4.34
> CFLAGS=3D"-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
>=20
> Stop.
> make[2]: stopped in /usr/ports/lang/php5/work/php-5.4.34
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/ports/lang/php5
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/lang/php5
>=20
> =3D=3D=3D>>> make build failed for lang/php5
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for lang/php5 failed
> =3D=3D=3D>>> Aborting update
>=20
>=20
> =3D=3D=3D>>> You can restart from the point of failure with this command =
line:
>=20
>=20
> I tried MAKE_JOBS_UNSAFE=3Dyes 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=3DYES" >> /boot/loader.conf

In order for the php5 port to rebuild.

~Doug



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6B2517F8D6DBF4CABB8F38ACA367E78341B70D6>