Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Tuesday December 03, 2002
04:10 AM

Waiting for

[ #9242 ]

Uah. The below observed on sunos sunu991 5.8 generic_108528-14 sun4u sparc.

        This is an error report generated automatically by CPANPLUS,
        version .

        Below is the error stack during 'make test':

        make[1]: Entering directory `/net/sunu991/disc1/.cpanplus/5.8.0/build/MP3-Mplib-0.01/mplib'
        make[1]: Nothing to be done for `all'.
        make[1]: Leaving directory `/net/sunu991/disc1/.cpanplus/5.8.0/build/MP3-Mplib-0.01/mplib'
        PERL_DL_NONLAZY=1 /usr/local/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
        t/t3....# Failed test (t/t3.t at line 46)
        # Failed test (t/t3.t at line 48)
        # Failed test (t/t3.t at line 50)
        # Failed test (t/t3.t at line 52)
        # Failed test (t/t3.t at line 54)
        # Failed test (t/t3.t at line 56)
        # Failed test (t/t3.t at line 63)
        # Failed test (t/t3.t at line 65)
        # Looks like you failed 8 tests of 21.
                Test returned status 8 (wstat 2048, 0x800)
        DIED. FAILED tests 12-17, 20-21
                Failed 8/21 tests, 61.90% okay
        Failed Test Stat Wstat Total Fail Failed List of Failed
        t/t3.t 8 2048 21 8 38.10% 12-17 20-21
        Failed 1/5 test scripts, 80.00% okay. 8/76 subtests failed, 89.47% okay.
        make: *** [test_dynamic] Error 29

In my interpretation that means that only one function is not behaving properly, namely the one turning an id3v2-tag into a Perl hash which is a good thing. Still I am now condemned to wait for my login for Sourceforge's compile farm to try this beast under several other operating systems, including MacOSX, FreeBSD and different flavours of Sparcs.

I can already log into the OS-switch menu, but my account doesn't yet seem to have propagated to the actual machines behind that. I can only hope that they have Perl and vim installed.

Also, the above tests were made using gcc instead of Sun's legacy compiler. The available compilers is yet another uncertainty.

Yet, I have the hope that once my module works fine under two operating systems, changes should increase that it also works under the third and fourth and so on.

How do other people ensure interoperability for various OSs? Do they have accounts for different machines or is it programmer's experience that makes the thing work on most platforms?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • How do other people ensure interoperability for various OSs? Do they have accounts for different machines or is it programmer's experience that makes the thing work on most platforms?

    A bit of both. There's no substitute for testing on different machines (and with different compilers), but you'll have a lot less problems if the first place once you become experienced in what is and isn't portable

    Part of the problem with portability is that the most common platform (x86) is one of the most forgiving (littl

  • What options would you recommend to gcc to improve its B&D on the code?
      ---ict / Spoon
  • For example, your module is also failing its tests on PPC linux, so I'd suspect that it's an endian-ness bug somewhere (your code, or the included library), as both sparc and PPC are big endian.

    Seems more and more reasonable to me to suspect byte order. Just browsed through mplib and did in fact find a lot of bitshift operations in mp_get_id3v2_tag (the id3v2-reading was the stuff that failed in the tests) but not in the corresponding mp_get_id3v1_tag.

    If these are in fact the offending parts, a few prepr
  • This is use.perl, so -Wall, obviously :-)

    parrot is compiled with -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused -Wsign-compare -Wformat-nonliteral -Wformat-security -Wpacked -Wpadded -Wdisabled-optimization on gcc 3.2. Some of those are specific to various recent versions of gcc - take a look at parrot's config/auto/ for how it chooses its bondage preferences based on gcc version. How