run.dlang.io: “Shorten” button not working

Arine arine1283798123 at gmail.com
Fri May 1 19:45:51 UTC 2020


On Thursday, 30 April 2020 at 20:56:21 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Thursday, 30 April 2020 at 16:32:35 UTC, Arine wrote:
>> On Thursday, 30 April 2020 at 14:38:52 UTC, Petar Kirov 
>> [ZombineDev] wrote:
>>> On Thursday, 30 April 2020 at 12:57:20 UTC, FeepingCreature 
>>> wrote:
>>>> On Friday, 24 April 2020 at 21:01:01 UTC, Anonymouse wrote:
>>>>> On Friday, 24 April 2020 at 19:51:25 UTC, John Colvin wrote:
>>>>>> The shorten and export gist buttons still seem to be broken
>>>>>
>>>>> Yes, https://github.com/dlang-tour/core/issues/739
>>>>
>>>> Who is even responsible for this server? Are they alive? Has 
>>>> anybody checked their apartment? ;)
>>>
>>> We're alive and well, thanks for asking :)
>>> Sadly, all of us are busy. It would if help other community 
>>> members could try to narrow down the problem by replicating 
>>> the docker setup locally.
>>
>> If you want to upload the docker image I'll be happy to look 
>> into it for you.
>
> Thanks for offering your help! You can find everything here:
>
> Frontend and API backend:
> https://github.com/dlang-tour/core
> https://hub.docker.com/r/dlangtour/core/tags
>
> Executor:
> https://github.com/dlang-tour/core-exec
> https://hub.docker.com/r/dlangtour/core-exec/tags

It fails to lookup the address is.gd. This appears to be because 
dlang-tour is built to be "static" but doesn't use musl libc. So 
the C network libraries don't appear to be functioning correctly 
as busybox doesn't have glibc.

Simple solution is to build without `dub -c static`and use a 
different image, like ubuntu instead of busybox.

Otherwise you'd need to build dlang-tour with musl libc, I tried 
looking into it. Between LDC2, dub, and vibe.d with their varying 
levels of support, it isn't immediately possible.




More information about the Digitalmars-d mailing list