Fabio, Math::GSL isn't a PDL Porters project. Duke Leto is responsive
though, I've emailed/tweeted him before. I've copied him on this, but
perhaps you want to start a dialog off this list.

Cheers,
Joel


On Tue, Apr 23, 2013 at 3:07 AM, Fabio D'Alfonso <
[email protected]> wrote:

> Hi,
> there are the tests failed in Math::GSL
>
> Thanks
>
> Running Build test
> Process XS files version 1.15
> t/00-load.t ........ 1/53 # Testing Math::GSL 0.27 on
> i686-linux-gnu-thread-multi-**64int, Perl (/usr/bin/perl) 5.014002
> t/00-load.t ........ ok
> t/01-pod.t ......... skipped: Test::Pod 1.00 required for testing POD
> t/BLAS.t ........... ok
> t/BSpline.t ........ ok
> t/CBLAS.t .......... ok
> t/CDF.t ............ ok
> t/Chebyshev.t ...... 1/10
> #   Failed test 'GSL_CHEB_CALC_DERIV died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Chebyshev.t line 59.)'
> #   at t/Chebyshev.t line 72.
> #   (in Math::GSL::Chebyshev::Test->**GSL_CHEB_CALC_DERIV)
>
> #   Failed test 'GSL_CHEB_CALC_INTEGRAL died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Chebyshev.t line 68.)'
> #   at t/Chebyshev.t line 72.
> #   (in Math::GSL::Chebyshev::Test->**GSL_CHEB_CALC_INTEGRAL)
>
> #   Failed test 'GSL_CHEB_EVAL died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Chebyshev.t line 40.)'
> #   at t/Chebyshev.t line 72.
> #   (in Math::GSL::Chebyshev::Test->**GSL_CHEB_EVAL)
>
> #   Failed test 'GSL_CHEB_EVAL_ERR died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Chebyshev.t line 48.)'
> #   at t/Chebyshev.t line 72.
> #   (in Math::GSL::Chebyshev::Test->**GSL_CHEB_EVAL_ERR)
>
> #   Failed test 'GSL_CHEB_INIT died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Chebyshev.t line 33.)'
> #   at t/Chebyshev.t line 72.
> #   (in Math::GSL::Chebyshev::Test->**GSL_CHEB_INIT)
> # Looks like you planned 10 tests but ran 6.
> # Looks like you failed 5 tests of 6 run.
> t/Chebyshev.t ...... Dubious, test returned 5 (wstat 1280, 0x500)
> Failed 9/10 subtests
> t/Combination.t .... ok
> t/Complex.t ........ ok
> t/Const.t .......... ok
> t/DHT.t ............ ok
> t/Deriv.t .......... 1/13
> #   Failed test 'TEST_DERIV_BACKWARD died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Deriv.t line 70.)'
> #   at t/Deriv.t line 84.
> #   (in Math::GSL::Deriv::Test->TEST_**DERIV_BACKWARD)
>
> #   Failed test 'TEST_DERIV_CENTRAL died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Deriv.t line 51.)'
> #   at t/Deriv.t line 84.
> #   (in Math::GSL::Deriv::Test->TEST_**DERIV_CENTRAL)
>
> #   Failed test 'gsl_deriv_central can call anon sub'
> #   at t/Deriv.t line 82.
> #   (in Math::GSL::Deriv::Test->TEST_**DERIV_CENTRAL_CALLS_THE_SUB)
> # expecting: Regexp ((?^:CALL ME BACK))
> # found: Bizarre copy of UNKNOWN in subroutine entry at t/Deriv.t line 81.
>
> #   Failed test 'gsl_deriv_central borks when first arg is not a existing
> routine'
> #   at t/Deriv.t line 32.
> #   (in Math::GSL::Deriv::Test->TEST_**DERIV_CENTRAL_DIES)
> # expecting: Regexp ((?^:Undefined subroutine))
> # found: Bizarre copy of UNKNOWN in subroutine entry at t/Deriv.t line 31.
>
> #   Failed test 'gsl_deriv_central borks when first arg is not a existing
> routine'
> #   at t/Deriv.t line 44.
> #   (in Math::GSL::Deriv::Test->TEST_**DERIV_CENTRAL_DIES)
> # expecting: Regexp ((?^:Undefined subroutine))
> # found: Bizarre copy of UNKNOWN in subroutine entry at t/Deriv.t line 43.
>
> #   Failed test 'TEST_DERIV_FORWARD died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Deriv.t line 61.)'
> #   at t/Deriv.t line 84.
> #   (in Math::GSL::Deriv::Test->TEST_**DERIV_FORWARD)
> # Looks like you failed 6 tests of 13.
> t/Deriv.t .......... Dubious, test returned 6 (wstat 1536, 0x600)
> Failed 6/13 subtests
>     (less 3 skipped subtests: 4 okay)
> t/Eigen.t .......... ok
> t/Errno.t .......... ok
> t/FFT.t ............ ok
> t/Fit.t ............ Failed 23/23 subtests
> t/GSL.t ............ 1/19 #
> #     Elements start differing at index 2, delta = 0.00099999999999989
> #         $x->[2] = 3
> #         $y->[2] = 3.001
> #
> #     Elements start differing at index 2, delta = 9.99999998363421e-08
> #         $x->[2] = 3.0010001
> #         $y->[2] = 3.0010002
> t/GSL.t ............ ok
> t/Heapsort.t ....... ok
> t/Histogram.t ...... ok
> t/Histogram2D.t .... ok
> t/IEEEUtils.t ...... ok
> t/Integration.t .... 1/29
> #   Failed test 'TEST_QAG died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Integration.t line 40.)'
> #   at t/Integration.t line 166.
> #   (in Math::GSL::Integration::Test->**TEST_QAG)
>
> #   Failed test 'TEST_QAG2 died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Integration.t line 106.)'
> #   at t/Integration.t line 166.
> #   (in Math::GSL::Integration::Test->**TEST_QAG2)
>
> #   Failed test 'TEST_QAGI died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Integration.t line 92.)'
> #   at t/Integration.t line 166.
> #   (in Math::GSL::Integration::Test->**TEST_QAGI)
>
> #   Failed test 'TEST_QAGIU died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Integration.t line 64.)'
> #   at t/Integration.t line 166.
> #   (in Math::GSL::Integration::Test->**TEST_QAGIU)
>
> #   Failed test 'TEST_QAGS3 died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Integration.t line 124.)'
> #   at t/Integration.t line 166.
> #   (in Math::GSL::Integration::Test->**TEST_QAGS3)
>
> #   Failed test 'TEST_QNG died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Integration.t line 145.)'
> #   at t/Integration.t line 166.
> #   (in Math::GSL::Integration::Test->**TEST_QNG)
> # Looks like you planned 29 tests but ran 17.
> # Looks like you failed 6 tests of 17 run.
> t/Integration.t .... Dubious, test returned 6 (wstat 1536, 0x600)
> Failed 18/29 subtests
> t/Interp.t ......... ok
> t/Linalg.t ......... ok
> t/Machine.t ........ ok
> t/Matrix.t ......... 1/238 #
> #     Elements start differing at index 1, delta = 1
> #         $x->[1] = 3
> #         $y->[1] = 2
> t/Matrix.t ......... ok
> t/MatrixComplex.t .. 1/38 #
> #     Elements start differing at index 1, delta = 1
> #         $x->[1] = 3
> #         $y->[1] = 4
> #
> #     Elements start differing at index 1, delta = 1
> #         $x->[1] = 3
> #         $y->[1] = 2
> t/MatrixComplex.t .. ok
> t/Min.t ............ 1/22
> #   Failed test 'GSL_MIN_ITERATE died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Min.t line 89.)'
> #   at t/Min.t line 96.
> #   (in Math::GSL::Min::Test->GSL_MIN_**ITERATE)
>
> #   Failed test 'GSL_MIN_SET died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Min.t line 47.)'
> #   at t/Min.t line 96.
> #   (in Math::GSL::Min::Test->GSL_MIN_**SET)
> # Looks like you planned 22 tests but ran 8.
> # Looks like you failed 2 tests of 8 run.
> t/Min.t ............ Dubious, test returned 2 (wstat 512, 0x200)
> Failed 16/22 subtests
> t/Monte.t .......... 1/15
> #   Failed test 'TEST_MONTE_PLAIN_INTEGRATE died (Bizarre copy of UNKNOWN
> in subroutine entry at t/Monte.t line 52.)'
> #   at t/Monte.t line 84.
> #   (in Math::GSL::Monte::Test->TEST_**MONTE_PLAIN_INTEGRATE)
>
> #   Failed test 'TEST_MONTE_VEGAS_INTEGRATE died (Bizarre copy of UNKNOWN
> in subroutine entry at t/Monte.t line 63.)'
> #   at t/Monte.t line 84.
> #   (in Math::GSL::Monte::Test->TEST_**MONTE_VEGAS_INTEGRATE)
> # Looks like you failed 2 tests of 15.
> t/Monte.t .......... Dubious, test returned 2 (wstat 512, 0x200)
> Failed 2/15 subtests
>     (less 2 skipped subtests: 11 okay)
> t/Multifit.t ....... ok
> t/Multimin.t ....... ok
> t/Multiroots.t ..... ok
> t/NTuple.t ......... 1/11 This is the end at t/NTuple.t line 14.
> t/NTuple.t ......... ok
> t/ODEIV.t .......... ok
> t/Permutation.t .... ok
> t/Poly.t ........... ok
> t/PowInt.t ......... ok
> t/QRNG.t ........... ok
> t/RNG.t ............ ok
> t/Randist.t ........ ok
> t/Roots.t .......... 1/13
> #   Failed test 'GSL_ROOTS_SET died (Bizarre copy of UNKNOWN in subroutine
> entry at t/Roots.t line 38.)'
> #   at t/Roots.t line 82.
> #   (in Math::GSL::Roots::Test->GSL_**ROOTS_SET)
>
> #   Failed test 'GSL_ROOT_ITERATE died (Bizarre copy of UNKNOWN in
> subroutine entry at t/Roots.t line 48.)'
> #   at t/Roots.t line 82.
> #   (in Math::GSL::Roots::Test->GSL_**ROOT_ITERATE)
> # Looks like you planned 13 tests but ran 10.
> # Looks like you failed 2 tests of 10 run.
> t/Roots.t .......... Dubious, test returned 2 (wstat 512, 0x200)
> Failed 5/13 subtests
> t/SF.t ............. ok
> t/Siman.t .......... ok
> t/Sort.t ........... ok
> t/Spline.t ......... ok
> t/Statistics.t ..... ok
> t/Sum.t ............ ok
> t/Sys.t ............ ok
> t/Vector.t ......... 1/143 #
> #     Elements start differing at index 0, delta = 9
> #         $x->[0] = 1
> #         $y->[0] = 10
> #
> #     Elements start differing at index 0, delta = 9
> #         $x->[0] = 1
> #         $y->[0] = 10
> t/Vector.t ......... ok
> t/VectorComplex.t .. ok
> t/Wavelet.t ........ ok
> t/Wavelet2D.t ...... ok
>
> Test Summary Report
> -------------------
> t/Chebyshev.t    (Wstat: 1280 Tests: 6 Failed: 5)
>   Failed tests:  2-6
>   Non-zero exit status: 5
>   Parse errors: Bad plan.  You planned 10 tests but ran 6.
> t/Deriv.t        (Wstat: 1536 Tests: 13 Failed: 6)
>   Failed tests:  1, 3, 5-6, 10-11
>   Non-zero exit status: 6
> t/Fit.t          (Wstat: 139 Tests: 0 Failed: 0)
>   Non-zero wait status: 139
>   Parse errors: Bad plan.  You planned 23 tests but ran 0.
> t/Integration.t  (Wstat: 1536 Tests: 17 Failed: 6)
>   Failed tests:  11-16
>   Non-zero exit status: 6
>   Parse errors: Bad plan.  You planned 29 tests but ran 17.
> t/Matrix.t       (Wstat: 0 Tests: 238 Failed: 0)
>   TODO passed:   211
> t/Min.t          (Wstat: 512 Tests: 8 Failed: 2)
>   Failed tests:  1, 4
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 22 tests but ran 8.
> t/Monte.t        (Wstat: 512 Tests: 15 Failed: 2)
>   Failed tests:  10-11
>   Non-zero exit status: 2
> t/Roots.t        (Wstat: 512 Tests: 10 Failed: 2)
>   Failed tests:  3-4
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 13 tests but ran 10.
> Files=52, Tests=3980, 14 wallclock secs ( 0.84 usr  0.71 sys + 6.78 cusr
>  2.28 csys = 10.61 CPU)
> Result: FAIL
> Failed 7/52 test programs. 23/3980 subtests failed.
>   LETO/Math-GSL-0.27.tar.gz
>   ./Build test -- NOT OK
>
> //hint// to see the cpan-testers results for installing this module, try:
>   reports LETO/Math-GSL-0.27.tar.gz
> Running Build install
>
>   make test had returned bad status, won't install without force
> root@HDUBVM01:~#
>
>
> Fabio D'Alfonso
> 'Enabling Business Through IT'
> cell.  +39.348.059.40.22 ***
> web: www.fabiodalfonso.com <http://www.fabiodalfonso.com/**>
> email: fabio.dalfonso@fabiodalfonso.**com<[email protected]>
> <mailto:fabio.dalfonso@**fabiodalfonso.com<[email protected]>>linkedin:
> www.linkedin.com/in/**fabiodalfonso<http://www.linkedin.com/in/fabiodalfonso><
> http://it.linkedin.com/in/**fabiodalfonso<http://it.linkedin.com/in/fabiodalfonso>
> >
> twitter: 
> www.twitter.com/#!/fabio_**dalfonso<http://www.twitter.com/#!/fabio_dalfonso><
> http://www.twitter.com/#%21/**fabio_dalfonso<http://www.twitter.com/#%21/fabio_dalfonso>
> >
>
> fax: +39.06.874.599.581
> BlackBerry® Wireless Enabled Address.
>
>
>          ** Hidden  numbers are automatically rejected by the phone*
>
> On 4/22/2013 10:02 AM, Fabio D'Alfonso wrote:
>
>> Hi,
>> it is quite worth to understand the way apt works and being able to use
>> it more than just fetching packages. So thanks for this email.
>> The only issue is the variance among systems using different package
>> management. But this can be solved using as much as possible the same dist,
>> apart of specific uses (e.g. Oracle Linux for Oracle software )  that will
>> not require any big effort in this type of task.
>>
>> I still prefer the system stopping at the boundary of perl, and at the
>> boundary in general. It worked up to 11.04 so the decision to depart of
>> using apt to put things where they could be in other ways is both
>> respectful and questionable. One should be free once the system is ready to
>> build, using the apt to provide the environment, to:
>> -> set the end packages from apt
>> -> set the software from source
>> This is the real point of this story.
>>
>> Meanwhile I have dismissed the VM for now and will be back sometime later
>> this year (or the next) . About the errors I got, that was about the same
>> described.
>>
>>
>> Fabio D'Alfonso
>> 'Enabling Business Through IT'
>> cell.  +39.348.059.40.22 ***
>> web: www.fabiodalfonso.com <http://www.fabiodalfonso.com/**>
>> email: fabio.dalfonso@fabiodalfonso.**com<[email protected]>
>> <mailto:fabio.dalfonso@**fabiodalfonso.com<[email protected]>>linkedin:
>> www.linkedin.com/in/**fabiodalfonso<http://www.linkedin.com/in/fabiodalfonso><
>> http://it.linkedin.com/in/**fabiodalfonso<http://it.linkedin.com/in/fabiodalfonso>
>> >
>> twitter: 
>> www.twitter.com/#!/fabio_**dalfonso<http://www.twitter.com/#!/fabio_dalfonso><
>> http://www.twitter.com/#%21/**fabio_dalfonso<http://www.twitter.com/#%21/fabio_dalfonso>
>> >
>>
>> fax: +39.06.874.599.581
>> BlackBerry® Wireless Enabled Address.
>>
>>
>>          ** Hidden  numbers are automatically rejected by the phone*
>>
>> On 4/22/2013 9:35 AM, Dima Kogan wrote:
>>
>>> Clifford Sobchuk <[email protected]**> writes:
>>>
>>>  Hi Dima, That is the way I have always upgraded. When I try to
>>>> initially install via cpan it always fails. I install via apt, then I
>>>> use CPAN to upgrade. I now see what you mean about the two different
>>>> directories for the two versions - apt puts it in /usr/lib/perl5 where
>>>> as cpan puts it into /usr/local/lib/perl/5.14.2/PDL I don't develop
>>>> PDL, I only use PDL in my scripts. I haven't run into any problems
>>>> previously - apparently I have been lucky.
>>>>
>>> Ok. That's interesting. I suspect what's happening is that when you ask
>>> APT to install PDL, it installs not just PDL, but its dependencies also
>>> (as it should). And it is these dependencies that make the CPAN
>>> installation work. Installing PDL via cpan SHOULD fail if there are
>>> missing dependencies. And in a nutshell, this is why you should always
>>> use APT instead of other tools: it knows about dependencies, while tools
>>> such as cpan do not.
>>>
>>> Since all you are trying to do is to install a newer PDL, by far the
>>> best thing you can do is to simply build a new package, and install it.
>>> The PDL sources already have the debianization in them, so this is easy
>>> and painless (just tried it).
>>>
>>> Steps:
>>>
>>> 1. You need to bump the version of the debian package. This entails
>>> creating a new entry in debian/changelog. You can do this yourself, or
>>> you can apply the attached patch (do not commit it; it's just for your
>>> personal package).
>>>
>>> 2. Make sure your checkout is fresh and clean. 'git reset --hard' and
>>> 'git clean -ffdx' is what I generally do. Note that this will delete
>>> existing files.
>>>
>>> 3. Build the package! From the PDL directory do
>>>
>>>   dpkg-buildpackage -us -uc -b
>>>
>>> This asks the machine to build the package without signing anything and
>>> without building the sources. This will build a fresh .deb in ..
>>>
>>> 4. Install it. 'dpkg -i ../pdl_2.6.0~1-1_amd64.deb'
>>>
>>>
>>>
>>> I just tried it on my Debian/sid system; worked fine. Note that if you
>>> have stuff installed via the cpan utility (existing stuff in
>>> /usr/local/lib/perl/...) then these files may confuse the build and/or
>>> tests and it may not work. Having multiple simultaneous installations
>>> such as this is just asking for things to break IMHO.
>>>
>>> Let me know if something here doesn't work.
>>>
>>>
>>> dima
>>>
>>>
>>>
>>> ______________________________**_________________
>>> Perldl mailing list
>>> [email protected]
>>> http://mailman.jach.hawaii.**edu/mailman/listinfo/perldl<http://mailman.jach.hawaii.edu/mailman/listinfo/perldl>
>>>
>>
>>
>> ______________________________**_________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.**edu/mailman/listinfo/perldl<http://mailman.jach.hawaii.edu/mailman/listinfo/perldl>
>>
>>
>>
>
> ______________________________**_________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.**edu/mailman/listinfo/perldl<http://mailman.jach.hawaii.edu/mailman/listinfo/perldl>
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to