Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2017 15:17:14 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: perl from ports failed compiling
Message-ID:  <1e9b4a94-5a3c-2b79-f644-6bf6251aa572@FreeBSD.org>
In-Reply-To: <593FE91E.8050402@gmail.com>
References:  <593FE91E.8050402@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fboANHrEvsCch03DXIJN9orLk9quswlhm
Content-Type: multipart/mixed; boundary="UiFVk7tI0Ch2SII4tISoLthcx1EGDRsi1";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <1e9b4a94-5a3c-2b79-f644-6bf6251aa572@FreeBSD.org>
Subject: Re: perl from ports failed compiling
References: <593FE91E.8050402@gmail.com>
In-Reply-To: <593FE91E.8050402@gmail.com>

--UiFVk7tI0Ch2SII4tISoLthcx1EGDRsi1
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2017/06/13 14:31, Friedrich Locke wrote:
> I am trying to get perl installed, but all i see on the terminal is:
>=20
> cc -c    -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing
> -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=3D=
2
> -Wall -Werror=3Ddeclaration-after-statement -Wextra -Wc++-compat
> -Wwrite-strings -Wthread-safety -O2 -pipe -fstack-protector
> -fno-strict-aliasing    -DVERSION=3D\"1.38\"  -DXS_VERSION=3D\"1.38\" -=
DPIC
> -fPIC "-I../.."  -DLIBC=3D"" DynaLoader.c
> rm -rf ../../DynaLoader.o
> cp DynaLoader.o ../../DynaLoader.o
> /usr/sbin/dtrace -G -s perldtrace.d -o dtrace_main.o perlmain.o
> dtrace: failed to link script perldtrace.d: No probe sites found for
> declared provider
> *** [dtrace_main.o] Error code 1
>=20
> make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1
> 1 error
>=20
> make[2]: stopped in /usr/ports/lang/perl5.24/work/perl-5.24.1
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail=
ure to
> the maintainer.
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/ports/lang/perl5.24
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/lang/perl5.24
>=20
> My system version is:
> etosha# uname -a
> FreeBSD etosha 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22
> 06:12:04 UTC 2017
> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>=20

So, you've clearly enabled the DTRACE option, which should work as
you're compiling on a supported architecture (amd64) and OS version
(11.0).  However, dtrace capabilities can be a tricky thing to compile
in properly.

Have you done a 'make clean' since enabling the DTRACE option?  You need
to recompile everything as one of the effects of turning on DTRACE is to
enable some conditionally included blocks of code.

Are you using poudriere or similar, that compiles software in a separate
jail?  If so, and the jail doesn't contain a copy of the kernel, then
dtrace will likely fail.  I believe you should be able to get round this
by adding -xnolibs to the dtrace command line -- unfortunately it seems
this version of perl doesn't have an equivalent to DTRACEFLAGS that I
can see, so you might have to resort to hacking on the Makefiles in the
perl sources.

	Cheers,

	Matthew





--UiFVk7tI0Ch2SII4tISoLthcx1EGDRsi1--

--fboANHrEvsCch03DXIJN9orLk9quswlhm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJZP/PwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnY3wQAJ0OQgcdN3zruEkyZIOGCNbQ
Ewt2eQuq+YbxGELGJd0U2veBw2XQArvYLQFdqgpUI1evh7LV7q5pysSjV3JP6p7r
1ryeb+8ws9hPmepXU0ReT8YqidvS2gYuD+RBnMeerl0wurTUQsqRU42bPnkd+Sqj
GGpe4ad7EsSUEwLXfKFDQg2XyeU/pr/QcjewbdEhvBUOO1fYQc8sJkLb144NdhA+
yoytsadoezg9IGWPMZ7ZjA3OM9/Vx99e+9mgE+vGwue5jpUF3GS2/JNAGl4MdDXH
yiwKLJ9Rdh3QZ1NLcs1DdgvBOFw8mQRhyRs7bJlKJ/BFmVxMzVuuOndrHP1KzrBx
HpmDKxklvvO7GuyMp1ePlHI9beKi+VBcbZA9EH5BpKpDf50t7cryT3aU423zw7VG
RD962mtrvCT8FQ7xbqYj3LxLH7xlr9O+a8Lbu+MrP715FnZQcRTw0ZuYE9UW52qn
zwU/HT9bHnXismdQ2jBOGlBxPEj7irsZ3ns9HHWSdvHyo6+oBc0mZvpb3O/M2Z7w
ap21EnX+d9GzSw3YdXZzjle8DTSbIwvG1MzjfEpTn2IiT/uS22GXRElDDWsYX11j
Y9UI471wQo5S8AjVw8W0zfQ7ydVcmFaLLeMV/eLNU4Frr9dLx4gju8xP1664aecn
ExvM76OKSJE7dwdkYRjg
=Asqu
-----END PGP SIGNATURE-----

--fboANHrEvsCch03DXIJN9orLk9quswlhm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e9b4a94-5a3c-2b79-f644-6bf6251aa572>