Re: [yocto] Strange build dependency

2016-03-14 Thread Christopher Larson
On Mon, Mar 14, 2016 at 6:55 AM Martin Jansa  wrote:

> On Mon, Mar 14, 2016 at 02:44:58PM +0100, Gary Thomas wrote:
> > On 03/14/2016 01:51 PM, Gary Thomas wrote:
> > > On 03/14/2016 01:46 PM, Burton, Ross wrote:
> > >>
> > >> On 14 March 2016 at 12:41, Gary Thomas  g...@mlbassoc.com>> wrote:
> > >>
> > >> How can I find out what's going on here?
> > >>
> > >>
> > >> bitbake-whatchanged is generally helpful here.  Do a build in one
> configuration, switch to the other, run
> > >> bitbake-whatchanged.  It will identify the hashes that have changed
> and try and chase them down.
> > >>
> > >> That said perl is quite a deep recipe so rebuilding that will
> certainly bubble up the tree causing all sorts of rebuilds.
> > >
> > > Thanks, I'll give this a try.
> > >
> >
> > I've run this and I still don't have a clue.  Here's what I got.  Maybe
> > you can explain what I'm seeing?
>
> You can also create snapshot before and after the change with
> scripts/sstate-diff-machines.sh and compare the signatures manually.
>

bitbake -S printdiff is a useful option as well.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Strange build dependency

2016-03-14 Thread Martin Jansa
On Mon, Mar 14, 2016 at 02:44:58PM +0100, Gary Thomas wrote:
> On 03/14/2016 01:51 PM, Gary Thomas wrote:
> > On 03/14/2016 01:46 PM, Burton, Ross wrote:
> >>
> >> On 14 March 2016 at 12:41, Gary Thomas  >> > wrote:
> >>
> >> How can I find out what's going on here?
> >>
> >>
> >> bitbake-whatchanged is generally helpful here.  Do a build in one 
> >> configuration, switch to the other, run
> >> bitbake-whatchanged.  It will identify the hashes that have changed and 
> >> try and chase them down.
> >>
> >> That said perl is quite a deep recipe so rebuilding that will certainly 
> >> bubble up the tree causing all sorts of rebuilds.
> >
> > Thanks, I'll give this a try.
> >
> 
> I've run this and I still don't have a clue.  Here's what I got.  Maybe
> you can explain what I'm seeing?

You can also create snapshot before and after the change with
scripts/sstate-diff-machines.sh and compare the signatures manually.

> e.g. why did the kernel need to be rebuilt if all I did was change perl?
> what about mobile-broadband-info (which I think is pretty much just
> static data)?
> 
> Thanks
> 
> -- 
> 
> Gary Thomas |  Consulting for the
> MLB Associates  |Embedded world
> 

