pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: p5-subversion broken in 1.9.2



Le 06/10/15 11:49, Thomas Klausner a écrit :
> On Sat, Sep 26, 2015 at 06:32:17AM +0000, Adam Ciarciński wrote:
>> Module Name:	pkgsrc
>> Committed By:	adam
>> Date:		Sat Sep 26 06:32:17 UTC 2015
>>
>> Modified Files:
>> 	pkgsrc/devel/subversion: Makefile.version distinfo
>> 	pkgsrc/devel/subversion/files: build-outputs.mk
>>
>> Log Message:
>> Changes 1.9.2:
> 
> I don't understand why (I've looked at the diffs and source code
> diffs), but this breaks p5-subversion.
> 
> The _Core.so included in 1.9.1 has the following ldd output:
> 
> # ldd /usr/pkg/lib/perl5/vendor_perl/5.22.0/x86_64-netbsd-thread-multi/auto/SVN/_Core/_Core.so
> /usr/pkg/lib/perl5/vendor_perl/5.22.0/x86_64-netbsd-thread-multi/auto/SVN/_Core/_Core.so:
>         -lsvn_client-1.0 => /usr/pkg/lib/libsvn_client-1.so.0
>         -lsvn_wc-1.0 => /usr/pkg/lib/libsvn_wc-1.so.0
>         -lsvn_delta-1.0 => /usr/pkg/lib/libsvn_delta-1.so.0
>         -lsvn_subr-1.0 => /usr/pkg/lib/libsvn_subr-1.so.0
>         -laprutil-1.0 => /usr/pkg/lib/libaprutil-1.so.0
>         -lexpat.2 => /usr/lib/libexpat.so.2
>         -lc.12 => /usr/lib/libc.so.12
>         -lapr-1.0 => /usr/pkg/lib/libapr-1.so.0
>         -lrt.1 => /usr/lib/librt.so.1
>         -lcrypt.1 => /usr/lib/libcrypt.so.1
>         -lpthread.1 => /usr/lib/libpthread.so.1
>         -lz.1 => /usr/lib/libz.so.1
>         -lsqlite3.1 => /usr/lib/libsqlite3.so.1
>         -lmagic.5 => /usr/lib/libmagic.so.5
>         -lintl.1 => /usr/lib/libintl.so.1
>         -lsvn_diff-1.0 => /usr/pkg/lib/libsvn_diff-1.so.0
>         -lsvn_ra-1.0 => /usr/pkg/lib/libsvn_ra-1.so.0
>         -lsvn_ra_local-1.0 => /usr/pkg/lib/libsvn_ra_local-1.so.0
>         -lsvn_repos-1.0 => /usr/pkg/lib/libsvn_repos-1.so.0
>         -lsvn_fs-1.0 => /usr/pkg/lib/libsvn_fs-1.so.0
>         -lsvn_fs_fs-1.0 => /usr/pkg/lib/libsvn_fs_fs-1.so.0
>         -lsvn_fs_util-1.0 => /usr/pkg/lib/libsvn_fs_util-1.so.0
>         -lsvn_fs_x-1.0 => /usr/pkg/lib/libsvn_fs_x-1.so.0
>         -lsvn_ra_svn-1.0 => /usr/pkg/lib/libsvn_ra_svn-1.so.0
>         -lsvn_ra_serf-1.0 => /usr/pkg/lib/libsvn_ra_serf-1.so.0
>         -lserf-1.1 => /usr/pkg/lib/libserf-1.so.1
>         -lssl.10 => /usr/lib/libssl.so.10
>         -lcrypto.8 => /usr/lib/libcrypto.so.8
>         -lgssapi.10 => /usr/lib/libgssapi.so.10
>         -lkrb5.26 => /usr/lib/libkrb5.so.26
>         -lhx509.5 => /usr/lib/libhx509.so.5
>         -lasn1.9 => /usr/lib/libasn1.so.9
>         -lcom_err.7 => /usr/lib/libcom_err.so.7
>         -lroken.19 => /usr/lib/libroken.so.19
>         -lutil.7 => /usr/lib/libutil.so.7
>         -lwind.0 => /usr/lib/libwind.so.0
>         -lheimbase.1 => /usr/lib/libheimbase.so.1
>         -lheimntlm.4 => /usr/lib/libheimntlm.so.4
>         -lsvn_swig_perl-1.0 => /usr/pkg/lib/libsvn_swig_perl-1.so.0
> 
> While the one from 1.9.2 looks like this:
> # ldd /usr/pkg/lib/perl5/vendor_perl/5.22.0/x86_64-netbsd-thread-multi/auto/SVN/_Core/_Core.so
> /usr/pkg/lib/perl5/vendor_perl/5.22.0/x86_64-netbsd-thread-multi/auto/SVN/_Core/_Core.so:
>         -lsvn_client-1.0 => /usr/pkg/lib/libsvn_client-1.so.0
>         -lsvn_wc-1.0 => /usr/pkg/lib/libsvn_wc-1.so.0
>         -lsvn_delta-1.0 => /usr/pkg/lib/libsvn_delta-1.so.0
>         -lsvn_subr-1.0 => /usr/pkg/lib/libsvn_subr-1.so.0
>         -laprutil-1.0 => /usr/pkg/lib/libaprutil-1.so.0
>         -lexpat.2 => /usr/lib/libexpat.so.2
>         -lc.12 => /usr/lib/libc.so.12
>         -lapr-1.0 => /usr/pkg/lib/libapr-1.so.0
>         -lrt.1 => /usr/lib/librt.so.1
>         -lcrypt.1 => /usr/lib/libcrypt.so.1
>         -lpthread.1 => /usr/lib/libpthread.so.1
>         -lz.1 => /usr/lib/libz.so.1
>         -lsqlite3.1 => /usr/lib/libsqlite3.so.1
>         -lmagic.5 => /usr/lib/libmagic.so.5
>         -lintl.1 => /usr/lib/libintl.so.1
>         -lsvn_diff-1.0 => /usr/pkg/lib/libsvn_diff-1.so.0
>         -lsvn_ra-1.0 => /usr/pkg/lib/libsvn_ra-1.so.0
>         -lsvn_ra_local-1.0 => /usr/pkg/lib/libsvn_ra_local-1.so.0
>         -lsvn_repos-1.0 => /usr/pkg/lib/libsvn_repos-1.so.0
>         -lsvn_fs-1.0 => /usr/pkg/lib/libsvn_fs-1.so.0
>         -lsvn_fs_fs-1.0 => /usr/pkg/lib/libsvn_fs_fs-1.so.0
>         -lsvn_fs_util-1.0 => /usr/pkg/lib/libsvn_fs_util-1.so.0
>         -lsvn_fs_x-1.0 => /usr/pkg/lib/libsvn_fs_x-1.so.0
>         -lsvn_ra_svn-1.0 => /usr/pkg/lib/libsvn_ra_svn-1.so.0
>         -lsvn_ra_serf-1.0 => /usr/pkg/lib/libsvn_ra_serf-1.so.0
>         -lserf-1.1 => /usr/pkg/lib/libserf-1.so.1
>         -lssl.10 => /usr/lib/libssl.so.10
>         -lcrypto.8 => /usr/lib/libcrypto.so.8
>         -lgssapi.10 => /usr/lib/libgssapi.so.10
>         -lkrb5.26 => /usr/lib/libkrb5.so.26
>         -lhx509.5 => /usr/lib/libhx509.so.5
>         -lasn1.9 => /usr/lib/libasn1.so.9
>         -lcom_err.7 => /usr/lib/libcom_err.so.7
>         -lroken.19 => /usr/lib/libroken.so.19
>         -lutil.7 => /usr/lib/libutil.so.7
>         -lwind.0 => /usr/lib/libwind.so.0
>         -lheimbase.1 => /usr/lib/libheimbase.so.1
>         -lheimntlm.4 => /usr/lib/libheimntlm.so.4
>         -lsvn_swig_perl-1.0 => /usr/pkg/lib/libsvn_swig_perl-1.so.0
>         -lperl => /usr/pkg/lib/perl5/5.22.0/x86_64-netbsd-thread-multi/CORE/libperl.so
>         -lm.0 => /usr/lib/libm.so.0
>         -lperl => not found
> 
> It now links against libperl, which it didn't before, and it doesn't
> find one of the two libperls it links against (?!).
> 
> Does anyone have any ideas?
>  Thomas
> 

Well, my commit intended to fix missing libs, at least it does on SunOS.

>cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/subversion/files/build-outputs.mk
>cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/subversion/patches/patch-ad
>cvs rdiff -u -r0 -r1.1 pkgsrc/devel/subversion/patches/patch-configure

What does `/your/path/to/perl -MExtUtils::Embed -e ldopts` tell.
Swig *should* link to what perl tells it to...

it *is* strange that the second (and missing) -lperl in your ldd output...  
perhaps this is a perl issue.
-- 
Richard PALO



Home | Main Index | Thread Index | Old Index