Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2016 21:17:05 +0000
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)
Message-ID:  <bug-209173-14331-xFE9RFoS1N@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209173-14331@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209173-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209173

--- Comment #4 from Mark Millard <markmi@dsl-only.net> ---
(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.=



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