From owner-freebsd-perl@freebsd.org Mon May 9 21:46:43 2016 Return-Path: Delivered-To: freebsd-perl@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 53DBDB3570B for ; Mon, 9 May 2016 21:46:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9771B04 for ; Mon, 9 May 2016 21:46:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 39474B35709; Mon, 9 May 2016 21:46:43 +0000 (UTC) Delivered-To: perl@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 38DEAB35708 for ; Mon, 9 May 2016 21:46:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 287B91B03 for ; Mon, 9 May 2016 21:46:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u49LkhAQ019083 for ; Mon, 9 May 2016 21:46:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 209173] lang/perl5.22: port build has inappropriate use of -Wl, -R/usr/local/lib/perl5/5.22/mach/CORE before the update libperl.so.5.22.2 is there to use (11.0-CURRENT in use) Date: Mon, 09 May 2016 21:46:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: perl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 21:46:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209173 --- Comment #5 from Mark Millard --- (In reply to Mark Millard from comment #4) This whole thing makes me wonder if the use of the staging step that ports builds use (a temporary place) simply violates the structure the perl installation materials are designed for. In other words: without using a staging area and directly installing under /usr/local/. . . during the install the kind of -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE usage that I see in the logs would work. (Of course failed builds would then not have left the old install in place.) I'm not suggesting that staging be abandoned but any port with a tie such as this needs a more extensive adjustment to support staging, apparently inclu= ding the disabling/adjusting of the build code that reports its activity as: Adding -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE to the flags passed to . .= . so that the perl executable will find the installed shared libperl.so.5.22.2 Or possibly linking for staging with a staging path in -Wl,-R , do the tests based on the staging area, then if they pass (re)linking with the final installation-path in -Wl,-R into staging and finally installing. (This would have its own risks.) --=20 You are receiving this mail because: You are the assignee for the bug.=