I am interested in helping with this - I just want to be clear because I
don't have much experience with containers. If we add an entry to the
tox.ini corresponding to slackware-14.2-multilib, it would allow for the
automatic testing of Sage in that OS?

I have gone through the portability wiki, so as long as you can confirm
I've understood correctly, I will get started on it.

On Thu, Jun 4, 2020 at 6:31 PM Matthias Koeppe <matthiaskoe...@gmail.com>
wrote:

> Thanks. I have created https://trac.sagemath.org/ticket/29798 for adding
> a slackware-multilib test environment to our tox.ini. Would you be
> interested in helping with this? See
> https://doc.sagemath.org/html/en/developer/portability_testing.html for
> an overview.
>
> On Thursday, June 4, 2020 at 3:08:07 PM UTC-7, Christopher Duston wrote:
>>
>> Thanks, I appreciate the attention.
>>
>> Instructions for making Slackware multilib can be found here:
>> https://docs.slackware.com/slackware:multilib
>> <https://www.google.com/url?q=https%3A%2F%2Fdocs.slackware.com%2Fslackware%3Amultilib&sa=D&sntz=1&usg=AFQjCNEDGaUMQyWOsb9faiFfP2UqnBr0AQ>.
>> "Quick and Dirty" instructions are about 20% of the way down.
>>
>> I should note that multilib is not officially supported by either
>> Slackware or Slackbuilds, but when possible we try to build in that
>> flexibility.
>>
>> On Thu, Jun 4, 2020 at 3:47 PM Matthias Koeppe <matthia...@gmail.com>
>> wrote:
>>
>>> Thanks. I have created https://trac.sagemath.org/ticket/29795 for this
>>> issue.
>>>
>>> Could you advise how to create a multilib slackware configuration?
>>>
>>> On Thursday, June 4, 2020 at 11:42:49 AM UTC-7, Christopher Duston wrote:
>>>>
>>>> I'd like to follow up on this - the real issue is that when building
>>>> iml the libraries are hardcoded to reside at /lib, but in multilib systems
>>>> this may not be the case. Specifically, in Slackware we have lib for 32-bit
>>>> and lib64 for 64-bit. I fixed this by changing this line in build/pkgs/iml/
>>>> spkg-install.in:
>>>>
>>>> SAGE_GMP_LIB="`echo "$SAGE_GMP_INCLUDE" | sed 's|/include|/lib|'`"
>>>>
>>>> to this:
>>>>
>>>> SAGE_GMP_LIB="`echo "$SAGE_GMP_INCLUDE" | sed
>>>> 's|/include|/lib{$LIBDIRSUFFIX}|'`"
>>>>
>>>> where LIBDIRSUFFIX is specified by our build to be null for 32-bit or
>>>> 64 for 64-bit. I've attached our patch here for reference, but I would
>>>> appreciate a fix in the Sage build directly.
>>>>
>>>> Thanks.
>>>>
>>>> On Thu, Mar 19, 2020 at 11:37 PM Matthias Koeppe <matthia...@gmail.com>
>>>> wrote:
>>>>
>>>>> Thanks. I have recreated a similar configuration
>>>>> (slackware-14.2-standard - https://trac.sagemath.org/ticket/29354),
>>>>> but cannot seem to reproduce the error. iml installs correctly for me.
>>>>>
>>>>> Looking at your log files, these lines look rather suspicious:
>>>>>
>>>>> /usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld:
>>>>>  skipping incompatible ///usr/lib/libm.so when searching for -lm
>>>>> /usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld:
>>>>>  skipping incompatible ///usr/lib/libm.a when searching for -lm
>>>>> /usr/lib/libgmp.so: error adding symbols: File in wrong format
>>>>>
>>>>>
>>>>> Did you install libraries for cross compilation to other architecture
>>>>> (including 32bit) by any chance?
>>>>>
>>>>> It would be worth checking when reinstalling the slackware "gmp"
>>>>> package fixes this problem.
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, March 18, 2020 at 4:16:59 PM UTC-4, Christopher Duston
>>>>> wrote:
>>>>>>
>>>>>> I ran those two commands, and piped the output to a file, attached
>>>>>> here.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Tue, Mar 17, 2020 at 5:53 PM Matthias Koeppe <matthia...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> On Tuesday, March 17, 2020 at 3:56:49 PM UTC-4, Christopher Duston
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I've got an error when compiling SageMath 9.0 from source on a
>>>>>>>> Slackware 14.2 machine.
>>>>>>>>
>>>>>>>
>>>>>>> I have set up a test environment for Slackware (tox -e
>>>>>>> docker-slackware-14.2) at https://trac.sagemath.org/ticket/29354
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to a topic in
>>>>>>> the Google Groups "sage-devel" group.
>>>>>>> To unsubscribe from this topic, visit
>>>>>>> https://groups.google.com/d/topic/sage-devel/WshDn3e_l3k/unsubscribe
>>>>>>> .
>>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>>> sage-...@googlegroups.com.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/sage-devel/53f714b5-be91-4a06-9a4d-640363820e1d%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/sage-devel/53f714b5-be91-4a06-9a4d-640363820e1d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "sage-devel" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/sage-devel/WshDn3e_l3k/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> sage-...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-devel/e43d858d-dab5-49a5-ad14-8d507e7484ca%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/sage-devel/e43d858d-dab5-49a5-ad14-8d507e7484ca%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-devel" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sage-devel/WshDn3e_l3k/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> sage-...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-devel/643935f2-f66b-4b4f-8ac1-eb34937dadcao%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-devel/643935f2-f66b-4b4f-8ac1-eb34937dadcao%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/WshDn3e_l3k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/68872583-b5b2-44ad-945e-b013e6adc34ao%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/68872583-b5b2-44ad-945e-b013e6adc34ao%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAPDCXq0OobH9BhmtdHAxvi26ow96%2BPK6N_S7-ayYxbpyTFkaTg%40mail.gmail.com.

Reply via email to