[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)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 9 21:17:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209173

--- Comment #4 from Mark Millard <markmi at 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 updating 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=yes .)

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="-Wl,-R$shrpdir"
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/Configure.orig
               -L*|-R*|-Wl,-R*)
               xxx="-Wl,-R$shrpdir"
/usr/obj/portswork/usr/ports/lang/perl5.22/work/perl-5.22.2/Configure.bak
ccdlflags='  -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 =   -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=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' 
-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 =   -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 =   -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/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-perl mailing list