From owner-freebsd-perl@freebsd.org Mon May 9 21:17:05 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 1A82FB352DF for ; Mon, 9 May 2016 21:17:05 +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 0428E1DB1 for ; Mon, 9 May 2016 21:17:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 03880B352DE; Mon, 9 May 2016 21:17:05 +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 03317B352DD for ; Mon, 9 May 2016 21:17:05 +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 DC39C1DB0 for ; Mon, 9 May 2016 21:17:04 +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 u49LH4sZ008803 for ; Mon, 9 May 2016 21:17:04 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:17:05 +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:17:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209173 --- Comment #4 from Mark Millard --- (In reply to Mathieu Arnold from comment #3) Unfortunately my initial test has failed. The details follow. I updated my /usr/ports to -r414889 to pick up the latest. I did: pkg delete perl5 to get rid of my prior work-around style 5.22 build (no other perl build present). Then I did: portmaster -DK lang/perl5.22 So this is the case of no-prior perl 5.22 install instead of one of updatin= g an older install of 5.22. The result was: Shared object "libperl...so.5.22" not found, required by "perl" listed a couple of times with a "WARNING: re-sorting MANIFEST" between. (But this test was without MAKE_JOBS_UNSAFE=3Dyes .) The log file still shows use of: -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE such as it saying: Adding -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE to the flags and again later using the -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE in the = line that does the "-o perl" via linking perlmain.o libperl.so.5.22.2 and other things. Checking /usr/obj/. . . for continued use of -Wl,-R notation still shows # find /usr/obj/portswork/usr/ports/lang/perl5.22/ -exec grep Wl,-R {} \; -print | more . . . (most are omitted but some interesting ones follow) . . . -L*|-R*|-Wl,-R*) xxx=3D"-Wl,-R$shrpdir" /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/Configure.orig -L*|-R*|-Wl,-R*) xxx=3D"-Wl,-R$shrpdir" /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/Configure.bak ccdlflags=3D' -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE' /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/config.sh CCDLFLAGS =3D -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/Makefile dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D'=20 -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE' /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/myconfig CCDLFLAGS =3D -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/makefile CCDLFLAGS =3D -Wl,-R/usr/local/lib/perl5/5.22/mach/CORE /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/makefile.old I confirmed today's date on the files via: ls -lt /usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/ --=20 You are receiving this mail because: You are the assignee for the bug.=