Thread overview
[phobos] Build broken again
Feb 25, 2013
Jonathan M Davis
Feb 25, 2013
Jonathan M Davis
February 24, 2013
One of the recent slew of pull request merges just broke the build - the Phobos unit tests are failing. Given the error messages, it was probably the pull relating to schwarzSort:

Testing generated/linux/debug/64/unittest/std/algorithm
std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
not callable using argument types (char[])
std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
type char[] to void*
std/algorithm.d(9123): Error: template instance std.algorithm.schwartzSort!
(function char(Tuple!(char) c)
{
return c._expand_field_0;
}
, "a < b", cast(SwapStrategy)0, Tuple!(char)[]) error instantiating
std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
not callable using argument types (double[])
std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
type double[] to void*
std/algorithm.d(9148): Error: template instance std.algorithm.schwartzSort!
(entropy, "a > b", cast(SwapStrategy)0, double[][]) error instantiating
std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
not callable using argument types (double[])
std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
type double[] to void*
std/algorithm.d(9177): Error: template instance std.algorithm.schwartzSort!
(entropy, "a < b", cast(SwapStrategy)0, double[][]) error instantiating
make[1]: *** [generated/linux/debug/64/unittest/std/algorithm] Error 1
make: *** [unittest] Error 2
phobos: unit tests failed.


- Jonathan M Davis
_______________________________________________
phobos mailing list
phobos@puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos

February 25, 2013
I could've sworn I saw that pull request passing tests. I guess not.

Andrei, can you deal with this?

On Mon, Feb 25, 2013 at 2:11 AM, Jonathan M Davis <jmdavisProg@gmx.com> wrote:
> One of the recent slew of pull request merges just broke the build - the Phobos unit tests are failing. Given the error messages, it was probably the pull relating to schwarzSort:
>
> Testing generated/linux/debug/64/unittest/std/algorithm
> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
> not callable using argument types (char[])
> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
> type char[] to void*
> std/algorithm.d(9123): Error: template instance std.algorithm.schwartzSort!
> (function char(Tuple!(char) c)
> {
> return c._expand_field_0;
> }
> , "a < b", cast(SwapStrategy)0, Tuple!(char)[]) error instantiating
> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
> not callable using argument types (double[])
> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
> type double[] to void*
> std/algorithm.d(9148): Error: template instance std.algorithm.schwartzSort!
> (entropy, "a > b", cast(SwapStrategy)0, double[][]) error instantiating
> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
> not callable using argument types (double[])
> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
> type double[] to void*
> std/algorithm.d(9177): Error: template instance std.algorithm.schwartzSort!
> (entropy, "a < b", cast(SwapStrategy)0, double[][]) error instantiating
> make[1]: *** [generated/linux/debug/64/unittest/std/algorithm] Error 1
> make: *** [unittest] Error 2
> phobos: unit tests failed.
>
>
> - Jonathan M Davis
> _______________________________________________
> phobos mailing list
> phobos@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
phobos@puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos

February 24, 2013
On Sunday, February 24, 2013 17:11:06 Jonathan M Davis wrote:
> One of the recent slew of pull request merges just broke the build - the Phobos unit tests are failing. Given the error messages, it was probably the pull relating to schwarzSort:

It looks like it was indeed

https://github.com/D-Programming-Language/phobos/pull/1169

I've now reverted the merge, which should fix the build.

- Jonathan M Davis
_______________________________________________
phobos mailing list
phobos@puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos

February 25, 2013
I don't get how unittests were ever passsing.

Andrei

On 2/25/13 3:14 AM, Alex Rønne Petersen wrote:
> I could've sworn I saw that pull request passing tests. I guess not.
>
> Andrei, can you deal with this?
>
> On Mon, Feb 25, 2013 at 2:11 AM, Jonathan M Davis<jmdavisProg@gmx.com>  wrote:
>> One of the recent slew of pull request merges just broke the build - the
>> Phobos unit tests are failing. Given the error messages, it was probably the
>> pull relating to schwarzSort:
>>
>> Testing generated/linux/debug/64/unittest/std/algorithm
>> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
>> not callable using argument types (char[])
>> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
>> type char[] to void*
>> std/algorithm.d(9123): Error: template instance std.algorithm.schwartzSort!
>> (function char(Tuple!(char) c)
>> {
>> return c._expand_field_0;
>> }
>> , "a<  b", cast(SwapStrategy)0, Tuple!(char)[]) error instantiating
>> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
>> not callable using argument types (double[])
>> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
>> type double[] to void*
>> std/algorithm.d(9148): Error: template instance std.algorithm.schwartzSort!
>> (entropy, "a>  b", cast(SwapStrategy)0, double[][]) error instantiating
>> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
>> not callable using argument types (double[])
>> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
>> type double[] to void*
>> std/algorithm.d(9177): Error: template instance std.algorithm.schwartzSort!
>> (entropy, "a<  b", cast(SwapStrategy)0, double[][]) error instantiating
>> make[1]: *** [generated/linux/debug/64/unittest/std/algorithm] Error 1
>> make: *** [unittest] Error 2
>> phobos: unit tests failed.
>>
>>
>> - Jonathan M Davis
>> _______________________________________________
>> phobos mailing list
>> phobos@puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
phobos@puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos