From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 9E9FB60097; Wed, 22 Oct 2014 09:53:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id s9M9qYe2027783; Wed, 22 Oct 2014 10:52:34 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id T0Xhl9g_NtlO; Wed, 22 Oct 2014 10:52:34 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id s9M9qWg9027771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 22 Oct 2014 10:52:34 +0100 Message-ID: <1413971587.25437.40.camel@ted> From: Richard Purdie To: Martin Jansa Date: Wed, 22 Oct 2014 10:53:07 +0100 In-Reply-To: <20141022093643.GH2455@jama> References: <20141022093643.GH2455@jama> X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Cc: openembedded-devel@lists.openembedded.org, openembedded-core@lists.openembedded.org Subject: Re: State of bitbake world, files not tracked by sstate X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 09:53:17 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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