> Figuring out the STAMPS_DIR ...
> Generating the new stamps ... (need several minutes)
> === Newly added tasks: (945 tasks)
>   renderproto-native: do_populate_sysroot do_patch do_install do_populate_lic 
> do_unpack do_build do_configure do_fetch do_compile
>   shadow-native: do_fetch do_unpack do_populate_lic do_populate_sysroot 
> do_patch do_build do_compile do_configure do_install
>   qemu-helper-native: do_build do_install do_fetch do_populate_sysroot 
> do_compile do_populate_lic do_configure do_unpack do_patch
>   ncurses-native: do_populate_lic do_populate_sysroot do_build do_compile 
> do_patch do_install do_configure do_unpack
>   xtrans-native: do_configure do_build do_unpack do_install do_compile 
> do_fetch do_populate_lic do_populate_sysroot do_patch
>   elfutils-native: do_configure do_populate_lic do_fetch do_compile do_unpack 
> do_install do_populate_sysroot do_build do_patch
>   e2fsprogs-native: do_unpack do_configure do_patch do_build do_compile 
> do_populate_sysroot do_install do_populate_lic
>   libtool-native: do_unpack do_build do_patch do_compile do_install 
> do_populate_lic do_fetch do_populate_sysroot do_configure
>   ldconfig-native: do_build do_unpack do_install do_configure do_compile 
> do_patch do_fetch do_populate_lic do_populate_sysroot
>   randrproto-native: do_configure do_install do_populate_sysroot do_unpack 
> do_patch do_build do_fetch do_compile do_populate_lic
>   intltool-native: do_compile do_configure do_install do_populate_lic 
> do_fetch do_unpack do_build do_patch do_populate_sysroot
>   tzcode-native: do_unpack do_fetch do_configure do_populate_sysroot 
> do_populate_lic do_compile do_install do_build do_patch
>   texinfo-dummy-native: do_unpack do_configure do_fetch do_install do_compile 
> do_populate_sysroot do_populate_lic do_build do_patch
>   core-image-base: do_configure do_compile do_install
>   opkg-native: do_install do_compile do_configure do_unpack do_fetch 
> do_populate_sysroot do_build do_patch do_populate_lic
>   pbzip2-native: do_install do_fetch do_compile do_build do_populate_sysroot 
> do_populate_lic do_unpack do_configure do_patch
>   bc-native: do_populate_sysroot do_configure do_populate_lic do_install 
> do_compile do_patch do_unpack do_build
>   xextproto-native: do_unpack do_build do_populate_sysroot do_install 
> do_fetch do_configure do_patch do_compile do_populate_lic
>   libsdl-native: do_compile do_unpack do_populate_lic do_fetch do_install 
> do_populate_sysroot do_build do_configure do_patch
>   libarchive-native: do_populate_lic do_unpack do_patch do_install do_compile 
> do_configure do_build do_populate_sysroot do_fetch
>   xz-native: do_configure do_patch do_install do_unpack do_fetch do_compile 
> do_populate_lic do_build do_populate_sysroot
>   dtc-native: do_populate_lic do_configure do_unpack do_compile do_patch 
> do_populate_sysroot do_build do_fetch do_install
>   libxml-parser-perl-native: do_configure do_install do_patch do_build 
> do_populate_lic do_populate_sysroot do_unpack do_compile
>   automake-native: do_compile do_patch do_unpack do_populate_lic do_install 
> do_configure do_populate_sysroot do_build do_fetch
>   m4-native: do_install do_patch do_configure do_fetch do_unpack 
> do_populate_sysroot do_populate_lic do_compile do_build
>   dbus-native: do_populate_sysroot do_install do_patch do_configure do_unpack 
> do_build do_populate_lic do_compile
>   prelink-native: do_compile do_populate_lic do_configure do_fetch do_build 
> do_install do_unpack do_patch do_populate_sysroot
>   packagegroup-core-ssh-openssh: do_populate_sysroot do_packagedata 
> do_pac

Re: [yocto] Strange build dependency

2016-03-14 Thread Gary Thomas

On 03/14/2016 01:51 PM, Gary Thomas wrote:

On 03/14/2016 01:46 PM, Burton, Ross wrote:


On 14 March 2016 at 12:41, Gary Thomas mailto:g...@mlbassoc.com>> wrote:

How can I find out what's going on here?


bitbake-whatchanged is generally helpful here.  Do a build in one 
configuration, switch to the other, run
bitbake-whatchanged.  It will identify the hashes that have changed and try and 
chase them down.

That said perl is quite a deep recipe so rebuilding that will certainly bubble 
up the tree causing all sorts of rebuilds.


Thanks, I'll give this a try.



I've run this and I still don't have a clue.  Here's what I got.  Maybe
you can explain what I'm seeing?

e.g. why did the kernel need to be rebuilt if all I did was change perl?
what about mobile-broadband-info (which I think is pretty much just
static data)?

Thanks

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

Figuring out the STAMPS_DIR ...
Generating the new stamps ... (need several minutes)
=== Newly added tasks: (945 tasks)
  renderproto-native: do_populate_sysroot do_patch do_install do_populate_lic 
do_unpack do_build do_configure do_fetch do_compile
  shadow-native: do_fetch do_unpack do_populate_lic do_populate_sysroot 
do_patch do_build do_compile do_configure do_install
  qemu-helper-native: do_build do_install do_fetch do_populate_sysroot 
do_compile do_populate_lic do_configure do_unpack do_patch
  ncurses-native: do_populate_lic do_populate_sysroot do_build do_compile 
do_patch do_install do_configure do_unpack
  xtrans-native: do_configure do_build do_unpack do_install do_compile do_fetch 
do_populate_lic do_populate_sysroot do_patch
  elfutils-native: do_configure do_populate_lic do_fetch do_compile do_unpack 
do_install do_populate_sysroot do_build do_patch
  e2fsprogs-native: do_unpack do_configure do_patch do_build do_compile 
do_populate_sysroot do_install do_populate_lic
  libtool-native: do_unpack do_build do_patch do_compile do_install 
do_populate_lic do_fetch do_populate_sysroot do_configure
  ldconfig-native: do_build do_unpack do_install do_configure do_compile 
do_patch do_fetch do_populate_lic do_populate_sysroot
  randrproto-native: do_configure do_install do_populate_sysroot do_unpack 
