Bug#920835: mlucas FTBFS on !amd64: test failures

2019-01-31 Thread Alex Vong
Thank you, people! I will upload a new version to fix this and the
undefined macro error in the powerpc build. Now the remaining problems
are that the SIMD binary in i386 and arm64 are not working, as hinted by
the messages:

INFO: CPU supports SSE2 instruction set, but using scalar floating-point build.

and

INFO: CPU supports ARMv8 advanced-SIMD instruction set, but using scalar 
floating-point build.

I downloaded the built SIMD binaries and indeed they segfault when they
run. The build still succeeds because there's a fallback generic c
version, but it is slow...

Maybe I'll ask upstream to investigate.

Cheers,
Alex

Juhani Numminen  writes:

> On Wed, 30 Jan 2019 05:27:48 +0800 Alex Vong  wrote:
>> Hello Adrian Bunk,
>> 
>> The test log is not useful at all. I want to add a patch to enable
>> verbose test log and let it build again to identify the issues.
>
> But the error message does point to a funny line that appears to
> try to execute a directory...
>
>> > ./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
>> > FAIL tests/spot-check (exit status: 126)
>
> https://sources.debian.org/src/mlucas/17.1-2/scripts/mlucas.in/#L149
>
> exec "$DIRNAME" "$@"
>
> Maybe there should be an executable name after DIRNAME?
>
>
> Regards,
> Juhani


signature.asc
Description: PGP signature


Bug#920835: mlucas FTBFS on !amd64: test failures

2019-01-31 Thread Adrian Bunk
On Wed, Jan 30, 2019 at 05:27:48AM +0800, Alex Vong wrote:
> Hello Adrian Bunk,
> 
> The test log is not useful at all. I want to add a patch to enable
> verbose test log and let it build again to identify the issues.
> 
> Is it possible for me to get access to porter machine or should I upload
> to experimental and let buildd to build it?
> 
> Thanks for your great work in Debian!
> 
> Cheers,
> Alex
> 
> Adrian Bunk  writes:
> 
> > Source: mlucas
> > Version: 17.1-1
> > Severity: serious
> > Tags: ftbfs
> >
> > https://buildd.debian.org/status/package.php?p=mlucas=sid
> >
> > ...
> > FAIL: tests/spot-check
> > ==
> >
> > ./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
>...

The code in question is:

*)
if test -x "$DIRNAME/mlucas-generic-c"
then
exec "$DIRNAME" "$@" <- line 149

elif test -x "$PKGLIBEXECDIR/mlucas-generic-c"
then
exec "$PKGLIBEXECDIR/mlucas-generic-c" "$@"
fi
;;
esac


Executing the directory cannot work, this should likely by
   exec "$DIRNAME/mlucas-generic-c" "$@"


cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#920835: mlucas FTBFS on !amd64: test failures

2019-01-31 Thread Edmund Grimley Evans
In 17.1-2 there's a simple omission in a script, which can be fixed with:

perl -i -pe 's!DIRNAME"!DIRNAME/mlucas-generic-c"!' scripts/mlucas.in



Bug#920835: mlucas FTBFS on !amd64: test failures

2019-01-31 Thread Juhani Numminen
On Wed, 30 Jan 2019 05:27:48 +0800 Alex Vong  wrote:
> Hello Adrian Bunk,
> 
> The test log is not useful at all. I want to add a patch to enable
> verbose test log and let it build again to identify the issues.

But the error message does point to a funny line that appears to
try to execute a directory...

> > ./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
> > FAIL tests/spot-check (exit status: 126)

https://sources.debian.org/src/mlucas/17.1-2/scripts/mlucas.in/#L149

exec "$DIRNAME" "$@"

Maybe there should be an executable name after DIRNAME?


Regards,
Juhani



Bug#920835: mlucas FTBFS on !amd64: test failures

2019-01-29 Thread Alex Vong
Hello Adrian Bunk,

The test log is not useful at all. I want to add a patch to enable
verbose test log and let it build again to identify the issues.

Is it possible for me to get access to porter machine or should I upload
to experimental and let buildd to build it?

Thanks for your great work in Debian!

Cheers,
Alex

Adrian Bunk  writes:

> Source: mlucas
> Version: 17.1-1
> Severity: serious
> Tags: ftbfs
>
> https://buildd.debian.org/status/package.php?p=mlucas=sid
>
> ...
> FAIL: tests/spot-check
> ==
>
> ./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
> FAIL tests/spot-check (exit status: 126)
>
> FAIL: tests/self-test
> =
>
> ./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
> FAIL tests/self-test (exit status: 126)
>
> FAIL: tests/fermat-test
> ===
>
> ./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
> FAIL tests/fermat-test (exit status: 126)
>
> 
> Testsuite summary for Mlucas 17.1
> 
> # TOTAL: 3
> # PASS:  0
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  3
> # XPASS: 0
> # ERROR: 0
> 
> See ./test-suite.log
> Please report to ewma...@aol.com
> 
> make[3]: *** [Makefile:12510: test-suite.log] Error 1


signature.asc
Description: PGP signature


Bug#920835: mlucas FTBFS on !amd64: test failures

2019-01-29 Thread Adrian Bunk
Source: mlucas
Version: 17.1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=mlucas=sid

...
FAIL: tests/spot-check
==

./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
FAIL tests/spot-check (exit status: 126)

FAIL: tests/self-test
=

./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
FAIL tests/self-test (exit status: 126)

FAIL: tests/fermat-test
===

./tests/..//mlucas: 149: exec: ./tests/../: Permission denied
FAIL tests/fermat-test (exit status: 126)


Testsuite summary for Mlucas 17.1

# TOTAL: 3
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

See ./test-suite.log
Please report to ewma...@aol.com

make[3]: *** [Makefile:12510: test-suite.log] Error 1