Closed p5pRT closed 21 years ago
All\,
We're running Solaris 2.6 (Generic_105181-17) with gcc-2.8.1\, Sun ld\, as\, etc. I have had success building Perl 5.005_03 on machines with the same configuration that are running gcc-2.7.2.X. Originally\, we'd installed the perl5.005_03 package from sunfreeware.com but we encountered the following errors when running 'make test' on the IO module:
gcc -c -I/usr/local/include -O -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -DI_POLL IO.c
gcc -c -I/usr/local/include -O -DVERSION=\"1.20\" -DXS_VERSION=\"1.20\" -fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE -DI_POLL poll.c
Running Mkbootstrap for IO ()
chmod 644 IO.bs
LD_RUN_PATH="" gcc -o blib/arch/auto/IO/IO.so -G -L/usr/local/lib IO.o poll.o
chmod 755 blib/arch/auto/IO/IO.so
cp IO.bs blib/arch/auto/IO/IO.bs
chmod 644 blib/arch/auto/IO/IO.bs
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/io_const..........ok
t/io_dir............ok
t/io_dup............ok
t/io_multihomed.....dubious
Test returned status 120 (wstat 30720\, 0x7800)
DIED. FAILED tests 1-8
Failed 8/8 tests\, 0.00% okay
t/io_pipe...........ok
t/io_poll...........ok
t/io_sel............ok
t/io_sock...........dubious
Test returned status 120 (wstat 30720\, 0x7800)
DIED. FAILED tests 1-14
Failed 14/14 tests\, 0.00% okay
t/io_tell...........ok
t/io_udp............dubious
Test returned status 120 (wstat 30720\, 0x7800)
DIED. FAILED tests 1-7
Failed 7/7 tests\, 0.00% okay
t/io_unix...........ok
t/io_xs.............ok
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/io_multihomed 120 30720 8 8 100.00% 1-8
t/io_sock.t 120 30720 14 14 100.00% 1-14
t/io_udp.t 120 30720 7 7 100.00% 1-7
So we decided to grab a perl5.005_03 source kit and try the build/test for ourselves. The results were (unfortunately) the same. Any idea why this is happening?
cd t && (rm -f perl; /usr/bin/ln -s ../perl perl) cd t && ./perl TEST \</dev/tty [snip] lib/io_dup.........ok lib/io_pipe........ok lib/io_sel.........ok lib/io_sock........FAILED at test 1 Bad file number at lib/io_sock.t line 29. lib/io_taint.......ok lib/io_tell........ok lib/io_udp.........FAILED at test 1 Bad file number (maybe your system does not have the 'localhost' address defined) at lib/io_udp.t line 36. [snip]
u=0.26 s=0.18 cu=14.58 cs=6.74 scripts=185 tests=6506 *** Error code 1 Failed 2 test scripts out of 190\, 96.32% okay. [snip]
I'm closing off some of the older "Not OK" reports. If you still have problems\, please re-report them using Perl 5.8.0 or Perl 5.6.1.
@jhi - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#2293 (status was 'resolved')
Searchable as RT2293$