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 <[email protected]>
>  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 (0.00s)
> === RUN   TestStandardDeviationSample
> --- PASS: TestStandardDeviationSample (0.00s)
> === RUN   TestDataSetDistances
> --- PASS: TestDataSetDistances (0.00s)
> === RUN   TestEntropy
>     entropy_test.go:31: Max([0.7 0.0 0.3]) => 0.7 != 0.7
>     entropy_test.go:31: Max([0.1 0.2 0.0 0.7]) => 0.8 != 0.8
> --- FAIL: TestEntropy (0.00s)
> === RUN   TestLegacy
> --- PASS: TestLegacy (0.00s)
> === RUN   TestLoadRawData
> --- PASS: TestLoadRawData (0.00s)
> === RUN   TestMax
> --- PASS: TestMax (0.00s)
> === RUN   TestMean
> --- PASS: TestMean (0.00s)
> === RUN   TestGeometricMean
> --- PASS: TestGeometricMean (0.00s)
> === RUN   TestHarmonicMean
> --- PASS: TestHarmonicMean (0.00s)
> === RUN   TestMedian
> --- PASS: TestMedian (0.00s)
> === RUN   TestMedianSortSideEffects
> --- PASS: TestMedianSortSideEffects (0.00s)
> === RUN   TestMin
> --- PASS: TestMin (0.00s)
> === RUN   TestMode
> --- PASS: TestMode (0.00s)
> === RUN   TestLewData
> --- PASS: TestLewData (0.00s)
> === RUN   TestLotteryData
> --- PASS: TestLotteryData (0.00s)
> === RUN   TestMavroData
> --- PASS: TestMavroData (0.00s)
> === RUN   TestMichelsonData
> --- PASS: TestMichelsonData (0.00s)
> === RUN   TestPidigitsData
> --- PASS: TestPidigitsData (0.00s)
> === RUN   TestNumacc1Data
> --- PASS: TestNumacc1Data (0.00s)
> === RUN   TestNumacc2Data
> --- PASS: TestNumacc2Data (0.00s)
> === RUN   TestNumacc3Data
> --- PASS: TestNumacc3Data (0.00s)
> === RUN   TestNumacc4Data
> --- PASS: TestNumacc4Data (0.00s)
> === RUN   TestNormPpf
>     norm_test.go:16: Input 0.1, Expected -1.2815515655446004
>     norm_test.go:22: Input 1 - 0.002423, Expected 2.817096255323956
> --- FAIL: TestNormPpf (0.00s)
> === RUN   TestNormCdf
> --- PASS: TestNormCdf (0.00s)
> === RUN   TestNormPdf
> --- PASS: TestNormPdf (0.00s)
> === RUN   TestNormLogPdf
> --- PASS: TestNormLogPdf (0.00s)
> === RUN   TestNormLogCdf
> --- PASS: TestNormLogCdf (0.00s)
> === RUN   TestNormIsf
>     norm_test.go:86: Input 0.1, Expected 1.2815515655446004
> --- FAIL: TestNormIsf (0.00s)
> === RUN   TestNormSf
> --- PASS: TestNormSf (0.00s)
> === RUN   TestNormLogSf
> --- PASS: TestNormLogSf (0.00s)
> === RUN   TestNormMoment
> --- PASS: TestNormMoment (0.00s)
> === RUN   TestNormStats
> --- PASS: TestNormStats (0.00s)
> === RUN   TestNormEntropy
> --- PASS: TestNormEntropy (0.00s)
> === RUN   TestNormFit
> --- PASS: TestNormFit (0.00s)
> === RUN   TestNormInterval
> --- PASS: TestNormInterval (0.00s)
> === RUN   TestNormMean
> --- PASS: TestNormMean (0.00s)
> === RUN   TestNormMedian
> --- PASS: TestNormMedian (0.00s)
> === RUN   TestNormVar
> --- PASS: TestNormVar (0.00s)
> === RUN   TestNormStd
> --- PASS: TestNormStd (0.00s)
> === RUN   TestNormPpfRvs
> --- PASS: TestNormPpfRvs (0.00s)
> === RUN   TestNormBoxMullerRvs
> --- PASS: TestNormBoxMullerRvs (0.00s)
> === RUN   TestNcr
> --- PASS: TestNcr (0.00s)
> === RUN   TestQuartileOutliers
> --- PASS: TestQuartileOutliers (0.00s)
> === RUN   TestPercentile
> --- PASS: TestPercentile (0.00s)
> === RUN   TestPercentileSortSideEffects
> --- PASS: TestPercentileSortSideEffects (0.00s)
> === RUN   TestPercentileNearestRank
> --- PASS: TestPercentileNearestRank (0.00s)
> === RUN   TestQuartile
> --- PASS: TestQuartile (0.00s)
> === RUN   TestInterQuartileRange
> --- PASS: TestInterQuartileRange (0.00s)
> === RUN   TestMidhinge
> --- PASS: TestMidhinge (0.00s)
> === RUN   TestTrimean
> --- PASS: TestTrimean (0.00s)
> === RUN   TestLinearRegression
>     regression_test.go:34: 2.3800000000000012 != 2.3800000000000026
>     regression_test.go:38: 3.080000000000001 != 3.0800000000000014
>     regression_test.go:46: 4.4799999999999995 != 4.479999999999999
>     regression_test.go:50: 5.179999999999999 != 5.179999999999998
> --- FAIL: TestLinearRegression (0.00s)
> === RUN   TestExponentialRegression
> --- PASS: TestExponentialRegression (0.00s)
> === RUN   TestExponentialRegressionYCoordErr
> --- PASS: TestExponentialRegressionYCoordErr (0.00s)
> === RUN   TestLogarithmicRegression
>     regression_test.go:116: 2.152082236381168 != 2.1520822363811702
>     regression_test.go:120: 3.330555922249221 != 3.3305559222492214
>     regression_test.go:124: 4.019918836568675 != 4.019918836568674
>     regression_test.go:128: 4.509029608117274 != 4.509029608117273
>     regression_test.go:132: 4.8884133966836645 != 4.888413396683663
> --- FAIL: TestLogarithmicRegression (0.00s)
> === RUN   TestRound
> --- PASS: TestRound (0.00s)
> === RUN   TestSample
> --- PASS: TestSample (0.00s)
> === RUN   TestSampleWithoutReplacement
> --- PASS: TestSampleWithoutReplacement (0.00s)
> === RUN   TestSampleWithReplacement
> --- PASS: TestSampleWithReplacement (0.00s)
> === RUN   TestStableSample
> --- PASS: TestStableSample (0.00s)
> === RUN   TestSigmoidEmptyInput
> --- PASS: TestSigmoidEmptyInput (0.00s)
> === RUN   TestSigmoid
> --- PASS: TestSigmoid (0.00s)
> === RUN   TestSoftMaxEmptyInput
> --- PASS: TestSoftMaxEmptyInput (0.00s)
> === RUN   TestSoftMax
> --- PASS: TestSoftMax (0.00s)
> === RUN   TestSum
> --- PASS: TestSum (0.00s)
> === RUN   TestVariance
> --- PASS: TestVariance (0.00s)
> === RUN   TestPopulationVariance
> --- PASS: TestPopulationVariance (0.00s)
> === RUN   TestSampleVariance
> --- PASS: TestSampleVariance (0.00s)
> === RUN   TestCovariance
> --- PASS: TestCovariance (0.00s)
> === RUN   TestCovariancePopulation
> --- PASS: TestCovariancePopulation (0.00s)
> === RUN   ExampleCorrelation
> --- FAIL: ExampleCorrelation (0.00s)
> got:
> 0.9912407071619304
> want:
> 0.9912407071619302
> === RUN   ExampleAutoCorrelation
> --- PASS: ExampleAutoCorrelation (0.00s)
> === RUN   ExampleCumulativeSum
> --- PASS: ExampleCumulativeSum (0.00s)
> === RUN   ExampleChebyshevDistance
> --- PASS: ExampleChebyshevDistance (0.00s)
> === RUN   ExampleEntropy
> --- PASS: ExampleEntropy (0.00s)
> === RUN   ExampleLoadRawData
> --- PASS: ExampleLoadRawData (0.00s)
> === RUN   ExampleMax
> --- PASS: ExampleMax (0.00s)
> === RUN   ExampleMedian
> --- PASS: ExampleMedian (0.00s)
> === RUN   ExampleMin
> --- PASS: ExampleMin (0.00s)
> === RUN   ExampleLinearRegression
> --- PASS: ExampleLinearRegression (0.00s)
> === RUN   ExampleRound
> --- PASS: ExampleRound (0.00s)
> === RUN   ExampleSigmoid
> --- PASS: ExampleSigmoid (0.00s)
> === RUN   ExampleSoftMax
> --- PASS: ExampleSoftMax (0.00s)
> === RUN   ExampleSum
> --- PASS: ExampleSum (0.00s)
> FAIL
> FAIL  github.com/montanaflynn/stats   0.004s
> FAIL
> dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 
> github.com/montanaflynn/stats returned exit code 1

The full build log is available from:
   
http://qa-logs.debian.net/2020/12/05/golang-github-montanaflynn-stats_0.6.3-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to