All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to override file by machine for phosphor-ipmi-fru-properties
@ 2019-01-08 22:22 Patrick Venture
  2019-01-08 22:29 ` Benjamin Fair
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Venture @ 2019-01-08 22:22 UTC (permalink / raw)
  To: OpenBMC Maillist; +Cc: Benjamin Fair, Nancy Yuen

With phosphor-ipmi-fru-properties, if we set the
FILESEXTRAPATHS_prepend to be machine specific, it can't find the file
and doesn't add the path, but if we leave off the machine override,
it'll find the file and use it.

https://github.com/openbmc/meta-ingrasys/blob/master/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%25.bbappend

This specifies that for zaius, it should prepend with this path and
use this override file.

Deleted the extra-properties.yaml file from the original recipe and
tried building zaius:

WARNING: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Failed
to fetch URL file://extra-properties.yaml, attempting MIRRORS if
available
ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
failure: Unable to find file file://extra-properties.yaml anywhere.
The paths that were searched were:
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/df-openpower
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/df-openpower
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/df-openpower
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/gbmc
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/gbmc
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/gbmc
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/x86-64
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/x86-64
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/x86-64
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
    /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
    /usr/local/google/git/workspaces/building_122514933/build/downloads
ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
failure for URL: 'file://extra-properties.yaml'. Unable to fetch URL
from any source.
ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Function
failed: base_do_fetch

Ok, it can't find it.  But when I delete the machine override on the
line, basically delete "zaius" it then finds the file and uses the
zaius file correctly.  This behavior is baffling me, does anybody have
any ideas?  Has anyone seen this behavior?

Patrick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unable to override file by machine for phosphor-ipmi-fru-properties
  2019-01-08 22:22 Unable to override file by machine for phosphor-ipmi-fru-properties Patrick Venture
@ 2019-01-08 22:29 ` Benjamin Fair
  2019-01-09  0:23   ` Patrick Venture
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Fair @ 2019-01-08 22:29 UTC (permalink / raw)
  To: Patrick Venture; +Cc: OpenBMC Maillist, Nancy Yuen

[-- Attachment #1: Type: text/plain, Size: 3538 bytes --]

On Tue, Jan 8, 2019 at 2:22 PM Patrick Venture <venture@google.com> wrote:

> With phosphor-ipmi-fru-properties, if we set the
> FILESEXTRAPATHS_prepend to be machine specific, it can't find the file
> and doesn't add the path, but if we leave off the machine override,
> it'll find the file and use it.
>
>
> https://github.com/openbmc/meta-ingrasys/blob/master/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%25.bbappend
>
> This specifies that for zaius, it should prepend with this path and
> use this override file.
>
> Deleted the extra-properties.yaml file from the original recipe and
> tried building zaius:
>
> WARNING: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Failed
> to fetch URL file://extra-properties.yaml, attempting MIRRORS if
> available
> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
> failure: Unable to find file file://extra-properties.yaml anywhere.
> The paths that were searched were:
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/df-openpower
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/df-openpower
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/df-openpower
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/gbmc
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/gbmc
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/gbmc
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/x86-64
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/x86-64
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/x86-64
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
>
> /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
>     /usr/local/google/git/workspaces/building_122514933/build/downloads
> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
> failure for URL: 'file://extra-properties.yaml'. Unable to fetch URL
> from any source.
> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Function
> failed: base_do_fetch
>
> Ok, it can't find it.  But when I delete the machine override on the
> line, basically delete "zaius" it then finds the file and uses the
> zaius file correctly.  This behavior is baffling me, does anybody have
> any ideas?  Has anyone seen this behavior?
>
> Patrick
>

That's because this is a native package. Native packages don't set the
MACHINE within the overrides variable so there's no way to tell what
machine they're being built for.

[-- Attachment #2: Type: text/html, Size: 4256 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unable to override file by machine for phosphor-ipmi-fru-properties
  2019-01-08 22:29 ` Benjamin Fair
@ 2019-01-09  0:23   ` Patrick Venture
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Venture @ 2019-01-09  0:23 UTC (permalink / raw)
  To: Benjamin Fair; +Cc: OpenBMC Maillist, Nancy Yuen

On Tue, Jan 8, 2019 at 2:29 PM Benjamin Fair <benjaminfair@google.com> wrote:
>
> On Tue, Jan 8, 2019 at 2:22 PM Patrick Venture <venture@google.com> wrote:
>>
>> With phosphor-ipmi-fru-properties, if we set the
>> FILESEXTRAPATHS_prepend to be machine specific, it can't find the file
>> and doesn't add the path, but if we leave off the machine override,
>> it'll find the file and use it.
>>
>> https://github.com/openbmc/meta-ingrasys/blob/master/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties%25.bbappend
>>
>> This specifies that for zaius, it should prepend with this path and
>> use this override file.
>>
>> Deleted the extra-properties.yaml file from the original recipe and
>> tried building zaius:
>>
>> WARNING: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Failed
>> to fetch URL file://extra-properties.yaml, attempting MIRRORS if
>> available
>> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
>> failure: Unable to find file file://extra-properties.yaml anywhere.
>> The paths that were searched were:
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/df-openpower
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/df-openpower
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/df-openpower
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/gbmc
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/gbmc
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/gbmc
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/x86-64
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/x86-64
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/x86-64
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-1.0/
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties/
>>     /usr/local/google/git/workspaces/building_122514933/meta-phosphor/recipes-phosphor/ipmi/files/
>>     /usr/local/google/git/workspaces/building_122514933/build/downloads
>> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Fetcher
>> failure for URL: 'file://extra-properties.yaml'. Unable to fetch URL
>> from any source.
>> ERROR: phosphor-ipmi-fru-properties-native-1.0-r1 do_fetch: Function
>> failed: base_do_fetch
>>
>> Ok, it can't find it.  But when I delete the machine override on the
>> line, basically delete "zaius" it then finds the file and uses the
>> zaius file correctly.  This behavior is baffling me, does anybody have
>> any ideas?  Has anyone seen this behavior?
>>
>> Patrick
>
>
> That's because this is a native package. Native packages don't set the MACHINE within the overrides variable so there's no way to tell what machine they're being built for.

Thanks, that makes sense.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-09  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 22:22 Unable to override file by machine for phosphor-ipmi-fru-properties Patrick Venture
2019-01-08 22:29 ` Benjamin Fair
2019-01-09  0:23   ` Patrick Venture

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.