Skip Menu |

This queue is for tickets about the Word2vec-Interface CPAN distribution.

Report information
The Basics
Id: 129915
Status: new
Priority: 0/
Queue: Word2vec-Interface

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.039
Fixed in: (no value)



Subject: <malloc.h> has been replaced by <stdlib.h>
On FreeBSD systems the test suite fails like this: ... PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl5.20.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t In file included from /home/cpansand/.cpan/build/2019062602/Word2vec-Interface-0.039-UJKVyv/blib/lib/Word2vec/External/Word2vec/compute-accuracy.c:19:0: /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>" #error "<malloc.h> has been replaced by <stdlib.h>" ^ In file included from /home/cpansand/.cpan/build/2019062602/Word2vec-Interface-0.039-UJKVyv/blib/lib/Word2vec/External/Word2vec/compute-accuracy.c:19:0: /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>" #error "<malloc.h> has been replaced by <stdlib.h>" ^ # Failed test at t/1BuildExecutables.t line 9. # Looks like you failed 1 test of 1. t/1BuildExecutables.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ... (etc) ...
On 2019-06-26 02:15:09, SREZIC wrote: Show quoted text
> On FreeBSD systems the test suite fails like this: > > ... > PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl5.20.1" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > In file included from /home/cpansand/.cpan/build/2019062602/Word2vec- > Interface-0.039-UJKVyv/blib/lib/Word2vec/External/Word2vec/compute- > accuracy.c:19:0: > /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced > by <stdlib.h>" > #error "<malloc.h> has been replaced by <stdlib.h>" > ^ > In file included from /home/cpansand/.cpan/build/2019062602/Word2vec- > Interface-0.039-UJKVyv/blib/lib/Word2vec/External/Word2vec/compute- > accuracy.c:19:0: > /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced > by <stdlib.h>" > #error "<malloc.h> has been replaced by <stdlib.h>" > ^ > > # Failed test at t/1BuildExecutables.t line 9. > # Looks like you failed 1 test of 1. > t/1BuildExecutables.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > ... (etc) ...
Also, normally newer freebsd comes without gcc installed, instead clang is available. So on some systems it looks like this: ... PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t sh: gcc: not found sh: gcc: not found # Failed test at t/1BuildExecutables.t line 9. # Looks like you failed 1 test of 1. t/1BuildExecutables.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ...