Holger Freyther [Wed, 21 Feb 2007 22:48:55 +0000 (22:48 +0000)]
classes/insane.bbclass: Do not follow links, fix the issue that made koen add bb.fatal
udev has a link to host binaries, do not check the architecture
of these binaries. We will skip all links for now for the two
reasons:
-We either point to a file in our package and then we will
check it anyway
-It is a file for a another package, which will be checked
anyway
Make architecture mismatch a fatal/insane error and return False.
This should fix the issue koen has seen when he added a bb.fatal
the make_fatal_error method returns true if the error should be
made fatal, in this case our checks need to set sane to False.
The return not makes sure this is happening.
Erik Hovland [Wed, 21 Feb 2007 18:08:45 +0000 (18:08 +0000)]
sqlite3 3.3.13: Point release
* Sqlite has released a new point release for Sqlite3. It fixes one bug when
using ORDER BY.
* The patches for 3.3.12 have been rebased for 3.3.13 and are included in
the 3.3.13 directory.
* The 3.3.13 bb file is an almost exact copy of the 3.3.12 bb.
Mike Westerhof [Wed, 21 Feb 2007 16:17:09 +0000 (16:17 +0000)]
slugos: demoted netconsole driver to module in rootfs, removed dsmg600 cmdline
patch (replaced by shim), added linux-2.6.20.1 patch, to bring in sync with svn
insane.bbclass: unbreak it for 64bit targets
Added extra entry into dict to mark 32bit/64bit and use it for manipulating
ELF headers.
Some architectures would need checking (not OE ones).
Holger Freyther [Tue, 20 Feb 2007 13:29:04 +0000 (13:29 +0000)]
classes/insane.bbclass: No use to make it bb.fatal if we return False...
The idea of insane.bbclass is to report all issues found at
once. This is why the checks return True if no error was found
and False if at least one was found.
At the end of all check runs we will see if at least one check
failed and call bb.fatal
Koen Kooi [Tue, 20 Feb 2007 11:36:51 +0000 (11:36 +0000)]
insane.bbclass: we really don't want packages with the wrong architecture, so do bb.fatal instead if bb.error
symptom:
ERROR: Architecture did not match (20 to 3) on /work/ppc603e-angstrom-linux/udev-092-r15/install/udev/sbin/scsi_id
This means OE detected type 3 (i386) while it expected type 20 (powerpc), most likely caused by some fool hardcoding 'gcc' as compiler
Stelios Koroneos [Tue, 20 Feb 2007 09:39:55 +0000 (09:39 +0000)]
packages/apache2/apache2-2.2.3: Fix wrong assuption about ptr length during configure
To be able to compile you need to add ac_cv_sizeof_long_p in the site file of your arch (if not allready there)
Koen Kooi [Tue, 20 Feb 2007 08:02:34 +0000 (08:02 +0000)]
package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into per architecture subdirs of deploy/ipk
see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
Holger Freyther [Mon, 19 Feb 2007 16:57:13 +0000 (16:57 +0000)]
classes/insane.bbclass: check stages .pc and .la for sanity
native ones:
.la files should have installed=yes (at least I believe
this). And somehow some believe this as well, some don't though...
some like fakeroot love to install two .la files...
non-native:
.la should have installed=no
both:
should not point to tmp/work. libgettext and libltdl(libtool)
fails this...
happy fixing and arguing
Holger Freyther [Mon, 19 Feb 2007 14:56:20 +0000 (14:56 +0000)]
classes/insane.bbclass: Make the .so-check check for symlinks (merge poky r1258,r1195)
The .so check now looks for symlinks ending with .so. These are a typical
trait of -dev packages and kills a lot of false positives.
This was authored by ross and was taken from the poky svn repository.
Koen Kooi [Mon, 19 Feb 2007 10:28:48 +0000 (10:28 +0000)]
insane.bbclass: fixes
* change "," to "%" so python doesn't die if an error occurs
* spell architecture correctly
* add arm/eabi tupple that works for stripped binaries, but fails for -dbg binaries (abiversion 0 vs 97)