[Bug 15706] New: iphplapi: iphplapi.ok test fails in OpenSolaris but not Ubuntu

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 21 20:03:19 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=15706

           Summary: iphplapi: iphplapi.ok test fails in OpenSolaris but not
                    Ubuntu
           Product: Wine
           Version: 1.1.6
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Keywords: source, testcase
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: austinenglish at gmail.com


EA Durbin commited a fix a while back that fixed this on FreeBSD/PC-BSD, but
OpenSolaris still isn't feeling the love. I think he also fixed part of it on
their end, so this may not be entirely Wine's bug. I've already filed an
OpenSolaris bug: http://defect.opensolaris.org/bz/show_bug.cgi?id=4149

bash-3.2$ rm -rf ~/.wine ; make testclean ; make iphlpapi.ok
../../../tools/makedep -C. -S../../.. -T../../..  iphlpapi.c                  
rm -f iphlpapi.ok
../../../tools/runtest -q -P wine -M iphlpapi.dll -T ../../.. -p
iphlpapi_test.exe.so iphlpapi.c && touch iphlpapi.ok
wine: created the configuration directory '/export/home/austin/.wine'
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getRouteTable unimplemented!
Could not load Mozilla. HTML rendering will be disabled.
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getRouteTable unimplemented!
wine: configuration in '/export/home/austin/.wine' has been updated.
err:iphlpapi:getInterfaceStatsByName unimplemented!
iphlpapi.c:204: Test failed: GetIfEntry returned 50, expected NO_ERROR
err:iphlpapi:getInterfaceStatsByName unimplemented!
err:iphlpapi:getInterfaceStatsByName unimplemented!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getRouteTable unimplemented!
iphlpapi.c:293: Test failed: GetIpForwardTable(buf, &dwSize, FALSE) returned
50, expected NO_ERROR
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/arp' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/arp' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/arp' to count
entries!
iphlpapi.c:325: Test failed: GetIpNetTable(buf, &dwSize, FALSE) returned 50,
expected NO_ERROR
err:iphlpapi:getICMPStats unimplemented!
iphlpapi.c:352: Tests skipped: GetIcmpStatistics is not supported
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getIPStats unimplemented!
iphlpapi.c:375: Test failed: GetIpStatistics returned 50, expected NO_ERROR
err:iphlpapi:getTCPStats unimplemented!
iphlpapi.c:395: Test failed: GetTcpStatistics returned 50, expected NO_ERROR
err:iphlpapi:getUDPStats unimplemented!
iphlpapi.c:415: Test failed: GetUdpStatistics returned 50, expected NO_ERROR
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/tcp' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/tcp' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/tcp' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/udp' to count
entries!
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count
entries!
err:iphlpapi:getRouteTable unimplemented!
iphlpapi.c:565: Test failed: GetAdaptersInfo(buf, &dwSize) returned 14,
expected NO_ERROR
make: *** [iphlpapi.ok] Error 7

FWIW, there's a patch on blastwave.org (sort of like an apt-get for Solaris)
that may fix this, but it doesn't quiet apply cleanly:
https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk/patches/wine-06-iphlpapi.diff

Haven't looked at it too much though, as I'm pretty sure the license is
incompatible.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list