All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Martinovic <alan.martinovic@senic.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Yocto-mailing-list <yocto@yoctoproject.org>
Subject: Re: do_roots braking after a SRCREV update for non master branch
Date: Fri, 19 Jan 2018 10:54:03 +0100	[thread overview]
Message-ID: <CAOT_U5YeUkc1c0vVG9rF==_Nvpwpq+ZmsVkidx1KVtAdu=QJuQ@mail.gmail.com> (raw)
In-Reply-To: <CAJTo0Lajne5k2-PzpXzh502f5CsTZ102WtLbs4ExFrkY2Ojjrg@mail.gmail.com>

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
>
>


      reply	other threads:[~2018-01-19  9:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOT_U5YeUkc1c0vVG9rF==_Nvpwpq+ZmsVkidx1KVtAdu=QJuQ@mail.gmail.com' \
    --to=alan.martinovic@senic.com \
    --cc=ross.burton@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.