Hi Peter,
Am 13.08.2011 um 12:54 schrieb Peter Miller:
> On Fri, 2011-08-12 at 23:50 +0200, Dagobert Michelsen wrote:
>> I have now a build of libexplain 0.45.D002 but several tests are failing:
>> http://buildfarm.opencsw.org/~dam/libexplain-testsuite.log
>>
>> Is there some more porting required?
>
> Is lsof available for Solaris 9? Some errors relate to information
> unavailable without lsof,
lsof is installed, but does not work as the Solaris 9 sparc instance
is a branded local zone and lsof needs access to /dev/kmem not granted to
local zones.
> when a test expects "the current directory"
> but sees "pathname /tmp/blahblah directory" instead (and similar). The
> messages are still accurate, just not what the tests expect. Some tests
> make provision for two answers, maybe more could.
Is this really the same? Shouldn't two platforms give the same answers
or is the determination of the current directory different on Solaris?
> Alternatively, they could test for lsof, and auto-pass without it.
This wouldn't help as I want to build with lsof support. If the
libexplain package is installed on a native Solaris 9 machine it
should use lsof, just the tests on a Solaris 9 branded zone
within Solaris 10 or a local Solaris 10 zone can not use lsof.
So, better would be to cleanly handle a dysfunctional lsof.
> The "fmt: bad width: 0" error messages are a mystery, tho.
Something like this is called:
> + fmt -w700 test.out.4
> fmt: bad width: 0
You could either try the Solaris fmt as
fmt -w 700 test.out.4
or try to detect a GNU fmt which we also have on OpenCSW:
gfmt -w700 test.out.4
Did you get my email about the Solaris 9 images?
Best regards
-- Dago
|