[Debian-science-sagemath] Sagemath Build-Depends backported - unfortunately build error (Was: Help needed to backport ipywidgets ... (Was: Backporting sagemath))
Tobias Hansen
thansen at debian.org
Thu Apr 13 10:06:14 UTC 2017
Looks like you need to backport pynac.
Best,
Tobias
On 04/13/2017 10:48 AM, Andreas Tille wrote:
> Hi again,
>
> On Wed, Apr 12, 2017 at 11:23:55PM +0100, Tobias Hansen wrote:
>> [sagelib-7.4] /usr/bin/ld:
>> /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libgslcblas.a(sgemm.o):
>> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when
>> making a shared object; recompile with -fPIC
>> [sagelib-7.4]
>> /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libgslcblas.a:
>> error adding symbols: Bad value
>> [sagelib-7.4] collect2: error: ld returned 1 exit status
>>
>> The problem seems to be that the shared library libgslcblas0 was removed
>> from the package gsl in version 2.3+dfsg-1~bpo8+2 so now the static
>> library libgslcblas.a is used which does not work. ("recompile with
>> -fPIC" means use the shared library.)
>
> OK, I've uploaded a fix for gsl
>
> diff -Nru gsl-2.3+dfsg/debian/changelog gsl-2.3+dfsg/debian/changelog
> --- gsl-2.3+dfsg/debian/changelog 2017-04-04 14:44:59.000000000 +0200
> +++ gsl-2.3+dfsg/debian/changelog 2017-04-13 09:40:55.000000000 +0200
> @@ -1,3 +1,9 @@
> +gsl (2.3+dfsg-1~bpo8+3) jessie-backports; urgency=medium
> +
> + * Fix dangling symlink for libgslcblas.so
> +
> + -- Andreas Tille <tille at debian.org> Thu, 13 Apr 2017 09:20:21 +0200
> +
> gsl (2.3+dfsg-1~bpo8+2) jessie-backports; urgency=medium
>
> * Remove libgslcblas0 and depend on libgsl0dbl
> diff -Nru gsl-2.3+dfsg/debian/rules gsl-2.3+dfsg/debian/rules
> --- gsl-2.3+dfsg/debian/rules 2016-09-04 00:52:40.000000000 +0200
> +++ gsl-2.3+dfsg/debian/rules 2017-04-13 09:55:12.000000000 +0200
> @@ -265,6 +265,9 @@
> dh_testroot
> #dh_installdebconf
> dh_link
> + # libgsl0dbl package provides libgslcblas.so.0.0.0 in non-multiarch dir
> + # provide symlink to make sure libgslcblas.so will not be a dangling symlink
> + dh_link -p$(devpack) /usr/lib/libgslcblas.so.0.0.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libgslcblas.so.0.0.0
> dh_installdocs
> #dh_installexamples
> #dh_installmenu
>
>
> which fixes the libgslcblas.so not found issue. After adapting
> versioned Build-Depends of sagemath backport the build went way further
> but failed again (see attached log).
>
> Thanks for all your help
>
> Andreas.
>
More information about the Debian-science-sagemath
mailing list