Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2018 03:06:39 +0000 (UTC)
From:      Nathan Owens <ndowens@yahoo.com>
To:        FreeBSD Ports <ports@freebsd.org>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: librtmp-2.4.20151223_2
Message-ID:  <183936214.1539.1540436799692@mail.yahoo.com>
In-Reply-To: <c6ebdad3-e6d8-0b3b-0e58-05c3b50c4d5e@gmail.com>
References:  <de95aa8d-dc45-8784-673f-8e0f7644a0f6@gmail.com> <4ldb-s1lh-wny@FreeBSD.org> <c6ebdad3-e6d8-0b3b-0e58-05c3b50c4d5e@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 Have you updated your ports tree today? As there was a commit done earlier=
 today

    On Wednesday, October 24, 2018, 12:32:37 PM CDT, Alex V. Petrov <alexvp=
etrov@gmail.com> wrote: =20
=20
 I build it from the latest ports now.
What should I do?

25.10.2018 00:20, Jan Beich =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> "Alex V. Petrov" <alexvpetrov@gmail.com> writes:
>=20
>> multiple errors
>> incomplete definition of type 'struct dh_st'
>>
>> FreeBSD 12-stable
>> OpenSSL 1.1.1-freebsd=C2=A0 11 Sep 2018
>>
>> =3D=3D=3D>=C2=A0 Building for librtmp-2.4.20151223_2
>=20
> See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231940#c14
>=20

--=20
-----
Alex.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
 =20
From owner-freebsd-ports@freebsd.org  Thu Oct 25 05:47:24 2018
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFDD5FEC8A8;
 Thu, 25 Oct 2018 05:47:24 +0000 (UTC)
 (envelope-from yasu@utahime.org)
Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210])
 by mx1.freebsd.org (Postfix) with ESMTP id 2712271A59;
 Thu, 25 Oct 2018 05:47:23 +0000 (UTC)
 (envelope-from yasu@utahime.org)
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org
 [192.168.174.1])
 by gate.utahime.jp (Postfix) with ESMTP id 1A0D22AFF2;
 Thu, 25 Oct 2018 14:47:14 +0900 (JST)
Received: from eastasia.home.utahime.org (localhost [127.0.0.1])
 by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id A2D8C16A3C;
 Thu, 25 Oct 2018 14:47:13 +0900 (JST)
Received: from localhost (rolling.home.utahime.org [192.168.174.11])
 by eastasia.home.utahime.org (Postfix) with ESMTPSA id 2BBC816A3B;
 Thu, 25 Oct 2018 14:47:10 +0900 (JST)
Date: Thu, 25 Oct 2018 14:46:00 +0900 (JST)
Message-Id: <20181025.144600.389146980619447771.yasu@utahime.org>
To: freebsd-current@freebsd.org
Cc: freebsd-ports@freebsd.org
Subject: Regression of dtrace on 13-CURRENT
From: Yasuhiro KIMURA <yasu@utahime.org>
X-Mailer: Mew version 6.8 on Emacs 26.1
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Oct 2018 05:47:25 -0000

Hello.

On 13-CURRENT r339548 build of lang/perl5.26 fails with configure error.

----------------------------------------------------------------------
yasu@rolling-vm-freebsd1[2100]% uname -a
FreeBSD rolling-vm-freebsd1.home.utahime.org 13.0-CURRENT FreeBSD 13.0-CURRENT r339548 GENERIC_UTAHIME  amd64
yasu@rolling-vm-freebsd1[2101]% pwd
/usr/ports/lang/perl5.26
yasu@rolling-vm-freebsd1[2102]% make
===>  License ART10 GPLv1+ accepted by the user
===>   perl5.26-5.26.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by perl5.26-5.26.2 for building
===>  Extracting for perl5.26-5.26.2
=> 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.26.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.26.2/libperl.so.5.26
===>  Patching for perl5.26-5.26.2
===>  Applying FreeBSD patches for perl5.26-5.26.2
/usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g'  /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.26.2/Configure /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.26.2/hints/freebsd.sh
/usr/bin/sed -i.bak -e '/do_installprivlib = 0 if .versiononly/d;  /^if.*nopods.*versiononly || /s/.*/if (1) {/'  /usr0/freebsd/ports/work/net/freebsd/ports/head/lang/perl5.26/work/perl-5.26.2/installperl
===>  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]  
Checking out function prototypes...
Support DTrace if available? [y]  
Where is the dtrace executable? (~name ok) [/usr/sbin/dtrace]  

*** 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.

===>  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]% 
----------------------------------------------------------------------

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."						    
		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							    
*** 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-CURRENT 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", line 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 r339436 and r339548.

---
Yasuhiro KIMURA



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