do_patch do_build do_fetch do_compile do_populate_lic
  intltool-native: do_compile do_configure do_install do_populate_lic do_fetch 
do_unpack do_build do_patch do_populate_sysroot
  tzcode-native: do_unpack do_fetch do_configure do_populate_sysroot 
do_populate_lic do_compile do_install do_build do_patch
  texinfo-dummy-native: do_unpack do_configure do_fetch do_install do_compile 
do_populate_sysroot do_populate_lic do_build do_patch
  core-image-base: do_configure do_compile do_install
  opkg-native: do_install do_compile do_configure do_unpack do_fetch 
do_populate_sysroot do_build do_patch do_populate_lic
  pbzip2-native: do_install do_fetch do_compile do_build do_populate_sysroot 
do_populate_lic do_unpack do_configure do_patch
  bc-native: do_populate_sysroot do_configure do_populate_lic do_install 
do_compile do_patch do_unpack do_build
  xextproto-native: do_unpack do_build do_populate_sysroot do_install do_fetch 
do_configure do_patch do_compile do_populate_lic
  libsdl-native: do_compile do_unpack do_populate_lic do_fetch do_install 
do_populate_sysroot do_build do_configure do_patch
  libarchive-native: do_populate_lic do_unpack do_patch do_install do_compile 
do_configure do_build do_populate_sysroot do_fetch
  xz-native: do_configure do_patch do_install do_unpack do_fetch do_compile 
do_populate_lic do_build do_populate_sysroot
  dtc-native: do_populate_lic do_configure do_unpack do_compile do_patch 
do_populate_sysroot do_build do_fetch do_install
  libxml-parser-perl-native: do_configure do_install do_patch do_build 
do_populate_lic do_populate_sysroot do_unpack do_compile
  automake-native: do_compile do_patch do_unpack do_populate_lic do_install 
do_configure do_populate_sysroot do_build do_fetch
  m4-native: do_install do_patch do_configure do_fetch do_unpack 
do_populate_sysroot do_populate_lic do_compile do_build
  dbus-native: do_populate_sysroot do_install do_patch do_configure do_unpack 
do_build do_populate_lic do_compile
  prelink-native: do_compile do_populate_lic do_configure do_fetch do_build 
do_install do_unpack do_patch do_populate_sysroot
  packagegroup-core-ssh-openssh: do_populate_sysroot do_packagedata 
do_package_write_rpm do_package_qa do_build do_compile do_install 
do_populate_lic do_package do_configure
  dbus-glib-native: do_unpack do_populate_sysroot do_populate_lic do_compile 
do_install do_patch do_build do_configure
  libpthread-stubs-native: do_build do_configure do_compile do_unpack 
do_populate_sysroot do_populate_lic do_patch do_install
  xcb-proto-native: do_install do_populate_sysroot do_build do_comp

Re: [yocto] Strange build dependency

2016-03-14 Thread Gary Thomas

On 03/14/2016 01:46 PM, Burton, Ross wrote:


On 14 March 2016 at 12:41, Gary Thomas mailto:g...@mlbassoc.com>> wrote:

How can I find out what's going on here?


bitbake-whatchanged is generally helpful here.  Do a build in one 
configuration, switch to the other, run
bitbake-whatchanged.  It will identify the hashes that have changed and try and 
chase them down.

That said perl is quite a deep recipe so rebuilding that will certainly bubble 
up the tree causing all sorts of rebuilds.


Thanks, I'll give this a try.

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Strange build dependency

2016-03-14 Thread Burton, Ross
On 14 March 2016 at 12:41, Gary Thomas  wrote:

> How can I find out what's going on here?
>

bitbake-whatchanged is generally helpful here.  Do a build in one
configuration, switch to the other, run bitbake-whatchanged.  It will
identify the hashes that have changed and try and chase them down.

That said perl is quite a deep recipe so rebuilding that will certainly
bubble up the tree causing all sorts of rebuilds.

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Strange build dependency

2016-03-14 Thread Gary Thomas

I'm trying to sort out a problem with perl and have been switching
between two different versions.  What I don't understand is why
so many recipes are being rebuilt when I change.  I tried examining
the dependencies with -g -u depexp but I'm unable to see why it's
happening.

I'm building core-image-base (+perl) from a recent Poky checkout.
I notice that a number of packages that don't seem to be related
to perl (or even hardly to each other) are rebuilt, e.g. avahi,
openssl and others.

How can I find out what's going on here?

BTW, I'm using this [testing] layer for this effort (related to
my perl question from last week):
  https://github.com/GaryThomas/meta-amanda.git

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto