Skip to contentSkip to conversation

where is "But that file is already provided" diagnostic explained?

DISCUSSION Robert P. J. Day 2 participants 3 messages Nov 15, 2023

lore
Share & tools
lore
#0 lore raw

Asked on OE list, but a colleague has two recipes that are trying to
install the same files and, while I suggested cleaning up the recipes, just to get things running, I recall(?) that there is an INSANE_SKIP setting that will override this, but I don't see it documented anywhere.

The error message contains the phrase, "But that file is already
provided by package", yet I can't find a reference to that in the "insane" class doc page
https://docs.yoctoproject.org/ref-manual/classes.html#ref-classes-insane

Thoughts?

rday

#1 lore raw
Quoted 6 lines · Robert P. J. Day

Asked on OE list, but a colleague has two recipes that are trying to
install the same files and, while I suggested cleaning up the recipes, just to get things running, I recall(?) that there is an INSANE_SKIP setting that will override this, but I don't see it documented anywhere.

Quoted 6 lines

The error message contains the phrase, "But that file is already
provided by package", yet I can't find a reference to that in the "insane" class doc page
https://docs.yoctoproject.org/ref-manual/classes.html#ref-classes-insane

Thoughts?

I'm fairly sure that isn't an insane.bbclass check but perhaps from staging.bbclass or sstate.bbclass. If that were true, it wouldn't be INSANE_SKIP controlled.

I can't see the phrase you mention in the code though. I kind of doubt we'd have something that says "But" with that capitalisation so are you 100% sure that is what the message says?

It is a bit hard to offer help when we don't have the actual error and you're making guesses about the cause which might not be correct.

Cheers,

Richard

#2 lore raw
Quoted 18 lines · Richard Purdie
Quoted 6 lines · Robert P. J. Day

Asked on OE list, but a colleague has two recipes that are trying to
install the same files and, while I suggested cleaning up the recipes, just to get things running, I recall(?) that there is an INSANE_SKIP setting that will override this, but I don't see it documented anywhere.

Quoted 6 lines

The error message contains the phrase, "But that file is already
provided by package", yet I can't find a reference to that in the "insane" class doc page
https://docs.yoctoproject.org/ref-manual/classes.html#ref-classes-insane

Thoughts?

I'm fairly sure that isn't an insane.bbclass check but perhaps from staging.bbclass or sstate.bbclass. If that were true, it wouldn't be INSANE_SKIP controlled.

Quoted 6 lines

I can't see the phrase you mention in the code though. I kind of doubt we'd have something that says "But" with that capitalisation so are you 100% sure that is what the message says?

It is a bit hard to offer help when we don't have the actual error and you're making guesses about the cause which might not be correct.

Never mind, I was just informed that this is Wind River Linux, not
pure Yocto. That would have been useful to know. Sorry.

rday