Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2016 02:28:22 +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-doSHePF8Ii@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 #9 from Mark Millard <markmi@dsl-only.net> ---
(In reply to Mathieu Arnold from comment #7)

No difference after the patch I'm afraid: It still says. . .

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

and so still looks for the libperl.so* in /usr/local/lib/perl5/5.22/mach/CO=
RE
before the updated material has been installed there. find/grep still shows:

cdlflags=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


As far as the applied patch goes: The lang/perl5.22 difference from /usr/po=
rts
-r414889 was:

# svnlite diff /usr/ports/lang/perl5.22
Index: /usr/ports/lang/perl5.22/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /usr/ports/lang/perl5.22/Makefile   (revision 414889)
+++ /usr/ports/lang/perl5.22/Makefile   (working copy)
@@ -91,8 +91,8 @@
 # lddlflags is used for all .so linking
 # shrpldflags is used for libperl.so, so remove all the extra bits inherit=
ed
from lddlflags.
 CONFIGURE_ARGS+=3D \
-       -Alddlflags=3D'-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -lperl' \
-=20=20=20=20=20=20
-Dshrpldflags=3D'$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N=
-lperl)
-Wl,-soname,$$(LIBPERL:R)'
+       -Alddlflags=3D'-L${WRKSRC} -lperl' \
+       -Dshrpldflags=3D'$$(LDDLFLAGS:N-L${WRKSRC}:N-lperl)
-Wl,-soname,$$(LIBPERL:R)'

 # Give a hint of where libperl.so can be found.
 USE_LDCONFIG=3D  ${PREFIX}/${_ARCH_LIB}/CORE
@@ -233,7 +233,7 @@
                ${WRKSRC}/hints/freebsd.sh

 post-build:
-       @${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \
+       @${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC}
|-L${PREFIX}/${_ARCH_LIB}/CORE |' \
                ${WRKSRC}/lib/Config_heavy.pl
 .if ${CC} =3D=3D /nxb-bin/usr/bin/cc
        @${REINPLACE_CMD} -e 's=3D/nxb-bin=3D=3D=E2=80=98 \

--=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-doSHePF8Ii>