All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-devel@lists.openembedded.org,
	openembedded-core@lists.openembedded.org
Subject: Re: State of bitbake world, files not tracked by sstate
Date: Wed, 22 Oct 2014 10:53:07 +0100	[thread overview]
Message-ID: <1413971587.25437.40.camel@ted> (raw)
In-Reply-To: <20141022093643.GH2455@jama>

On Wed, 2014-10-22 at 11:36 +0200, Martin Jansa wrote:
> These are the files which are installed into sysroot without sstate
> knowledge, so if you reuse the components which created them from sstate
> these files will be missing.
> 
> cat << EOF > sstate-sysroot-cruft-whitelist.txt
> [^/]*/home/builder
> [^/]*/usr/src/kernel/patches
> [^/]*/usr/src/kernel/scripts/.*
> [^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
> [^/]*/etc/sgml/sgml-docbook.cat
> [^/]*/usr/src/kernel/patches
> [^/]*/etc/sgml/sgml-docbook.cat
> [^/]*/usr/lib/python3.3/__pycache__
> [^/]*/usr/lib/python3.3/[^/]*/__pycache__
> [^/]*/usr/lib/python3.3/[^/]*/[^/]*/__pycache__
> [^/]*/usr/share/dbus
> [^/]*/usr/share/dbus/dbus-bus-introspect.xml
> [^/]*/usr/share/dbus/session.conf
> [^/]*/usr/bin/crossscripts/guile-config
> [^/]*/usr/lib/python2.7/config/libpython2.7.so
> [^/]*/var
> [^/]*/usr/bin/i586-oe-linux-g77
> [^/]*/usr/bin/arm-oe-linux-gnueabi-g77
> [^/]*/usr/lib/php/\.channels.*
> [^/]*/usr/lib/php/\.registry.*
> [^/]*/usr/lib/php/\.depdb.*
> [^/]*/usr/lib/php/\.filemap
> [^/]*/usr/lib/php/\.lock
> [^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
> [^/]*/usr/include/ruby-1.9.1/i386-linux
> [^/]*/usr/include/ruby-1.9.1/i386-linux/ruby
> [^/]*/usr/include/ruby-1.9.1/i386-linux/ruby/config.h
> [^/]*/usr/include/ruby-1.9.1/ruby/win32.h
> [^/]*/usr/lib/ruby/i386-linux
> [^/]*/usr/lib/ruby/i386-linux/fake.rb
> [^/]*/usr/lib/ruby/i386-linux/libruby.so.1.9.1
> [^/]*/usr/lib/ruby/i386-linux/libruby-static.a
> [^/]*/usr/lib/ruby/i386-linux/rbconfig.rb
> [^/]*/usr/lib/qt4/plugins/webkit
> [^/]*/usr/lib/qt5/plugins/webkit

I just want to be clear that this list is not 100% accurate. Some of
these files are not tracked by sstate however they are generated by
sstate 'postinsts' so they will be rebuilt upon a rebuild. Examples that
jump out are:

[^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
[^/]*/usr/bin/crossscripts/guile-config

Also, 

[^/]*/usr/lib/python3.3/__pycache__
[^/]*/usr/lib/python3.3/[^/]*/__pycache__
[^/]*/usr/lib/python3.3/[^/]*/[^/]*/__pycache__

are automatically generated/updated by python.

[^/]*/usr/src/kernel/scripts/.*

is generated by the modules class amongst other things. There was a
recent different bug report about these files not being cleaned and
triggering file conflict issues but that is a different problem.

I don't know much about the others and there are also some 'real' issues
here.

Cheers,

Richard







WARNING: multiple messages have this Message-ID (diff)
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-devel@lists.openembedded.org,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] State of bitbake world, files not tracked by sstate
Date: Wed, 22 Oct 2014 10:53:07 +0100	[thread overview]
Message-ID: <1413971587.25437.40.camel@ted> (raw)
In-Reply-To: <20141022093643.GH2455@jama>

On Wed, 2014-10-22 at 11:36 +0200, Martin Jansa wrote:
> These are the files which are installed into sysroot without sstate
> knowledge, so if you reuse the components which created them from sstate
> these files will be missing.
> 
> cat << EOF > sstate-sysroot-cruft-whitelist.txt
> [^/]*/home/builder
> [^/]*/usr/src/kernel/patches
> [^/]*/usr/src/kernel/scripts/.*
> [^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
> [^/]*/etc/sgml/sgml-docbook.cat
> [^/]*/usr/src/kernel/patches
> [^/]*/etc/sgml/sgml-docbook.cat
> [^/]*/usr/lib/python3.3/__pycache__
> [^/]*/usr/lib/python3.3/[^/]*/__pycache__
> [^/]*/usr/lib/python3.3/[^/]*/[^/]*/__pycache__
> [^/]*/usr/share/dbus
> [^/]*/usr/share/dbus/dbus-bus-introspect.xml
> [^/]*/usr/share/dbus/session.conf
> [^/]*/usr/bin/crossscripts/guile-config
> [^/]*/usr/lib/python2.7/config/libpython2.7.so
> [^/]*/var
> [^/]*/usr/bin/i586-oe-linux-g77
> [^/]*/usr/bin/arm-oe-linux-gnueabi-g77
> [^/]*/usr/lib/php/\.channels.*
> [^/]*/usr/lib/php/\.registry.*
> [^/]*/usr/lib/php/\.depdb.*
> [^/]*/usr/lib/php/\.filemap
> [^/]*/usr/lib/php/\.lock
> [^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
> [^/]*/usr/include/ruby-1.9.1/i386-linux
> [^/]*/usr/include/ruby-1.9.1/i386-linux/ruby
> [^/]*/usr/include/ruby-1.9.1/i386-linux/ruby/config.h
> [^/]*/usr/include/ruby-1.9.1/ruby/win32.h
> [^/]*/usr/lib/ruby/i386-linux
> [^/]*/usr/lib/ruby/i386-linux/fake.rb
> [^/]*/usr/lib/ruby/i386-linux/libruby.so.1.9.1
> [^/]*/usr/lib/ruby/i386-linux/libruby-static.a
> [^/]*/usr/lib/ruby/i386-linux/rbconfig.rb
> [^/]*/usr/lib/qt4/plugins/webkit
> [^/]*/usr/lib/qt5/plugins/webkit

I just want to be clear that this list is not 100% accurate. Some of
these files are not tracked by sstate however they are generated by
sstate 'postinsts' so they will be rebuilt upon a rebuild. Examples that
jump out are:

[^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
[^/]*/usr/bin/crossscripts/guile-config

Also, 

[^/]*/usr/lib/python3.3/__pycache__
[^/]*/usr/lib/python3.3/[^/]*/__pycache__
[^/]*/usr/lib/python3.3/[^/]*/[^/]*/__pycache__

are automatically generated/updated by python.

[^/]*/usr/src/kernel/scripts/.*

is generated by the modules class amongst other things. There was a
recent different bug report about these files not being cleaned and
triggering file conflict issues but that is a different problem.

I don't know much about the others and there are also some 'real' issues
here.

Cheers,

Richard







  reply	other threads:[~2014-10-22  9:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22  9:36 State of bitbake world, files not tracked by sstate Martin Jansa
2014-10-22  9:53 ` Richard Purdie [this message]
2014-10-22  9:53   ` [OE-core] " Richard Purdie

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=1413971587.25437.40.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.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.