The pkg-discuss list has recently been discussing how to detect dependencies
between files of various types automatically when packages are built to
prevent issues like this.   If there's a way to detect dtrace *.d file
dependencies automatically, I'm sure Brock would like to hear about it.

Is this because /usr/lib/dtrace/iscsit.d references the translator iscsiinfo_t
that appears to be defined in /usr/lib/dtrace/iscsi.d ?   Would the
#pragma D depends_on lines help pkg find *.d file dependencies?

        -Alan Coopersmith-           alan.coopersm...@sun.com
         Sun Microsystems, Inc. - X Window System Engineering

Antonello Cruz wrote:
> Adam,
> 
> Thanks for the quick reply.
> My system actually don't *have* that file. I worked around by installing
> SUNWiscsitgt. It is probably some other file in /usr/lib/dtrace that
> requires /usr/lib/dtrace/iscsi.d
> 
> Antonello
> 
> Adam Leventhal wrote:
>> On Wed, Feb 18, 2009 at 05:00:35PM -0800, Antonello Cruz wrote:
>>> On my freshly installed Opensolaris snv_117 I get:
>>>
>>>    dtrace: invalid probe specifier syscall:::entry {}: Invalid library
>>>    dependency in /usr/lib/dtrace/iscsit.d: /usr/lib/dtrace/iscsi.d
>>>
>>> when I run
>>>
>>>    pfexec dtrace -n 'syscall:::entry {}'
>>>
>>>
>>> Why do I need /usr/lib/dtrace/iscsi.d to run a script that is not
>>> related to iscsi?
>>>
>>> Is this a distribution bug and OpenSolaris should deliver
>>> SUNWiscsitgt with its base installation?
>>
>> Hey Antonello,
>>
>> The DTrace library loads all entries in the /usr/lib/dtrace directory. It
>> appears that there's something broken about the iscsit.d file. This is
>> a bug
>> in Solaris. You can problem work around the problem by moving that file
>> aside.
>>
>> Adam
>>
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org


_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to