Date: Thu, 25 Oct 2018 09:13:27 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 232675] Regression of dtrace on 13-CURRENT Message-ID: <bug-232675-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232675 Bug ID: 232675 Summary: Regression of dtrace on 13-CURRENT Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yasu@utahime.org On 13-CURRENT base r339548 build of lang/perl5.26 fails with configure erro= r. ---------------------------------------------------------------------- yasu@rolling-vm-freebsd1[2100]% uname -a FreeBSD rolling-vm-freebsd1.home.utahime.org 13.0-CURRENT FreeBSD 13.0-CURR= ENT r339548 GENERIC_UTAHIME amd64 yasu@rolling-vm-freebsd1[2101]% pwd /usr/ports/lang/perl5.26 yasu@rolling-vm-freebsd1[2102]% make =3D=3D=3D> License ART10 GPLv1+ accepted by the user =3D=3D=3D> perl5.26-5.26.2 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by perl5.26-5.26.2 for building =3D=3D=3D> Extracting for perl5.26-5.26.2 =3D> SHA256 Checksum OK for perl/perl-5.26.2.tar.xz. /bin/ln -s libperl.so.5.26.2 /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.2= 6.2/libperl.so /bin/ln -s libperl.so.5.26.2 /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.2= 6.2/libperl.so.5.26 =3D=3D=3D> Patching for perl5.26-5.26.2 =3D=3D=3D> Applying FreeBSD patches for perl5.26-5.26.2 /usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g'=20 /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.2= 6.2/Configure /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.2= 6.2/hints/freebsd.sh /usr/bin/sed -i.bak -e '/do_installprivlib =3D 0 if .versiononly/d;=20 /^if.*nopods.*versiononly || /s/.*/if (1) {/'=20 /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.2= 6.2/installperl =3D=3D=3D> Configuring for perl5.26-5.26.2 First let's make sure your kit is complete. Checking... (snip) Colon-separated list of additional directories for perl to search? [none]= =20=20 Checking out function prototypes... Support DTrace if available? [y]=20=20 Where is the dtrace executable? (~name ok) [/usr/sbin/dtrace]=20=20 *** Configure: Fatal Error: /usr/sbin/dtrace doesn't support -h flag *** *** Your installed dtrace doesn't support the -h switch to compile a D *** program into a C header. Can't continue. =3D=3D=3D> Script "Configure" failed unexpectedly. Please report the problem to mat@FreeBSD.org [maintainer] and attach the "/usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.= 26.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /net/freebsd/ports/head/lang/perl5.26 yasu@rolling-vm-freebsd1[2103]%=20 ---------------------------------------------------------------------- In perl-5.26.2/Configure there is following test. ---------------------------------------------------------------------- if $test -f $dtrace then if $dtrace -h -s ../perldtrace.d \ -o perldtrace.tmp >/dev/null 2>&1 \ && rm -f perldtrace.tmp then echo " " echo "Good: your $dtrace knows about the -h flag."= =20=20=20=20=20=20 else cat >&2 <<EOM *** $me: Fatal Error: $dtrace doesn't support -h flag *** *** Your installed dtrace doesn't support the -h switch to compile a D=20= =20=20=20=20=20=20=20=20=20 *** program into a C header. Can't continue. EOM exit 1 fi break; fi ---------------------------------------------------------------------- And when I executed this test on command line, it result in following error. ---------------------------------------------------------------------- yasu@rolling-vm-freebsd1[2056]% uname -a FreeBSD rolling-vm-freebsd1.home.utahime.org 13.0-CURRENT FreeBSD 13.0-CURR= ENT r339548 GENERIC_UTAHIME amd64 yasu@rolling-vm-freebsd1[2057]% pwd /home/yasu/tmp/perl-5.26.2 yasu@rolling-vm-freebsd1[2058]% dtrace -h -s perldtrace.d -o perldtrace.tmp dtrace: failed to compile script perldtrace.d: "/usr/lib/dtrace/mbuf.d", li= ne 114: failed to copy type of 'm_data': Type information is in parent and unavailable yasu@rolling-vm-freebsd1[2059]% ---------------------------------------------------------------------- But on 12.0-BETA1 it succeeds without any error. ---------------------------------------------------------------------- yasu@rolling-vm-freebsd3[2006]% uname -a FreeBSD rolling-vm-freebsd3.home.utahime.org 12.0-BETA1 FreeBSD 12.0-BETA1 r339435 GENERIC_UTAHIME amd64 yasu@rolling-vm-freebsd3[2007]% pwd /home/yasu/tmp/perl-5.26.2 yasu@rolling-vm-freebsd3[2008]% dtrace -h -s perldtrace.d -o perldtrace.tmp yasu@rolling-vm-freebsd3[2009]% ---------------------------------------------------------------------- So there is regression about dtrace between base r339436 and base r339548. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232675-227>