February 12, 2014
On Wednesday, 12 February 2014 at 20:24:28 UTC, Sönke Ludwig wrote:
> I've reduced it and filed a bug:
>
> https://d.puremagic.com/issues/show_bug.cgi?id=12144
>
> It was actually great that this occurred in LuaD, because I suspect that I'm possibly hit by the same bug, but my code base is so large that it takes over a week to run dustmite on it.

Wow, well done. Sorry for not including all the relevant information right away, might have saved you some time. I was actually putting all the information together for the post, but as I saw using --verbose that everything *looked* right, I decided to wait and see if it really was a problem with Dub first - you were one step ahead of me there.

Thanks!
February 12, 2014
On Wednesday, 12 February 2014 at 20:34:35 UTC, Jakob Ovrum wrote:
> On Wednesday, 12 February 2014 at 20:24:28 UTC, Sönke Ludwig wrote:
>> I've reduced it and filed a bug:
>>
>> https://d.puremagic.com/issues/show_bug.cgi?id=12144
>>
>> It was actually great that this occurred in LuaD, because I suspect that I'm possibly hit by the same bug, but my code base is so large that it takes over a week to run dustmite on it.
>
> Wow, well done. Sorry for not including all the relevant information right away, might have saved you some time. I was actually putting all the information together for the post, but as I saw using --verbose that everything *looked* right, I decided to wait and see if it really was a problem with Dub first - you were one step ahead of me there.
>
> Thanks!

... which the unreferenced reference at the bottom of my post revealed, lol.
February 12, 2014
Am 12.02.2014 21:36, schrieb Jakob Ovrum:
> On Wednesday, 12 February 2014 at 20:34:35 UTC, Jakob Ovrum wrote:
>> On Wednesday, 12 February 2014 at 20:24:28 UTC, Sönke Ludwig wrote:
>>> I've reduced it and filed a bug:
>>>
>>> https://d.puremagic.com/issues/show_bug.cgi?id=12144
>>>
>>> It was actually great that this occurred in LuaD, because I suspect
>>> that I'm possibly hit by the same bug, but my code base is so large
>>> that it takes over a week to run dustmite on it.
>>
>> Wow, well done. Sorry for not including all the relevant information
>> right away, might have saved you some time. I was actually putting all
>> the information together for the post, but as I saw using --verbose
>> that everything *looked* right, I decided to wait and see if it really
>> was a problem with Dub first - you were one step ahead of me there.
>>
>> Thanks!
>
> ... which the unreferenced reference at the bottom of my post revealed,
> lol.

Yeah, that helped a lot ;)

No, but overall it went pretty quick, with a little Dustmite help and (spoiling the news) the upcoming Dustmite integration into DUB, which was also very helpful when reducing the rest by hand.
February 12, 2014
Am 12.02.2014 19:12, schrieb Sönke Ludwig:
> Am 12.02.2014 16:40, schrieb Jordi Sayol:
>> El 12/02/14 09:53, Sönke Ludwig ha escrit:
>>> The binaries can be found on http://code.dlang.org/download ("Latest
>>> preview").
>>
>> On Debian 7.4 64-bit:
>>
>> $ dub
>> dub: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found
>> (required by dub)
>>
>>
>> No problem on Debian 7.4 32-bit.
>>
>
> I'll build the next RC with Debian 6 instead of Ubuntu 12.04 for 64-bit,
> hopefully that works...

Okay, uploaded a new version of RC 3 built on Debian 7 x64 instead.
February 13, 2014
On Wednesday, 12 February 2014 at 08:53:56 UTC, Sönke Ludwig wrote:
> DUB 0.9.21 is currently in the RC stage. Before tagging a release, I'd like it to get a little more exposure. Apart from checking if building works (dependencies are now built separately by default), there are two new features that could also benefit from more testing:
>
>  - "dub test" will now automatically execute the unit tests of a
>    package (see "dub test --help" for more information)
>
>  - Sub packages can now be in sub folders (the recommended approach):
>
>    "name": "somepack",
>    "subPackages": {
>        "subpack1/",
>        "plugins/someplug/"
>    }
>
>    Those sub packages can be publicly referenced as a dependency for
>    example as "somepack:subpack1" (assuming that the the package in
>    "subpack1")
>
> The binaries can be found on http://code.dlang.org/download ("Latest preview").
>
> Pre-release thread on the DUB forum:
> http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/965/

Added package description files for all the LuaD examples, and they all work using the new build model with the exception of the `hello` example (which you are aware of).

The dynamic library example also builds correctly, but it would be nice to have a way to specify how to run it, so I filed that over at the dub issue tracker.

