All of lore.kernel.org
 help / color / mirror / Atom feed
* do_roots braking after a SRCREV update for non master branch
@ 2018-01-18 14:46 Alan Martinovic
  2018-01-18 14:51 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Martinovic @ 2018-01-18 14:46 UTC (permalink / raw)
  To: Yocto-mailing-list

Hi,
I've updated my recipe to use a review from a non master branch:

Old version [python3-senichub_git.bb]:

    inherit setuptools3

    PROVIDES += "python3-senic-hub"
    RPROVIDES_${PN} += "python3-senic-hub"

    S = "${WORKDIR}/git"
    SRC_URI = "git://github.com/getsenic/senic-hub.git;"
    SRCREV = "01fd5bd8725add5e73d3cc35a169f0dc837daefa"
    PV = "git-${SRCPV}"

    RDEPENDS_${PN} = "python3-nuimo python3-lightify"

New version [python3-senichub_git.bb]:

    inherit setuptools3

    PROVIDES += "python3-senic-hub"
    RPROVIDES_${PN} += "python3-senic-hub"

    S = "${WORKDIR}/git"
    SRC_URI = "git://github.com/getsenic/senic-hub.git;branch=improve-logging;"
    SRCREV = "ad6c082a8a990291c6128f54ea0c0d185081704e"
    PV = "git-${SRCPV}"

    RDEPENDS_${PN} = "python3-nuimo python3-lightify"


So the only changes is the SRCREV, and a specific
branch in the SRC_URI.
The package alone builds successfully.
But when building the image it fails on the do_rootfs:

    opkg_prepare_url_for_install: Couldn't find anything to satisfy
'python3-senic-hub'.

I can't really make the causes of it. There are some legacy
naming inconsistencies with a dash, but there is an explicit
PROVIDES and RPROVIDES in both recipes, one fails the
other passes.

Any ideas?


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

* Re: do_roots braking after a SRCREV update for non master branch
  2018-01-18 14:46 do_roots braking after a SRCREV update for non master branch Alan Martinovic
@ 2018-01-18 14:51 ` Burton, Ross
  2018-01-19  9:54   ` Alan Martinovic
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2018-01-18 14:51 UTC (permalink / raw)
  To: Alan Martinovic; +Cc: Yocto-mailing-list

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

I'd check (using oe-pkgdata-util and/or buildhistory-diff) that the new
package is building the same files and packages as the old one.  If PN
wasn't being generated, that would explain why the provides isn't working.

Ross

On 18 January 2018 at 14:46, Alan Martinovic <alan.martinovic@senic.com>
wrote:

> Hi,
> I've updated my recipe to use a review from a non master branch:
>
> Old version [python3-senichub_git.bb]:
>
>     inherit setuptools3
>
>     PROVIDES += "python3-senic-hub"
>     RPROVIDES_${PN} += "python3-senic-hub"
>
>     S = "${WORKDIR}/git"
>     SRC_URI = "git://github.com/getsenic/senic-hub.git;"
>     SRCREV = "01fd5bd8725add5e73d3cc35a169f0dc837daefa"
>     PV = "git-${SRCPV}"
>
>     RDEPENDS_${PN} = "python3-nuimo python3-lightify"
>
> New version [python3-senichub_git.bb]:
>
>     inherit setuptools3
>
>     PROVIDES += "python3-senic-hub"
>     RPROVIDES_${PN} += "python3-senic-hub"
>
>     S = "${WORKDIR}/git"
>     SRC_URI = "git://github.com/getsenic/senic-hub.git;branch=improve-
> logging;"
>     SRCREV = "ad6c082a8a990291c6128f54ea0c0d185081704e"
>     PV = "git-${SRCPV}"
>
>     RDEPENDS_${PN} = "python3-nuimo python3-lightify"
>
>
> So the only changes is the SRCREV, and a specific
> branch in the SRC_URI.
> The package alone builds successfully.
> But when building the image it fails on the do_rootfs:
>
>     opkg_prepare_url_for_install: Couldn't find anything to satisfy
> 'python3-senic-hub'.
>
> I can't really make the causes of it. There are some legacy
> naming inconsistencies with a dash, but there is an explicit
> PROVIDES and RPROVIDES in both recipes, one fails the
> other passes.
>
> Any ideas?
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

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

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

* Re: do_roots braking after a SRCREV update for non master branch
  2018-01-18 14:51 ` Burton, Ross
@ 2018-01-19  9:54   ` Alan Martinovic
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Martinovic @ 2018-01-19  9:54 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Yocto-mailing-list

Thanks for the great references.

I ended up going for the best practices and renaming
python3-senichub_git.bb -> python3-senic-hub_git.bb

Which solved the issue and obsoleted:
    PROVIDES += "python3-senic-hub"
    RPROVIDES_${PN} += "python3-senic-hub"




On Thu, Jan 18, 2018 at 3:51 PM, Burton, Ross <ross.burton@intel.com> wrote:
> I'd check (using oe-pkgdata-util and/or buildhistory-diff) that the new
> package is building the same files and packages as the old one.  If PN
> wasn't being generated, that would explain why the provides isn't working.
>
> Ross
>
> On 18 January 2018 at 14:46, Alan Martinovic <alan.martinovic@senic.com>
> wrote:
>>
>> Hi,
>> I've updated my recipe to use a review from a non master branch:
>>
>> Old version [python3-senichub_git.bb]:
>>
>>     inherit setuptools3
>>
>>     PROVIDES += "python3-senic-hub"
>>     RPROVIDES_${PN} += "python3-senic-hub"
>>
>>     S = "${WORKDIR}/git"
>>     SRC_URI = "git://github.com/getsenic/senic-hub.git;"
>>     SRCREV = "01fd5bd8725add5e73d3cc35a169f0dc837daefa"
>>     PV = "git-${SRCPV}"
>>
>>     RDEPENDS_${PN} = "python3-nuimo python3-lightify"
>>
>> New version [python3-senichub_git.bb]:
>>
>>     inherit setuptools3
>>
>>     PROVIDES += "python3-senic-hub"
>>     RPROVIDES_${PN} += "python3-senic-hub"
>>
>>     S = "${WORKDIR}/git"
>>     SRC_URI =
>> "git://github.com/getsenic/senic-hub.git;branch=improve-logging;"
>>     SRCREV = "ad6c082a8a990291c6128f54ea0c0d185081704e"
>>     PV = "git-${SRCPV}"
>>
>>     RDEPENDS_${PN} = "python3-nuimo python3-lightify"
>>
>>
>> So the only changes is the SRCREV, and a specific
>> branch in the SRC_URI.
>> The package alone builds successfully.
>> But when building the image it fails on the do_rootfs:
>>
>>     opkg_prepare_url_for_install: Couldn't find anything to satisfy
>> 'python3-senic-hub'.
>>
>> I can't really make the causes of it. There are some legacy
>> naming inconsistencies with a dash, but there is an explicit
>> PROVIDES and RPROVIDES in both recipes, one fails the
>> other passes.
>>
>> Any ideas?
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>


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

end of thread, other threads:[~2018-01-19  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 14:46 do_roots braking after a SRCREV update for non master branch Alan Martinovic
2018-01-18 14:51 ` Burton, Ross
2018-01-19  9:54   ` Alan Martinovic

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.