I just merged a pull request into master that adds IPv6 to Parrot. Yay!
The lovely new git-aware ttbot told me that I broke the windows build. Poop!
Who can lend a few tuits?
http://tt.taptinder.org/file/cmdout/1338.txt
Duke
--
Jonathan "Duke" Leto
jona...@leto.net
http://leto.net
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
--Andrew Whitworth
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
socket.c
src/platform/generic/socket.c(180) : warning C4133: 'function' :
incompatible types - from 'int *' to 'const char *'
src/platform/generic/socket.c(559) : error C2079: 'hints' uses undefined struct
'addrinfo'
src/platform/generic/socket.c(567) : error C2027: use of undefined
type 'addrinfo'
src/platform/generic/socket.c(559) : see declaration of 'addrinfo'
src/platform/generic/socket.c(568) : error C2224: left of
'.ai_protocol' must have struct/union type
src/platform/generic/socket.c(570) : error C2224: left of '.ai_flags' must have
struct/union type
src/platform/generic/socket.c(570) : error C2065: 'AI_PASSIVE' :
undeclared identifier
src/platform/generic/socket.c(571) : error C2224: left of '.ai_family'
must have struct/union type
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
I can't dig into this until later this evening. If somebody else could
look at it, I would appreciate it.
--Andrew Whitworth
> Howdy,
>
> I just merged a pull request into master that adds IPv6 to Parrot. Yay!
The build failed for me on Solaris 8/SPARC with
"src/io/socket_api.c", line 398: undefined symbol: IPV6_V6ONLY
On Debian Linux/x86, the build succeeded, but the IPv6 tests failed:
$ ./parrot t/pmc/socket_ipv6.t
1..18
# This Parrot is IPv6-aware
ok 1 - A TCP ipv6 sockaddr to localhost was set isa Sockaddr
gethostbyname failure [::1]
ok 2 - A TCP ipv6 sockaddr to ::1 was set isa Sockaddr
ok 3 - A raw TCP ipv6 sockaddr to localhost was set: isa Sockaddr
gethostbyname failure [::1]
ok 4 - A raw TCP ipv6 sockaddr to ::1 was set: isa Sockaddr
ok 5 - A UDP ipv6 sockaddr to localhost was set: isa Sockaddr
gethostbyname failure [::1]
ok 6 - A UDP ipv6 sockaddr to ::1 was set: isa Sockaddr
ok 7 - A raw UDP ipv6 sockaddr to localhost was set: isa Sockaddr
gethostbyname failure [::1]
ok 8 - A raw UDP ipv6 sockaddr to ::1 was set: isa Sockaddr
getaddrinfo failure: No address associated with hostname
not ok 9 - bind ok (IPv6 localhost)
# Have: -1
# Want: 0
Null PMC access in clone()
current instr.: 'test_bind' pc 142 (t/pmc/socket_ipv6.t:51)
called from Sub 'main' pc 83 (t/pmc/socket_ipv6.t:36)
--
Andy Dougherty doug...@lafayette.edu
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
Windows should build again, except for Cygwin installations without IPv6
support. We'll need a configure test for that. The IPv6 test still
doesn't pass on Windows, but I'm working on that.
UNIX build and test problems should also be fixed.
Nick
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
Test Summary Report
-------------------
t/pmc/socket_ipv6.t (Wstat: 0 Tests: 15 Failed: 0)
Parse errors: Bad plan. You planned 18 tests but ran 15.
t/dynoplibs/debug.t (Wstat: 256 Tests: 12 Failed: 1)
Failed test: 5
Non-zero exit status: 1
t/dynpmc/os.t (Wstat: 0 Tests: 34 Failed: 0)
TODO passed: 33
Files=383, Tests=13662, 195 wallclock secs ( 3.85 usr + 0.94 sys = 4.79 CPU)
Result: FAIL
The debug.t failure is known. the socket_ipv6.t failure is related.
Smolder report uploaded here:
http://smolder.parrot.org/app/projects/report_details/5520
--Andrew Whitworth
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev
> On 25/01/11 12:25, Jonathan Leto wrote:
> > Howdy,
> >
> > I just merged a pull request into master that adds IPv6 to Parrot. Yay!
> >
> > The lovely new git-aware ttbot told me that I broke the windows build. Poop!
> >
> > Who can lend a few tuits?
> >
> > http://tt.taptinder.org/file/cmdout/1338.txt
>
> Windows should build again, except for Cygwin installations without IPv6
> support. We'll need a configure test for that. The IPv6 test still doesn't
> pass on Windows, but I'm working on that.
>
> UNIX build and test problems should also be fixed.
As of RELEASE_3_0_0-254-g4b09814, it builds ok, but fails the new ipv6
tests on Solaris:
/home/doughera/src/hubble/parrot/parrot-master>prove -v
t/pmc/socket_ipv6.t
t/pmc/socket_ipv6.t ..
1..18
# This Parrot is IPv6-aware
ok 1 - A TCP ipv6 sockaddr to localhost was set isa Sockaddr
ok 2 - A TCP ipv6 sockaddr to ::1 was set isa Sockaddr
ok 3 - A raw TCP ipv6 sockaddr to localhost was set: isa Sockaddr
ok 4 - A raw TCP ipv6 sockaddr to ::1 was set: isa Sockaddr
ok 5 - A UDP ipv6 sockaddr to localhost was set: isa Sockaddr
ok 6 - A UDP ipv6 sockaddr to ::1 was set: isa Sockaddr
ok 7 - A raw UDP ipv6 sockaddr to localhost was set: isa Sockaddr
ok 8 - A raw UDP ipv6 sockaddr to ::1 was set: isa Sockaddr
No address found for family 26, type 2, proto 6
current instr.: 'test_bind' pc 132 (t/pmc/socket_ipv6.t:49)
called from Sub 'main' pc 83 (t/pmc/socket_ipv6.t:36)
Dubious, test returned 1 (wstat 256, 0x100)
Failed 10/18 subtests
Test Summary Report
-------------------
t/pmc/socket_ipv6.t (Wstat: 256 Tests: 8 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 18 tests but ran 8.
Files=1, Tests=8, 1 wallclock secs ( 0.42 usr 0.07 sys + 0.17 cusr
0.10 csys = 0.76 CPU)
Result: FAIL