From owner-svn-ports-head@freebsd.org Mon May 9 20:19:19 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 147FCB34329 for ; Mon, 9 May 2016 20:19:19 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-164.reflexion.net [208.70.211.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C050B1AA7 for ; Mon, 9 May 2016 20:19:18 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 29363 invoked from network); 9 May 2016 20:19:12 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 9 May 2016 20:19:12 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Mon, 09 May 2016 16:19:44 -0400 (EDT) Received: (qmail 8986 invoked from network); 9 May 2016 20:19:43 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 9 May 2016 20:19:43 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.106] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id CE1A91C43D2; Mon, 9 May 2016 13:19:06 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: svn commit: r414832 - in head: Mk Mk/Scripts lang/perl5-devel lang/perl5.18 lang/perl5.20 lang/perl5.22 Message-Id: Date: Mon, 9 May 2016 13:19:09 -0700 To: svn-ports-head@freebsd.org, freebsd.contact@marino.st Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 20:19:19 -0000 On Mon May 9 12:08:12 UTC 2016 John Marino wrote: > On 5/9/2016 1:58 PM, Mathieu Arnold wrote: > > > > This makes lang/perl5* use USE_LDCONFIG instead of hardcoding = -rpath. > > >=20 > Now that's really interesting and a shame it's not logged because IMO=20= > rpath is superior to LDCONFIG wrt to rtld lookups, so it would be=20 > interesting to know why perl was "downgraded" and what problem is = being=20 > solved. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209173 . The basic problem is that when perl is built the new one is run/tested = before perl is installed. When it is built with -rpath it uses that path = in those early runs/tests and fails as a result of referencing where = things will later be installed. It either: A) picks up the older libperl.so*'s or B) finds no libperl.so*'s (first time install for where it is looking) In case (A) the old perl version number is returned in a test that is = run and so the build fails that test. (The version number apparently = comes from the library.) In case (B) a run fails by not finding the libperl.so*'s and the build = fails. The specific example submitted was for inappropriately finding the = files: /usr/local/lib/perl5/5.22/mach/CORE/libperl.so* I was having to copy the libperl.so*'s from the failed /usr/obj/ area to = /usr/local/lib/perl5/5.22/mach/CORE/ and then re-run the build (or other = such manual hacks) in order that the early runs/tests would work/pass. =3D=3D=3D Mark Millard markmi at dsl-only.net