All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Ankur Tyagi <ankur.tyagi85@gmail.com>
Cc: meta-arago@arago-project.org
Subject: Re: do_rootfs error for custom image based upon arago thud branch
Date: Wed, 13 Nov 2019 19:19:44 -0500	[thread overview]
Message-ID: <20191114001943.GF15023@beryl> (raw)
In-Reply-To: <CADySD0H7NXcvhhV++WNtCu4nsxy=CV7MiH3oMitJS_W5QmBYoA@mail.gmail.com>

On Sun, Nov 10, 2019 at 09:52:48PM -0800, Ankur Tyagi wrote:
> Hi Denys,
> 
> I have again encountered the same problem so there is a fundamental issue
> somewhere.
> Let me explain when this problem occurs and what is my setup:
> 
> 1) Let's assume current u-boot SRCREV in recipe is
> "4fc3ad1c4d92a32c1e233c524d65836226488912" and linux SRCREV is
> "634579ce9ee01466fd84524602bd0a262a0add00"
> 2) I build my image and preserve sstate-cache
> 3) Change u-boot SRCREV to "b31ea1d6069a3634c696d9fbff86373fd5b0f82d" and
> linux SRCREV to "d02acfec3d72606798f498c33728f5a0839e6360"
> 4) Build my image again using the preserved sstate-cache so only u-boot and
> linux is rebuilt
> 
> Then I get following error
> 
> ******************************
> Collected errors:
>  * Solver encountered 2 problem(s):
>  * Problem 1/2:
>  *   - nothing provides u-boot-ti-staging-src >= 2019.01+git0+b31ea1d606
> needed by linux-ti-staging-src-4.19.73+git0+d02acfec3d-gamos.wsl

Not really sure why do you even have any dependency between these 2 -src 
packages. They should not and they are not dependent here for us.


>  *
>  * Solution 1:
>  *   - do not ask to install a package providing packagegroup-ggl-base
> 
>  * Problem 2/2:
>  *   - nothing provides u-boot-ti-staging-src >= 2019.01+git0+b31ea1d606
> needed by linux-ti-staging-src-4.19.73+git0+d02acfec3d-gamos.wsl
>  *
>  * Solution 1:
>  *   - do not ask to install a package providing packagegroup-ggl-qt
> ******************************
> 
> Can you please provide me with some pointers on what could be causing it or
> where should I start investigating it?
> 
> Thanks
> Ankur
> 
> 
> On Fri, 27 Sep 2019, 9:00 a.m. Ankur Tyagi, <ankur.tyagi85@gmail.com> wrote:
> 
> > thanks for your response Denys
> >
> > On Fri, 27 Sep 2019, 4:27 a.m. Denys Dmytriyenko, <denys@ti.com> wrote:
> >
> >> Thanks for following up with the update!
> >>
> >> Unfortunately, opkg install issues like this are very specific to your
> >> build
> >> environment and harder to debug remotely. You'd need to see why the
> >> package
> >> gets one version, while a different one being requested. In some cases it
> >> can
> >> be due to a stale package, like here. In others it's more complicated.
> >>
> >> Denys
> >>
> >>
> >> On Thu, Sep 26, 2019 at 07:17:26AM +1200, Ankur Tyagi wrote:
> >> > It got resolved after removing tmp directory and rebuilding
> >> >
> >> > On Wed, 25 Sep 2019, 1:23 a.m. Ankur Tyagi, <ankur.tyagi85@gmail.com>
> >> wrote:
> >> >
> >> > > Hi,
> >> > >
> >> > > I was using "thud" branch to create custom image for my board.
> >> > > Recently updated meta-ti, meta-arago "thud" branch and started
> >> > > receiving following error message during do_rootfs task
> >> > >
> >> > > ERROR: ggl-wsl-prod-image-1.0-r0 do_rootfs: Unable to install
> >> > > packages. Command
> >> > >
> >> > >
> >> '/home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg
> >> > > --volatile-cache -f
> >> > >
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/opkg.conf
> >> > > -t
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp/
> >> > > -o
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/rootfs
> >> > >  --force_postinstall    install packagegroup-core-boot
> >> > > packagegroup-ggl-base packagegroup-ggl-connectivity
> >> > > packagegroup-ggl-qt psplash run-postinsts' returned 2:
> >> > > Collected errors:
> >> > >  * Solver encountered 2 problem(s):
> >> > >  * Problem 1/2:
> >> > >  *   - nothing provides u-boot-ti-staging-src >=
> >> > > 2019.01+git0+571bb85860 needed by
> >> > > linux-ti-staging-src-4.19.73+git0+761ba629e9-gamos.wsl
> >> > >  *
> >> > >  * Solution 1:
> >> > >  *   - do not ask to install a package providing packagegroup-ggl-base
> >> > >
> >> > >  * Problem 2/2:
> >> > >  *   - nothing provides u-boot-ti-staging-src >=
> >> > > 2019.01+git0+571bb85860 needed by
> >> > > linux-ti-staging-src-4.19.73+git0+761ba629e9-gamos.wsl
> >> > >  *
> >> > >  * Solution 1:
> >> > >  *   - do not ask to install a package providing packagegroup-ggl-qt
> >> > >
> >> > >  * opkg_finalize_intercepts: Failed to open dir
> >> > >
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910/opkg-intercept-xOvXqH:
> >> > > No such file or directory.
> >> > >  * rm_r: Failed to open dir
> >> > >
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910/opkg-intercept-xOvXqH:
> >> > > No such file or directory.
> >> > >  * rm_r: Failed to open dir
> >> > >
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/ipktemp//opkg-JLB910:
> >> > > No such file or directory.
> >> > >
> >> > >
> >> > >
> >> > > ERROR: ggl-wsl-prod-image-1.0-r0 do_rootfs: Function failed: do_rootfs
> >> > > ERROR: Logfile of failure stored in:
> >> > >
> >> > >
> >> /home/yocto/ggl-yocto-tools/build/tmp-external-arm-toolchain/work/wsl-linux-gnueabi/ggl-wsl-prod-image/1.0-r0/temp/log.do_rootfs.107554
> >> > > ERROR: Task
> >> > >
> >> (/home/yocto/ggl-yocto-tools/sources/ggl-yocto/meta-ggl-image/recipes-core/images/
> >> ggl-wsl-prod-image.bb:
> >> > > do_rootfs)
> >> > > failed with exit code '1'
> >> > >
> >> > > Can you please help:
> >> > > 1) to understand the underlying problem
> >> > > 2) how can I fix it
> >> > >
> >> > > thanks
> >> > > Ankur
> >> > >
> >>
> >> > _______________________________________________
> >> > meta-arago mailing list
> >> > meta-arago@arago-project.org
> >> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >>
> >>


  parent reply	other threads:[~2019-11-14  0:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-24 13:23 do_rootfs error for custom image based upon arago thud branch Ankur Tyagi
2019-09-25 19:17 ` Ankur Tyagi
2019-09-26 16:27   ` Denys Dmytriyenko
2019-09-26 21:00     ` Ankur Tyagi
2019-11-11  5:52       ` Ankur Tyagi
2019-11-11 20:15         ` Ankur Tyagi
2019-11-14  0:19         ` Denys Dmytriyenko [this message]
2019-11-14  6:31           ` Ankur Tyagi
2019-11-14  9:40             ` Ankur Tyagi
2019-12-16 22:21               ` Ankur Tyagi

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=20191114001943.GF15023@beryl \
    --to=denys@ti.com \
    --cc=ankur.tyagi85@gmail.com \
    --cc=meta-arago@arago-project.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.