Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Problem compiling Perl 5.14.2 - op/stat.t test 37 failed

by mrthom (Novice)
on May 30, 2012 at 12:09 UTC ( #973272=note: print w/ replies, xml ) Need Help??


in reply to Re: Problem compiling Perl 5.14.2 - op/stat.t test 37 failed
in thread Problem compiling Perl 5.14.2 - op/stat.t test 37 failed

OK, i ran this, exactly same code as you wrote above and got:

ok 34 - -e ok 35 - -e on unlinked file ok 36 - ls and -b agreeing on /dev (29 29) !!: 0 # Looks like you planned 107 tests but ran 36.

I dont really uderstand these commands, I only want successfully compile this, so sry, but I must ask what now ?? I can provide this info:

[tom@alarmpi perl-5.14.2]$ find /dev/ -type c | wc -l 232
tom@alarmpi perl-5.14.2$ find /dev/ -type c /dev/bsg/1:0:0:0 /dev/usbdev1.5 /dev/net/tun /dev/uinput /dev/snd/timer /dev/vcsa9 /dev/vcs9 /dev/vcsa8 /dev/vcs8 /dev/vcsa7 /dev/vcs7 /dev/vcsa63 /dev/vcs63 /dev/vcsa62 /dev/vcs62 /dev/vcsa61 /dev/vcs61 /dev/vcsa60 /dev/vcs60 /dev/vcsa6 /dev/vcs6 /dev/vcsa59 /dev/vcs59 /dev/vcsa58 /dev/vcs58 /dev/vcsa57 /dev/vcs57 /dev/vcsa56 /dev/vcs56 /dev/vcsa55 /dev/vcs55 /dev/vcsa54 /dev/vcs54 /dev/vcsa53 /dev/vcs53 /dev/vcsa52 /dev/vcs52 /dev/vcsa51 /dev/vcs51 /dev/vcsa50 /dev/vcs50 /dev/vcsa5 /dev/vcs5 /dev/vcsa49 /dev/vcs49 /dev/vcsa48 /dev/vcs48 /dev/vcsa47 /dev/vcs47 /dev/vcsa46 /dev/vcs46 /dev/vcsa45 /dev/vcs45 /dev/vcsa44 /dev/vcs44 /dev/vcsa43 /dev/vcs43 /dev/vcsa42 /dev/vcs42 /dev/vcsa41 /dev/vcs41 /dev/vcsa40 /dev/vcs40 /dev/vcsa4 /dev/vcs4 /dev/vcsa39 /dev/vcs39 /dev/vcsa38 /dev/vcs38 /dev/vcsa37 /dev/vcs37 /dev/vcsa36 /dev/vcs36 /dev/vcsa35 /dev/vcs35 /dev/vcsa34 /dev/vcs34 /dev/vcsa33 /dev/vcs33 /dev/vcsa32 /dev/vcs32 /dev/vcsa31 /dev/vcs31 /dev/vcsa30 /dev/vcs30 /dev/vcsa3 /dev/vcs3 /dev/vcsa29 /dev/vcs29 /dev/vcsa28 /dev/vcs28 /dev/vcsa27 /dev/vcs27 /dev/vcsa26 /dev/vcs26 /dev/vcsa25 /dev/vcs25 /dev/vcsa24 /dev/vcs24 /dev/vcsa23 /dev/vcs23 /dev/vcsa22 /dev/vcs22 /dev/vcsa21 /dev/vcs21 /dev/vcsa20 /dev/vcs20 /dev/vcsa2 /dev/vcs2 /dev/vcsa19 /dev/vcs19 /dev/vcsa18 /dev/vcs18 /dev/vcsa17 /dev/vcs17 /dev/vcsa16 /dev/vcs16 /dev/vcsa15 /dev/vcs15 /dev/vcsa14 /dev/vcs14 /dev/vcsa13 /dev/vcs13 /dev/vcsa12 /dev/vcs12 /dev/vcsa11 /dev/vcs11 /dev/vcsa10 /dev/vcs10 /dev/pts/0 /dev/pts/2 /dev/usbdev1.3 /dev/usbdev1.2 /dev/network_throughput /dev/network_latency /dev/cpu_dma_latency /dev/vhci /dev/input/mice /dev/usbdev1.1 /dev/bus/usb/001/005 /dev/bus/usb/001/003 /dev/bus/usb/001/002 /dev/bus/usb/001/001 /dev/vchiq /dev/loop-control /dev/raw/rawctl /dev/ptmx /dev/fb0 /dev/btrfs-control /dev/cuse /dev/fuse /dev/autofs /dev/tty63 /dev/tty62 /dev/tty61 /dev/tty60 /dev/tty59 /dev/tty58 /dev/tty57 /dev/tty56 /dev/tty55 /dev/tty54 /dev/tty53 /dev/tty52 /dev/tty51 /dev/tty50 /dev/tty49 /dev/tty48 /dev/tty47 /dev/tty46 /dev/tty45 /dev/tty44 /dev/tty43 /dev/tty42 /dev/tty41 /dev/tty40 /dev/tty39 /dev/tty38 /dev/tty37 /dev/tty36 /dev/tty35 /dev/tty34 /dev/tty33 /dev/tty32 /dev/tty31 /dev/tty30 /dev/tty29 /dev/tty28 /dev/tty27 /dev/tty26 /dev/tty25 /dev/tty24 /dev/tty23 /dev/tty22 /dev/tty21 /dev/tty20 /dev/tty19 /dev/tty18 /dev/tty17 /dev/tty16 /dev/tty15 /dev/tty14 /dev/tty13 /dev/tty12 /dev/tty11 /dev/tty10 /dev/tty9 /dev/tty8 /dev/tty7 /dev/tty6 /dev/tty5 /dev/tty4 /dev/tty3 /dev/tty2 /dev/tty1 /dev/vcsa1 /dev/vcs1 /dev/vcsa /dev/vcs /dev/tty0 /dev/console /dev/tty /dev/kmsg /dev/urandom /dev/random /dev/full /dev/zero /dev/null /dev/mem /dev/cachefiles /dev/ttyAMA0 /dev/vc-mem


Comment on Re^2: Problem compiling Perl 5.14.2 - op/stat.t test 37 failed
Select or Download Code
Re^3: Problem compiling Perl 5.14.2 - op/stat.t test 37 failed
by Eliya (Vicar) on May 30, 2012 at 12:36 UTC

    The test runs ls -l /dev 2>/dev/null (which is different from find /dev/ -type c in that it isn't recursive); so check what its output is.

    Or simply print out @c1 in the test, and look for which (presumably fake) entry ends with " 0" and starts with a "c".  (For example, in my case there is a line "total 0" — but as the latter starts with a "t", it doesn't interfere with the test...)

    In other words, my guess would be this is something silly you need not really worry about, provided it's the only test that fails...

      Hey! THX i found it :D It problem in Czech localized output from this command:

      ls -l /dev 2>/dev/null

      Output

      [tom@alarmpi perl-5.14.2]$ ls -l /dev 2>/dev/null celkem 0 crw------- 1 root root 10, 235 1. led 1970 autofs drwxr-xr-x 2 root root 620 30. kvě 09.59 block drwxr-xr-x 2 root root 60 30. kvě 09.59 bsg

      The first line is "celkem" that means total in english and begins with c. So, please correct it and remove the first line from the test and post a patch please :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-10-20 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (75 votes), past polls