I also reworked LuaD's readme files to emphasize dub :)
February 13, 2014
On Wednesday, 12 February 2014 at 15:40:27 UTC, Jordi Sayol wrote:
> El 12/02/14 09:53, Sönke Ludwig ha escrit:
>> The binaries can be found on http://code.dlang.org/download ("Latest preview").
>
> On Debian 7.4 64-bit:
>
> $ dub
> dub: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by dub)
>
>
> No problem on Debian 7.4 32-bit.

You'll find the version of >= GLIBC_2.14 in debian's experimental repo in aptitude.

$ sudo vim /etc/apt/sources.list

in this file you can append:

    deb http://ftp.debian.org/debian/ experimental main
    deb-src http://ftp.debian.org/debian/ experimental main

Then you can run
$ sudo apt-get -t experimental update && sudo apt-get -t experimental upgrade

You should receive glibc 2.18-* experimental which is >=2.14 i.e. compatible with dub 0.9.21

You should also install the most recent version of libevent with

$ sudo apt-cache search libevent-2*

which should return libevent-2.0-5, in which case you can run

$ sudo apt-get libevent-2.0-5 libevent-pthreads-2.0-5 libevent-dev

That should do :)
February 13, 2014
It's worth nothing that dub.json runs as a project file in mono-d monodevelop IDE as well. Every dependency loads in the project tree. So, all in all, with git, autocomplete and everything, it's becoming very stable, cross-platform and beautifully integrated. It all makes D feel like a convenient programming language to use, when even 3 months ago the same dub&mono-d setup was totally impossible to use even though it was there. The developers on this are so good it seems like there's 1000s of men putting it all together.
February 13, 2014
El 13/02/14 00:18, Sönke Ludwig ha escrit:
> Am 12.02.2014 19:12, schrieb Sönke Ludwig:
>> Am 12.02.2014 16:40, schrieb Jordi Sayol:
>>> El 12/02/14 09:53, Sönke Ludwig ha escrit:
>>>> The binaries can be found on http://code.dlang.org/download ("Latest
>>>> preview").
>>>
>>> On Debian 7.4 64-bit:
>>>
>>> $ dub
>>> dub: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found
>>> (required by dub)
>>>
>>>
>>> No problem on Debian 7.4 32-bit.
>>>
>>
>> I'll build the next RC with Debian 6 instead of Ubuntu 12.04 for 64-bit, hopefully that works...
> 
> Okay, uploaded a new version of RC 3 built on Debian 7 x64 instead.
> 

It properly runs even on Debian 6 x64. Thanks!

-- 
Jordi Sayol


February 13, 2014
El 13/02/14 05:28, Etienne Cimon ha escrit:
> On Wednesday, 12 February 2014 at 15:40:27 UTC, Jordi Sayol wrote:
>> El 12/02/14 09:53, Sönke Ludwig ha escrit:
>>> The binaries can be found on http://code.dlang.org/download ("Latest preview").
>>
>> On Debian 7.4 64-bit:
>>
>> $ dub
>> dub: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by dub)
>>
>>
>> No problem on Debian 7.4 32-bit.
> 
> You'll find the version of >= GLIBC_2.14 in debian's experimental repo in aptitude.
> 
> $ sudo vim /etc/apt/sources.list
> 
> in this file you can append:
> 
>     deb http://ftp.debian.org/debian/ experimental main
>     deb-src http://ftp.debian.org/debian/ experimental main
> 
> Then you can run
> $ sudo apt-get -t experimental update && sudo apt-get -t experimental upgrade
> 
> You should receive glibc 2.18-* experimental which is >=2.14 i.e. compatible with dub 0.9.21
> 
> You should also install the most recent version of libevent with
> 
> $ sudo apt-cache search libevent-2*
> 
> which should return libevent-2.0-5, in which case you can run
> 
> $ sudo apt-get libevent-2.0-5 libevent-pthreads-2.0-5 libevent-dev
> 
> That should do :)
> 

Thank you but this should be done by every Debian 6 or 7 dub user.

The easiest way to fix this is to compile dub on Debian 6 or 7.

Regards,
-- 
Jordi Sayol


February 13, 2014
On Thu, 2014-02-13 at 00:18 +0100, Sönke Ludwig wrote: […]
> Okay, uploaded a new version of RC 3 built on Debian 7 x64 instead.

I missed earlier activity, but just downloaded the Linux x86_64 0.9.21-rc3 and it appears to work fine on Debian Sid (Unstable). Except…

…I have no idea what to put in the package.json file to get rid of this problem:

        source/main.d(27): Error: need -Jpath switch to import text file
        VERSION

http://code.dlang.org/package-format doesn't mention this option.

-J. is all I need given my SCons build of this same project.


-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder