Bug#976562: golang-github-montanaflynn-stats: FTBFS: dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/montanaflynn/stats returned exit code 1

2020-12-15 Thread Guinness
I think it is important to keep this package in bullseye since it is a
dependency of hugo which I guess we do not want to see disappear from
debian.

However, I'm puzzled by some tests failing :
| correlation_test.go:44: Result 0.99124071 should be 0.99124071
| correlation_test.go:52: Result 0.99124071 should be 0.99124071

I'll see upstream and try to see on my armv7 VPS to fix the tests so it
can build on all arch.

Otherwise, I would recommend to remove the support for arm64 in order to
keep all the packages which depends from it.

Best regards,
-- 
Guinness


signature.asc
Description: PGP signature


Bug#976562: golang-github-montanaflynn-stats: FTBFS: dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/montanaflynn/stats returned exit code 1

2020-12-05 Thread Lucas Nussbaum
Source: golang-github-montanaflynn-stats
Version: 0.6.3-1
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
> dpkg-buildpackage
> -
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package golang-github-montanaflynn-stats
> dpkg-buildpackage: info: source version 0.6.3-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Anthony Fok 
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture arm64
>  debian/rules clean
> dh clean --buildsystem=golang --with=golang
>dh_auto_clean -O--buildsystem=golang
>dh_autoreconf_clean -O--buildsystem=golang
>dh_clean -O--buildsystem=golang
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-montanaflynn-stats using existing 
> ./golang-github-montanaflynn-stats_0.6.3.orig.tar.gz
> dpkg-source: info: building golang-github-montanaflynn-stats in 
> golang-github-montanaflynn-stats_0.6.3-1.debian.tar.xz
> dpkg-source: info: building golang-github-montanaflynn-stats in 
> golang-github-montanaflynn-stats_0.6.3-1.dsc
>  debian/rules binary
> dh binary --buildsystem=golang --with=golang
>dh_update_autotools_config -O--buildsystem=golang
>dh_autoreconf -O--buildsystem=golang
>dh_auto_configure -O--buildsystem=golang
>dh_auto_build -O--buildsystem=golang
>   cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 
> github.com/montanaflynn/stats
> internal/cpu
> math/bits
> internal/race
> runtime/internal/atomic
> runtime/internal/sys
> math
> runtime/internal/math
> internal/bytealg
> sync/atomic
> internal/unsafeheader
> unicode/utf8
> unicode
> runtime
> sync
> internal/reflectlite
> math/rand
> errors
> sort
> strconv
> io
> internal/oserror
> syscall
> strings
> time
> github.com/montanaflynn/stats
>dh_auto_test -O--buildsystem=golang
>   cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 
> github.com/montanaflynn/stats
> === RUN   TestError
> --- PASS: TestError (0.00s)
> === RUN   TestFloat64ToInt
> --- PASS: TestFloat64ToInt (0.00s)
> === RUN   TestCorrelation
> === RUN   TestCorrelation/Empty_Slice_Error
> === RUN   TestCorrelation/Different_Length_Error
> === RUN   TestCorrelation/Correlation_Value
> correlation_test.go:44: Result 0.99124071 should be 0.99124071
> correlation_test.go:52: Result 0.99124071 should be 0.99124071
> === RUN   TestCorrelation/Same_Input_Value
> --- FAIL: TestCorrelation (0.00s)
> --- PASS: TestCorrelation/Empty_Slice_Error (0.00s)
> --- PASS: TestCorrelation/Different_Length_Error (0.00s)
> --- FAIL: TestCorrelation/Correlation_Value (0.00s)
> --- PASS: TestCorrelation/Same_Input_Value (0.00s)
> === RUN   TestAutoCorrelation
> --- PASS: TestAutoCorrelation (0.00s)
> === RUN   TestCumulativeSum
> --- PASS: TestCumulativeSum (0.00s)
> === RUN   TestInterfaceMethods
> --- PASS: TestInterfaceMethods (0.00s)
> === RUN   TestHelperMethods
> --- PASS: TestHelperMethods (0.00s)
> === RUN   TestMedianAbsoluteDeviationMethods
> --- PASS: TestMedianAbsoluteDeviationMethods (0.00s)
> === RUN   TestStandardDeviationMethods
> --- PASS: TestStandardDeviationMethods (0.00s)
> === RUN   TestVarianceMethods
> --- PASS: TestVarianceMethods (0.00s)
> === RUN   TestPercentileMethods
> --- PASS: TestPercentileMethods (0.00s)
> === RUN   TestOtherDataMethods
> data_test.go:26: 
> github.com/montanaflynn/stats.Float64Data.Correlation-fm() => 
> 0.2087547359760545 != 0.20875473597605448
> data_test.go:26: github.com/montanaflynn/stats.Float64Data.Pearson-fm() 
> => 0.2087547359760545 != 0.20875473597605448
> data_test.go:26: 
> github.com/montanaflynn/stats.Float64Data.Covariance-fm() => 
> 7.381421553571428 != 7.3814215535714265
> data_test.go:26: 
> github.com/montanaflynn/stats.Float64Data.CovariancePopulation-fm() => 
> 6.458743859374999 != 6.458743859374998
> --- FAIL: TestOtherDataMethods (0.00s)
> === RUN   TestAutoCorrelationMethod
> --- PASS: TestAutoCorrelationMethod (0.00s)
> === RUN   TestSampleMethod
> --- PASS: TestSampleMethod (0.00s)
> === RUN   TestQuartileMethods
> --- PASS: TestQuartileMethods (0.00s)
> === RUN   TestSigmoidMethod
> --- PASS: TestSigmoidMethod (0.00s)
> === RUN   TestSoftMaxMethod
> --- PASS: TestSoftMaxMethod (0.00s)
> === RUN   TestEntropyMethod
> --- PASS: TestEntropyMethod (0.00s)
> === RUN   TestMedianAbsoluteDeviation
> --- PASS: TestMedianAbsoluteDeviation (0.00s)
> === RUN   TestMedianAbsoluteDeviationPopulation
> --- PASS: TestMedianAbsoluteDeviationPopulation (0.00s)
> === RUN   TestStandardDeviation
> --- PASS: TestStandardDeviation (0.00s)
> === RUN   TestStandardDeviationPopulation
> --- PASS: TestStandardDeviationPopulation