]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agotoaster.bbclass: fix TypeError when parsing build stats
Elliot Smith [Tue, 22 Dec 2015 16:06:56 +0000 (16:06 +0000)] 
toaster.bbclass: fix TypeError when parsing build stats

Reading IO stats fails because the IO read/write bytes are
being converted to strings, then added to a numeric running
total.

Fix this by converting IO stats to integers.

(From OE-Core rev: 8e2475eecafc0161d25684f5b8239273739de759)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxcb: Add a workaround for gcc5 bug on mips
Khem Raj [Mon, 21 Dec 2015 01:42:02 +0000 (01:42 +0000)] 
libxcb: Add a workaround for gcc5 bug on mips

This fixes build failure for libxcb on mips

(From OE-Core rev: cad52140997e86c6fee4938369dfce21767f1a63)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoflex: update to 2.6.0
Alexander Kanavin [Tue, 15 Dec 2015 11:59:34 +0000 (13:59 +0200)] 
flex: update to 2.6.0

Drop backported 0001-bison-test-fixes-Do-not-use-obsolete-bison-construct.patch

Test cases have been completely rearranged upstream, so ptest support
is fully rewritten.

Merge split bb/inc as there's no other user of the .inc [RB]

As automake insists adding BUILD_SOURCES as a dependency to the "all" target,
remove tests/ from the build unless ptests are enabled.  This means native
builds don't need a bison dependency. If ptests are enabled, we build-depend on
flex-native and bison-native for the test suite, and tell it to use the
flex-native binary instead of attempting to run the cross flex it just
built. [RB]

Move in-tree files from files/ to flex/ for consistency. [RB]

(From OE-Core rev: 4fe048b7b32eb3d20a43171b83e8ad2037192d34)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopkg: upgrade to v0.3.1
Alejandro del Castillo [Thu, 17 Dec 2015 16:18:19 +0000 (10:18 -0600)] 
opkg: upgrade to v0.3.1

* Drop merged patches
* Add patch to fix crash when using the libsolv backend
* Add patch to add pkgconfig support for libsolv
* Add libsolv support via a PACKAGECONFIG option.

(From OE-Core rev: 51265ca2b77c05c94f65d3bc8e1883853b0b540c)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: remove merge conflicts accidently left in
Ross Burton [Thu, 17 Dec 2015 20:57:01 +0000 (20:57 +0000)] 
systemd: remove merge conflicts accidently left in

(From OE-Core rev: 1e49b502e730d51420682aa9b57628ae113fe0b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic/help.py: document that mountpoint is optional for part command
Joshua Lock [Thu, 17 Dec 2015 12:02:28 +0000 (12:02 +0000)] 
wic/help.py: document that mountpoint is optional for part command

If no mountpoint is specified for a partition command the partition
will be created but not mounted — mention this in the kickstart
help text.

[YOCTO #8820]

(From OE-Core rev: d1ff1fef987457eb1a5ffe42dbabc7808fa7d598)

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride
Andre McCurdy [Thu, 17 Dec 2015 00:08:13 +0000 (16:08 -0800)] 
pixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride

Neon support is optional in armv7a so the _armv7a over-ride is not
the best way to determine whether or not the target supports neon.

Since pixman will always use neon in preference to 'simd' (ie VFPv2)
if it can, it's safe to disable the simd routines if the target is
known to support neon.

(From OE-Core rev: ad8337a127a8af321396b78a1cf331b54e4e0515)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxdg-utils: Do not build the in-script documentation
Jussi Kukkonen [Thu, 17 Dec 2015 10:07:09 +0000 (12:07 +0200)] 
xdg-utils: Do not build the in-script documentation

Building the contents for "--manual" option requires a web browser
or java. That's bonkers so let's not do it.

[YOCTO #8823]

(From OE-Core rev: 35f4e506cd16a6165318c79030d5e54d06f1fd06)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogettext: Upgrade 0.19.4 -> 0.19.6
Fan Xin [Mon, 14 Dec 2015 12:31:24 +0000 (21:31 +0900)] 
gettext: Upgrade 0.19.4 -> 0.19.6

(From OE-Core rev: d22e6d2a2d73112f21820289621d560c54f93d76)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-configure-common.inc: add gcc-runtime ABI fixes for armv7m and armv7r
Andre McCurdy [Wed, 16 Dec 2015 15:59:03 +0000 (07:59 -0800)] 
gcc-configure-common.inc: add gcc-runtime ABI fixes for armv7m and armv7r

(From OE-Core rev: 55beb07da9120a2444fcc53bbe1b8f418dafb5aa)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-cortexr4.inc: provide an _armv7r over-ride via MACHINEOVERRIDES
Andre McCurdy [Wed, 16 Dec 2015 15:59:02 +0000 (07:59 -0800)] 
tune-cortexr4.inc: provide an _armv7r over-ride via MACHINEOVERRIDES

(From OE-Core rev: 3911fcb1504f435409501544c908c1704a6fc7b9)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES
Andre McCurdy [Wed, 16 Dec 2015 15:59:01 +0000 (07:59 -0800)] 
tune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES

(From OE-Core rev: ed60460459e746ca91b8884526cdb1fc6a3fd640)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofeature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature
Andre McCurdy [Wed, 9 Dec 2015 01:09:58 +0000 (17:09 -0800)] 
feature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature

Interworking is required for ARM EABI, so attempting to disable it
via a tuning feature no longer makes sense (support for ARM OABI was
deprecated in gcc 4.7). We can drop '-mthumb-interwork' from
TUNE_CCARGS for the same reason.

(From OE-Core rev: d942f94de8966c839209e8c9a632351d108852c4)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofeature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides
Andre McCurdy [Wed, 9 Dec 2015 01:09:57 +0000 (17:09 -0800)] 
feature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides

Bitbake over-rides for _thumb and _thumb-interwork are undocumented
and are not used anywhere in oe-core or meta-oe. The logic setting up
the thumb-interwork over-ride even seems to be reversed and nobody
noticed, so it seems safe to assume that these over-rides are not
used.

(From OE-Core rev: 351443d71eb246a946b41f12b54d57b36fe1574e)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofeature-arm-thumb.inc: drop ARM -vs- thumb comments
Andre McCurdy [Wed, 9 Dec 2015 01:09:56 +0000 (17:09 -0800)] 
feature-arm-thumb.inc: drop ARM -vs- thumb comments

Comments are old and specific to thumb1. Since oe-core CPU tuning
files aren't really the right place to fully document ARM -vs- thumb,
drop the comments instead of trying to update them.

(From OE-Core rev: 06225600d4d3041da0d28c79058e5b8ceb4874bf)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: Fix support for db5 and db6
Yuanjie Huang [Wed, 16 Dec 2015 09:40:38 +0000 (17:40 +0800)] 
rpm: Fix support for db5 and db6

The previous attempt to let rpm configuration support both db5 and db6
has a flaw that when the building host provides db6 without its header
the db_create test will false pass. This new patch addresses this issue
by test against the DB_VERSION_MAJOR macro value, which is defined in
both db5 and db6's header.

(From OE-Core rev: 59934080f8311a810e7b5ce82a264d4b9de650ec)

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-buildenv-internal: fix return code
Juro Bystricky [Wed, 16 Dec 2015 21:24:07 +0000 (13:24 -0800)] 
oe-buildenv-internal: fix return code

The script oe-buildenv-internal is called from oe-init-build-env.
Make sure oe-init-buildenv does not return an error if BB_ENV_EXTRAWHITE is
already set, otherwise this will cause oe-init-build-env to fail.

(From OE-Core rev: 9ae79973cfdabd1b4dacddce32735c65fe3544e4)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostaging.bbclass: make already-stripped can be skipped
Jackie Huang [Wed, 16 Dec 2015 09:54:01 +0000 (17:54 +0800)] 
staging.bbclass: make already-stripped can be skipped

Add a check like what we does in package.bbclass
so that the already-stripped QA test can be skipped.

(From OE-Core rev: 2262fdb256954b22dadb2f7c6922e6046c269742)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildhistory-collect-srcrevs: hide empty sections
Christopher Larson [Tue, 15 Dec 2015 23:45:27 +0000 (16:45 -0700)] 
buildhistory-collect-srcrevs: hide empty sections

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
(From OE-Core rev: 3c4de5430aff2d7443f064d698014615e867c58c)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest/buildhistory.py: Test buildhistory does not change sigs
Daniel Istrate [Tue, 15 Dec 2015 14:32:43 +0000 (16:32 +0200)] 
selftest/buildhistory.py: Test buildhistory does not change sigs

[YOCTO #5953] Add a test to ensure buildhistory does not
change signatures.

Also removed unused imports.

(From OE-Core rev: 9e8f5ff6b0bd6cffcbb991d75487ab6005974000)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc5: Upgrade gcc-5.2 -> gcc-5.3
Khem Raj [Mon, 14 Dec 2015 06:23:08 +0000 (06:23 +0000)] 
gcc5: Upgrade gcc-5.2 -> gcc-5.3

Minor bugfix upgrade to gcc 5.3 for detailed list of fixes in 5.3 see

https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=132738&resolution=FIXED&target_milestone=5.3

(From OE-Core rev: 8b664a7d6bba89a8221d7fd1a52915fef0002d71)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: event/utils/methodpool: Add a cache of compiled code objects
Richard Purdie [Sun, 20 Dec 2015 13:22:19 +0000 (13:22 +0000)] 
bitbake: event/utils/methodpool: Add a cache of compiled code objects

With the addition of function line number handling, the overhead of
the compile functions is no longer negligible. We tend to compile
the same pieces of code over and over again so wrapping a cache around
this is beneficial and removes the overhead of line numbered functions.

Life cycle of a cache using a global like this is in theory problematic
although in reality unlikely to be an issue. It can be dealt with
if/as/when we deal with the other global caches.

(Bitbake rev: 98d7002d1dca4b62042e1589fd5b9b3805d57f7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: BBHandler: Improve IN_PYTHON_EOF handling
Richard Purdie [Sun, 20 Dec 2015 13:21:14 +0000 (13:21 +0000)] 
bitbake: BBHandler: Improve IN_PYTHON_EOF handling

Now we're actively using the line numbers for other thins, having
magic values like IN_PYTHON_EOF causes problems, in particular, 32
bit overflow on 32 bit machines.

There is a neater way to signal eof to feeder(), just using an extra
parameter so use this instead and drop the IN_PYTHON_EOF magic values.

This has the added bonus that line numbers are then correct for
python functions at the end of files.

(Bitbake rev: e0f05871c2a6f1e86ae19ad343c7c6f822ddb67e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS
Richard Purdie [Sun, 20 Dec 2015 13:20:20 +0000 (13:20 +0000)] 
bitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS

This is mainly a performance optimisation. Since we added these flags
to functions, the system spends a lot of time trying to expand these
flags. The values don't really influence checksums and don't need to
be included since if the function content changes, that is will be
detected regardless and is the key detail we care about.

Therefore exclude these from the checksums and gain a signficiant
chunk of parsing speed back.

(From OE-Core rev: 2a1edfd9cfa16ec334c0758b47677d4fee5e79a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: remove 2 confusing parameters
Ed Bartosh [Thu, 17 Dec 2015 16:48:56 +0000 (16:48 +0000)] 
bitbake: toaster: remove 2 confusing parameters

Removed nobrowser and brbe script parameters as both
are confusing and nobrowser is not used anywhere.

brbe parameter usage can only be justified if toaster
doesn't work properly and user has to manually connect
toaster to running bitbake server. Even in this scenario
it's very unlikely to achieve as toaster script is not
designed for this kind of usage.

(Bitbake rev: 0fd04ede3fda6894d97a5ef830b79dbbc9c6cf51)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: move setting of default values
Ed Bartosh [Thu, 17 Dec 2015 16:48:55 +0000 (16:48 +0000)] 
bitbake: toaster: move setting of default values

Set default values of script parameters just before
they are parsed to increase readability.

(Bitbake rev: 627f0d6adcfe281ef0487bf15a35151f1ceff194)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: move startup checks to a better place
Ed Bartosh [Thu, 17 Dec 2015 16:48:54 +0000 (16:48 +0000)] 
bitbake: toaster: move startup checks to a better place

Moved addr:port, bitbake.lock and toastermain.pid checks
to the place where the rest of Toaster starting happens.

(Bitbake rev: 0e7812b5512e609ea815db30be1d7caca896ab60)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: remove 2 unused functions
Ed Bartosh [Thu, 17 Dec 2015 16:48:53 +0000 (16:48 +0000)] 
bitbake: toaster: remove 2 unused functions

Removed check_pidbyfile and notify_chldexit functions from
toaster script as they're not called in the script.

(Bitbake rev: ead2823e5457c9c4d0321c2191fb99982b282d26)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: remove addtoConfiguration function
Ed Bartosh [Thu, 17 Dec 2015 16:48:52 +0000 (16:48 +0000)] 
bitbake: toaster: remove addtoConfiguration function

This function is useless as it's called just once
and makes code less readable.

(Bitbake rev: 96e85159905e44533882ad8290b1c9dd252ff3ea)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: updated header of the toaster script
Ed Bartosh [Thu, 17 Dec 2015 16:48:51 +0000 (16:48 +0000)] 
bitbake: toaster: updated header of the toaster script

Updated GPL information, years of development and
usage information. Removed outdated information about
2 ways of starting Toaster.

(Bitbake rev: b4789c9e3093e1ec8e70f67305c88709443578e6)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: add MANAGE variable
Ed Bartosh [Thu, 17 Dec 2015 16:48:50 +0000 (16:48 +0000)] 
bitbake: toaster: add MANAGE variable

Used MANAGE variable to avoid repeating path to
manage.py in many places in toaster script.

(Bitbake rev: e8e19168ff43b72a2481771e7a40d9d7c155cfd2)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: remove unused variable
Ed Bartosh [Thu, 17 Dec 2015 16:48:49 +0000 (16:48 +0000)] 
bitbake: toaster: remove unused variable

Removed unused variable RUNNING from the toaster script.

(Bitbake rev: 8b3f0b2c6efa2962d9c16e453f4d2c1af6419c6c)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: split long lines, add/remove whitespace
Ed Bartosh [Thu, 17 Dec 2015 16:48:48 +0000 (16:48 +0000)] 
bitbake: toaster: split long lines, add/remove whitespace

Made toaster script more readable by splitting long lines and
removing and adding whitespace.

(Bitbake rev: 6d61d7903eb4fb12464bfea54d3a225f99ad394f)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: check if address:port is in use
Ed Bartosh [Thu, 17 Dec 2015 16:48:47 +0000 (16:48 +0000)] 
bitbake: toaster: check if address:port is in use

Used new management command checksocket to check if
Toaster can listen on address:port.

[YOCTO #8775]

(Bitbake rev: 8a306ffe5a3642fe833c875362a183096a39f641)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: implement checksocket command
Ed Bartosh [Thu, 17 Dec 2015 16:48:46 +0000 (16:48 +0000)] 
bitbake: toaster: implement checksocket command

Implemented new management command to check if it's
possible to listen on specified address:port.

[YOCTO #8775]

(Bitbake rev: 0339b90842fd7c878c511b4b89ebcaee9a431bba)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats-summary/toaster: Cope with removal of get_bn()
Richard Purdie [Fri, 18 Dec 2015 13:50:04 +0000 (13:50 +0000)] 
buildstats-summary/toaster: Cope with removal of get_bn()

The buildstats changes removed the no longer needed get_bn() function,
replace this with references to BUILDNAME.

(From OE-Core rev: e1a37899da56014693f08d1c39cb6ec0a4ed2bf4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: knotty: Improve exception error message
Richard Purdie [Fri, 18 Dec 2015 11:03:20 +0000 (11:03 +0000)] 
bitbake: knotty: Improve exception error message

Instead of:
"""
can only concatenate tuple (not "int") to tuple
"""
we now see:

"""
Traceback (most recent call last):
  File "/media/build1/poky/bitbake/lib/bb/ui/knotty.py", line 324, in main
    termfilter.updateFooter()
  File "/media/build1/poky/bitbake/lib/bb/ui/knotty.py", line 210, in updateFooter
    lines = 1 + int(len(content) / (self.columns + 1))
TypeError: can only concatenate tuple (not "int") to tuple
"""

which makes tacking down and fixing the problem much easier.

Also ensure we set an error exit code.

(Bitbake rev: d965bcae6cfd268406a3bd1ef77c5bb6c6e1c6d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: knotty: Fix row/column function return value issue
Richard Purdie [Fri, 18 Dec 2015 11:02:41 +0000 (11:02 +0000)] 
bitbake: knotty: Fix row/column function return value issue

When the row handling was introduced, one of the callbacks was
missed resulting in:

TypeError: can only concatenate tuple (not "int") to tuple

Fix it.

(Bitbake rev: 0b77cea2bf5b5f5704e2650fb0332f5d78037781)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: buildinfohelper: Update for buildstats layout change
Richard Purdie [Thu, 17 Dec 2015 14:54:55 +0000 (14:54 +0000)] 
bitbake: buildinfohelper: Update for buildstats layout change

This updates buildinfo helper for the recent buildstats layout change

(Bitbake rev: 30311bbe667e9f22de17fae00ff58da06a7c3e23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch: use orig localpath when calling orig method
Christopher Larson [Thu, 10 Dec 2015 18:57:23 +0000 (23:57 +0500)] 
bitbake: fetch: use orig localpath when calling orig method

When a mirror tarball is fetched, the original fetch method is called, which
unpacks the mirror tarball. After the original method is called, it checks the
localpath of the mirror tarball rather than the clone path, which isn't ideal,
particularly if the mirror tarball was removed due to being out of date. We
know the original fetch method will do what it needs to do to get its content
in the form it needs from the mirror tarball, so we can use its localpath
instead.

(Bitbake rev: 1732ad65d6c7d67b7d07cb30c074f5016adadbea)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: utils: Improve traceback from better_exec internal errors
Richard Purdie [Tue, 15 Dec 2015 17:42:40 +0000 (17:42 +0000)] 
bitbake: utils: Improve traceback from better_exec internal errors

If you break the internals of better_exec(), you get a very weird
error about tb_next not being a method of None. Fix this by checking
we can step back a trace level.

(Bitbake rev: 1d710ed484f68fca0789022dde7ba877b9a894f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: ast/event/utils: Improve tracebacks to include file and line numbers more...
Richard Purdie [Tue, 15 Dec 2015 17:41:12 +0000 (17:41 +0000)] 
bitbake: ast/event/utils: Improve tracebacks to include file and line numbers more correctly

Currently bitbake tracebacks can have places where the line numbers are
inaccurate and filenames may be missing. These changes start to try and
correct this.

The only way I could find to correct line numbers was to compile as a
python ast, tweak the line numbers then compile to bytecode. I'm open
to better ways of doing this if anyone knows of any.

This does mean passing a few more parameters into functions, and putting
more data into the data store about functions (i.e. their filenames
and line numbers) but the improvement in debugging is more than worthwhile).

Before:
----------------
ERROR: Execution of event handler 'run_buildstats' failed
Traceback (most recent call last):
  File "run_buildstats(e)", line 43, in run_buildstats(e=<bb.build.TaskStarted object at 0x7f7b7c57a590>)
NameError: global name 'notexist' is not defined

ERROR: Build of do_patch failed
ERROR: Traceback (most recent call last):
  File "/media/build1/poky/bitbake/lib/bb/build.py", line 560, in exec_task
    return _exec_task(fn, task, d, quieterr)
  File "/media/build1/poky/bitbake/lib/bb/build.py", line 497, in _exec_task
    event.fire(TaskStarted(task, logfn, flags, localdata), localdata)
  File "/media/build1/poky/bitbake/lib/bb/event.py", line 170, in fire
    fire_class_handlers(event, d)
  File "/media/build1/poky/bitbake/lib/bb/event.py", line 109, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/media/build1/poky/bitbake/lib/bb/event.py", line 81, in execute_handler
    ret = handler(event)
  File "run_buildstats(e)", line 43, in run_buildstats
NameError: global name 'notexist' is not defined

----------------

After:
----------------
ERROR: Execution of event handler 'run_buildstats' failed
Traceback (most recent call last):
  File "/media/build1/poky/meta/classes/buildstats.bbclass", line 143, in run_buildstats(e=<bb.build.TaskStarted object at 0x7efe89284e10>):
         if isinstance(e, bb.build.TaskStarted):
    >        trigger = notexist
             pn = d.getVar("PN", True)
NameError: global name 'notexist' is not defined

ERROR: Build of do_package failed
ERROR: Traceback (most recent call last):
  File "/media/build1/poky/bitbake/lib/bb/build.py", line 560, in exec_task
    return _exec_task(fn, task, d, quieterr)
  File "/media/build1/poky/bitbake/lib/bb/build.py", line 497, in _exec_task
    event.fire(TaskStarted(task, logfn, flags, localdata), localdata)
  File "/media/build1/poky/bitbake/lib/bb/event.py", line 170, in fire
    fire_class_handlers(event, d)
  File "/media/build1/poky/bitbake/lib/bb/event.py", line 109, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/media/build1/poky/bitbake/lib/bb/event.py", line 81, in execute_handler
    ret = handler(event)
  File "/media/build1/poky/meta/classes/buildstats.bbclass", line 143, in run_buildstats
    trigger = notexist
NameError: global name 'notexist' is not defined
----------------

(Bitbake rev: 1ff860960919ff6f8097138bc68de85bcb5f88b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: runqueue: Add support for <task>- syntax
Richard Purdie [Tue, 15 Dec 2015 16:42:18 +0000 (16:42 +0000)] 
bitbake: runqueue: Add support for <task>- syntax

It can be useful to run all tasks up to but not including a specific task. The
main reason this was never added was the lack of a good syntax. This patch
uses the syntax <taskname>- to denote this behaviour which is simple, not
invasive and fits what we need from good syntax IMO, hence we can add this.

(Bitbake rev: 99ccfd411ab3f7baa111f9f3d50fae68816a9a83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agom4: Drop unused/unreferenced patch
Richard Purdie [Tue, 15 Dec 2015 22:27:46 +0000 (22:27 +0000)] 
m4: Drop unused/unreferenced patch

(From OE-Core rev: 4ca1214fb99e9dd4096fab7f32a3050313dfca54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster: Update for buildstats changes
Richard Purdie [Thu, 17 Dec 2015 14:54:53 +0000 (14:54 +0000)] 
toaster: Update for buildstats changes

This updates the toaster class to use the new data format from buildstats.
This does mean it will no longer read IO data from older builds, however
since that data is completely useless anyway, I don't consider that to be
an issue.

(From OE-Core rev: 5c3987226cd9669d5fc0993d0541048475af9fcb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Improve to add getrusage data and corrected IO stats
Richard Purdie [Thu, 17 Dec 2015 14:54:28 +0000 (14:54 +0000)] 
buildstats: Improve to add getrusage data and corrected IO stats

Add IO stats and getrusage() data to the task statistics. We
also drop the CPU percentage calculation since its pretty arbitrary
and not very accurate/useful.

In particular we can now see the user and sys times as well as the
wall clock times.

(From OE-Core rev: b849130f71d3ba32a6fa94c291ca6ce7c7c3b3d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Separate out the build and task data to allow improvements
Richard Purdie [Thu, 17 Dec 2015 14:54:14 +0000 (14:54 +0000)] 
buildstats: Separate out the build and task data to allow improvements

The combined build and task data code makes changing things hard, separate
out the functions so that changes can be made to the task data whilst the
build data remains unchanged.

(From OE-Core rev: c79cfce4f820f20346d0565df8df626832976e28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Clean up e.data and bb.data references
Richard Purdie [Thu, 17 Dec 2015 14:54:08 +0000 (14:54 +0000)] 
buildstats: Clean up e.data and bb.data references

Rather than bb.data and e.data, cleanup to use 'd' and match the
standard coding style.

(From OE-Core rev: dbce2c6122d492ba86873db4d02322f0df7a6752)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Drop get_bn/set_pn and just use BUILDNAME
Richard Purdie [Thu, 17 Dec 2015 14:54:01 +0000 (14:54 +0000)] 
buildstats: Drop get_bn/set_pn and just use BUILDNAME

The current setting and getting of the "name" to use for buildstats is
convoluted and not particularly interesting. We only need this for the
e.getPkgs()[0] component of the path which is the first target listed
on the commandline. This is pretty arbitrary.

If we drop that piece, we can assume BUILDNAME is common for all events
and simply use this and query it. If BUILDNAME did change, that would
be a bug and it should be fixed elsewhere.

Also take the opportunity to share some common code since the function
now has the eventmask.

(From OE-Core rev: 918d83460639df273f38ae079ffeebd6a79b3373)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Drop disk data from buildstats
Richard Purdie [Thu, 17 Dec 2015 14:53:55 +0000 (14:53 +0000)] 
buildstats: Drop disk data from buildstats

The existing diskstats data from buildstats simply isn't useful. It
gives stats on the total IO counts on some random disk within the
system. This means that the count includes data from all other tasks
running at the same time and from any other process running on the
system.

I've been unable to find any use for the data so as a start at
reworking the class, remove the related code.

(From OE-Core rev: f9fb02909f332365cad329352956a29cff6eba77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonativesdk-buildtools-perl-dummy: Bump PR
Richard Purdie [Thu, 17 Dec 2015 12:33:39 +0000 (12:33 +0000)] 
nativesdk-buildtools-perl-dummy: Bump PR

Recent changes to this recipe caused automated PR increments
to break, regressing package feeds. The only way to recover
is to bump PR, so do this centrally to fix anyone affected.

(From OE-Core rev: dacdb499d31cb2e80cca33cba9d599c8ee983dc4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: Stop using filterdiff
Richard Purdie [Thu, 17 Dec 2015 10:55:21 +0000 (10:55 +0000)] 
combo-layer: Stop using filterdiff

I ran into an issue where a patch just deleting a single file
within the repository (meta/recipes-devtools/m4/m4/make.patch)
would get skipped by combo-layer.

It turns out this has the patch header (commented to avoid breaking scripts):

: diff --git a/meta/recipes-devtools/m4/m4/make.patch b/meta/recipes-devtools/m4/m4/make.patch
: deleted file mode 100644
: index 79fb415..0000000
: --- a/meta/recipes-devtools/m4/m4/make.patch
: +++ /dev/null
: @@ -1,42 +0,0 @@

and this is classed as > 5 headers in filterdiff. When we piped the path
through filterdiff, the --- line disappears, then the second time we pass
through filterdiff, it shows no lines changed and the patch is assumed
to be empty and skipped.

Changing MAX_HEADERS in filterdiff is one way to fix this, another would
be to grep out "deleted file mode" lines. Instead, we can use new
git syntax to exclude files from the git format-patch instead and avoid
filterdiff entirely.

(From OE-Core rev: 296c70afeef75396dea9ae436058314d406dc257)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: more removals of redunant FILES_${PN}-dbg
Ross Burton [Tue, 15 Dec 2015 16:32:43 +0000 (16:32 +0000)] 
meta: more removals of redunant FILES_${PN}-dbg

In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
there's a very good reason, recipes should have a single -dev and -dbg package.

(From OE-Core rev: 6f822a9fd185f479ef86c584b6d91a51b3a24e44)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclutter-gst-3.0: add dependency on libgudev
Martin Jansa [Mon, 14 Dec 2015 18:31:46 +0000 (19:31 +0100)] 
clutter-gst-3.0: add dependency on libgudev

* it's autodetected from sysroot:
  WARN: clutter-gst-3.0: clutter-gst-3.0 rdepends on libcap, but it isn't a build dependency?
  WARN: clutter-gst-3.0: clutter-gst-3.0 rdepends on libgudev, but it isn't a build dependency?
  WARN: clutter-gst-3.0: clutter-gst-3.0 rdepends on libudev, but it isn't a build dependency?

(From OE-Core rev: 41abc7a1a9822383401f89ac4cef06d28982df92)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: Upgrade to 228
Khem Raj [Mon, 14 Dec 2015 05:55:35 +0000 (05:55 +0000)] 
systemd: Upgrade to 228

Forward port all patches and format them to be git am'able
Drop patches specific to uclibc's missing features which now
are there in uclibc-ng

(From OE-Core rev: fcaa030fa3c6eb0980cc635b92d6819682cf7742)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: Switch to using uclibc-ng
Khem Raj [Sun, 13 Dec 2015 04:47:05 +0000 (04:47 +0000)] 
uclibc: Switch to using uclibc-ng

uclibc-ng is a maintained fork of uclibc project. Lets switch to using that
add patches to fix memory leak in canonicalize_file_name-memory

(From OE-Core rev: 6a4996395f56836195f5ba10a554ba04eb304c13)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocdrtools-native: update to 3.01 final
Alexander Kanavin [Wed, 9 Dec 2015 15:04:07 +0000 (17:04 +0200)] 
cdrtools-native: update to 3.01 final

Inject a fake PV to avoid versions going backwards [RB]

(From OE-Core rev: d7d96cffb920ba00d6ff5745b5aee0f3d81dc2bc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrep: update to 2.22
Alexander Kanavin [Mon, 14 Dec 2015 14:33:09 +0000 (16:33 +0200)] 
grep: update to 2.22

Drop backported grep-fix-CVE-2015-1345.patch

(From OE-Core rev: 2d6bd85c0fea435108b2a5e76fe7aad5ebafaf19)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoprocps: update to 3.3.11
Alexander Kanavin [Mon, 14 Dec 2015 14:18:42 +0000 (16:18 +0200)] 
procps: update to 3.3.11

fix-configure.patch was fixing lines that have been removed upstream.

(From OE-Core rev: 42d0699c19b935ce1553d5b88577e1231315d5cc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobabeltrace: update to 1.3.1
Alexander Kanavin [Mon, 14 Dec 2015 14:12:52 +0000 (16:12 +0200)] 
babeltrace: update to 1.3.1

(From OE-Core rev: 2b2a493baf45cbe5d53d8346525990f344e103c4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopowertop: update to 2.8
Alexander Kanavin [Mon, 14 Dec 2015 14:07:04 +0000 (16:07 +0200)] 
powertop: update to 2.8

(From OE-Core rev: 7763b318e8c5f117aabe57e451879734ac2b81e4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonfs-utils: update to 1.3.3
Alexander Kanavin [Mon, 14 Dec 2015 13:59:29 +0000 (15:59 +0200)] 
nfs-utils: update to 1.3.3

ipv6 support now requires libtirpc, so un-disable and add it to dependencies.

(From OE-Core rev: 219d74d9df6a4a819d03091f35205a5634b268c7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemtap: update to 2.9
Alexander Kanavin [Mon, 14 Dec 2015 13:53:55 +0000 (15:53 +0200)] 
systemtap: update to 2.9

(From OE-Core rev: 9083d25fa797272137737577228a3f7a5d95b27f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokbd: update to 2.0.3
Alexander Kanavin [Mon, 14 Dec 2015 11:26:29 +0000 (13:26 +0200)] 
kbd: update to 2.0.3

0003-Only-inluclude-kernel-headers-with-glibc.patch is handling #include lines that
are no longer present in the upstream source so it was dropped.

(From OE-Core rev: 3232c56c01631953445429d1eb7ab532404d6271)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogmp: update to 6.1.0
Alexander Kanavin [Mon, 14 Dec 2015 11:25:58 +0000 (13:25 +0200)] 
gmp: update to 6.1.0

Remove gmp-6.0.0-ppc64.patch, it was a backport

Remove configure.patch, it fixed problems with very old versions
of autotools, and testing showed it is no longer needed:
http://git.openembedded.org/openembedded/commit/gmp/gmp-4.1.2/configure.patch?id=43dd0eeb7b7aaf482d3568a0d6a3b99bedbf1cf6

(From OE-Core rev: 8b21d3b32f8ac4cc4b3ebea1db2b13df0dec1c3b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodocbook-xsl-stylesheets: fix UPSTREAM_CHECK_REGEX
Alexander Kanavin [Thu, 10 Dec 2015 12:39:53 +0000 (14:39 +0200)] 
docbook-xsl-stylesheets: fix UPSTREAM_CHECK_REGEX

Versions ending in .0 are release candidates, so exclude those.

(From OE-Core rev: 491e85a16b8aa92137609d99aa3eaad68df046f7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomtd-utils: update to 1.5.2
Alexander Kanavin [Thu, 10 Dec 2015 12:04:48 +0000 (14:04 +0200)] 
mtd-utils: update to 1.5.2

Drop 0001-hashtable-Remove-duplicate-hashtable_iterator_value-.patch,
the problem has been fixed upstream.
Drop backported 0001-mtd-utils-libfec-use-standard-C-type-instead-of-u_lo.patch
Rebase 0001-Fix-build-with-musl.patch (2 out of 3 fixes have been made upstream)

(From OE-Core rev: 3fba41e7f58ba68bb2e215b6f0bc21bae47ca035)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agounfs3: update to r497
Alexander Kanavin [Thu, 10 Dec 2015 11:57:45 +0000 (13:57 +0200)] 
unfs3: update to r497

Drop fix_warnings.patch as it's been merged upstream.

(From OE-Core rev: 8c1f4cbb789a5b32c8b33b3863359897f32bd49d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-numpy: update to 1.10.1
Alexander Kanavin [Thu, 10 Dec 2015 11:27:16 +0000 (13:27 +0200)] 
python-numpy: update to 1.10.1

LICENSE checksum has changed due to updated copyright years

(From OE-Core rev: 3c3932f3560c898e32287c8733b61180685ee539)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxml-simple-perl: update to 2.22
Alexander Kanavin [Wed, 9 Dec 2015 16:49:38 +0000 (18:49 +0200)] 
libxml-simple-perl: update to 2.22

LICENSE checksum changed because of copyright year change in the text.

(From OE-Core rev: f317dc5a9c3ee5c0a3f5f3bb90e79b7c153c53e6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodmidecode: update to 3.0
Alexander Kanavin [Wed, 9 Dec 2015 16:19:18 +0000 (18:19 +0200)] 
dmidecode: update to 3.0

LICENSE is still GPLv2, with a different physical address for the FSF.

(From OE-Core rev: f86e612c147c69756cd263f6855a65646672c0e8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocpio: update to 2.12
Alexander Kanavin [Wed, 9 Dec 2015 16:09:58 +0000 (18:09 +0200)] 
cpio: update to 2.12

Drop backported patches:
Fix-symlink-bad-length-test-for-64-bit-architectures.patch
fix-memory-overrun.patch
fix-testcase-symlink-bad-lengths.patch
0001-fix-testcase-of-symlink-bad-length.patch

statdef.patch is fixing code that doesn't exist anymore.
The problem handled by remove-gets.patch has been fixed differently.

The CVE-2015-1197 has been ignored by upstream and had to be rebased:
http://lists.gnu.org/archive/html/bug-cpio/2015-09/msg00007.html

(From OE-Core rev: feeaa86eb8b1071d56eb6d7ad7120aa389c736a0)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopuzzles: update to current commit
Alexander Kanavin [Fri, 4 Dec 2015 13:38:52 +0000 (15:38 +0200)] 
puzzles: update to current commit

gtk+3 support has been added upstream, so add an option for that.

(From OE-Core rev: 0dc44aeb49a8a254ca3345870b62282b04d4b61f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognutls: update to 3.4.7
Alexander Kanavin [Fri, 4 Dec 2015 11:55:49 +0000 (13:55 +0200)] 
gnutls: update to 3.4.7

libidn is needed by the new version to compare hostnames.
Openssl compatibility is no longer enabled by default, but is
required by other packages in oe-core.

(From OE-Core rev: 08fb2a4c2eaabdb2944cefefed51d1b95aedbde1)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibidn: add native and nativesdk support
Alexander Kanavin [Fri, 11 Dec 2015 16:44:23 +0000 (18:44 +0200)] 
libidn: add native and nativesdk support

This is needed because gnutls now requires libidn.

(From OE-Core rev: b42779453b833aeabd4683fcb7c7a032928c4cbe)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibpng: Update SRC_URI to use GENTOO_MIRROR
Maxin B. John [Mon, 14 Dec 2015 14:34:12 +0000 (16:34 +0200)] 
libpng: Update SRC_URI to use GENTOO_MIRROR

Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue
to move around the release files.

[YOCTO #8739]

(From OE-Core rev: 780a3739d651a14e1ef9de141e517b77171979d7)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibpng12: Upgrade 1.2.54 -> 1.2.55
Maxin B. John [Mon, 14 Dec 2015 14:34:11 +0000 (16:34 +0200)] 
libpng12: Upgrade 1.2.54 -> 1.2.55

1.2.54 -> 1.2.55

No change in License.The license checksums changed because of update
in Copyright date.

Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue
to move around the release files.
[YOCTO #8739]

(From OE-Core rev: 1c632dfe121923eea13652afc147080a11f26a78)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibical: Upgrade 1.0.0 -> 1.0.1
Maxin B. John [Mon, 14 Dec 2015 14:34:10 +0000 (16:34 +0200)] 
libical: Upgrade 1.0.0 -> 1.0.1

* Build system changed to cmake
* Patch build system to not check for perl (we use host
  perl which won't be found)
* Patch build system to not break on parallel builds

(From OE-Core rev: 8e6ab0617ab64ec93db5ca82f6c459be988e0287)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxslt: use proper SRC_URI
Maxin B. John [Mon, 14 Dec 2015 14:34:09 +0000 (16:34 +0200)] 
libxslt: use proper SRC_URI

Remove extra / from SRC_URI

(From OE-Core rev: 6bad80d2f7630aa013c986fee9751a888cacef47)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokexec-tools: added the script kdump
Wenlin Kang [Fri, 11 Dec 2015 06:16:53 +0000 (14:16 +0800)] 
kexec-tools: added the script kdump

Added the script file kdump,it provides the follow support:
1. Load a kdump kernel image into memory;
2. Copy away vmcore when system panic.

(From OE-Core rev: c2492edcb9366ed1741fc6be7d41bc17844041fd)

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoltp: Upgrade 20150420 -> 20150903
Fan Xin [Mon, 14 Dec 2015 08:29:24 +0000 (17:29 +0900)] 
ltp: Upgrade 20150420 -> 20150903

1. Upgrade from 20150420 to 20150903

https://github.com/linux-test-project/ltp/releases/tag/20150903

2. Replace the patch file 0001-replace-inline-with-static-inline-for-gcc-5.x.patch due to the ltp original source code is changed.

(From OE-Core rev: 8e40d9d79bfffa8bc4b1dfd20e78e1554f6c9b00)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomusl: Update to latest 1.1.12 release
Khem Raj [Mon, 14 Dec 2015 00:09:56 +0000 (00:09 +0000)] 
musl: Update to latest 1.1.12 release

point to maintained github mirror in comments

(From OE-Core rev: 0196bc0d466758f634f52f8dff298ca9157c96c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutil-linux: Upgrade to 2.27.1
Khem Raj [Sat, 12 Dec 2015 19:38:39 +0000 (19:38 +0000)] 
util-linux: Upgrade to 2.27.1

Patches that are dropped are already available upstream in 2.27 release

(From OE-Core rev: e4b9c8efaff3b869e2944444b16078ec19dce3ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-sdk: Disable sanitizers for uclibc
Khem Raj [Mon, 14 Dec 2015 00:13:54 +0000 (00:13 +0000)] 
packagegroup-core-sdk: Disable sanitizers for uclibc

They dont build for non-glibc C libraries yet

(From OE-Core rev: e7ae637f74686161ce121973760c121dfb836de0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsolv: add new recipe
Alejandro del Castillo [Sat, 12 Dec 2015 00:14:31 +0000 (18:14 -0600)] 
libsolv: add new recipe

Required by the optional opkg 0.3.1 libsolv backend.

(From OE-Core rev: bd7efb42c04649de54d36401d2745d6a0aab96c3)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: upgrade to 7.45
Fan Xin [Mon, 14 Dec 2015 01:13:38 +0000 (10:13 +0900)] 
curl: upgrade to 7.45

(From OE-Core rev: 32076a55fec1f01f84fe84aefc9300fae25f2519)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsndfile1: 1.0.25 -> 1.0.26
Tanu Kaskinen [Sat, 12 Dec 2015 02:23:12 +0000 (04:23 +0200)] 
libsndfile1: 1.0.25 -> 1.0.26

Main points from the release announcement:

  * Fix for CVE-2014-9496, SD2 buffer read overflow.
  * Fix for CVE-2014-9756, file_io.c divide by zero.
  * Fix for CVE-2015-7805, AIFF heap write overflow.
  * Add support for ALAC encoder in a CAF container.
  * Add support for Cart chunks in WAV files.
  * Minor bug fixes and improvements.

All patches we had are included in the new release.

Dropped PR from the recipe.

(From OE-Core rev: 5a4b8f7f643a4b95a7036eab02c7f74aa4077982)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowget: Upgrade 1.16.3 -> 1.17
Fan Xin [Mon, 14 Dec 2015 09:24:12 +0000 (18:24 +0900)] 
wget: Upgrade 1.16.3 -> 1.17

(From OE-Core rev: 39fe71fb632a899fb348d531c3e4c3d5923f54d6)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agounifdef: upgrade to 2.11
Ross Burton [Mon, 14 Dec 2015 11:18:24 +0000 (11:18 +0000)] 
unifdef: upgrade to 2.11

Add COPYING to the license checksums, and update the checksum for unifdef.c as
the copyright dates changed.

(From OE-Core rev: 69ec72a2e3fc20c82ff06672674f9534312ebb14)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist
Martin Jansa [Thu, 10 Dec 2015 13:02:15 +0000 (14:02 +0100)] 
sstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist

(From OE-Core rev: bae08f4caaddc9f5c8e3cd803538853dddb9f8bd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest: Added testcase decorators for 2 testcases
Daniel Istrate [Fri, 11 Dec 2015 09:58:15 +0000 (11:58 +0200)] 
oeqa/selftest: Added testcase decorators for 2 testcases

bblayers: test_bitbakelayers_showrecipes    1384
wic:      test_directdisk_bootloader_config 1385

(From OE-Core rev: eeb3382f38f0cb9188cccb4d32deb38be0b50f67)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouninative.bbclass: Choose the correct loader based on BUILD_ARCH
Randy Witt [Wed, 9 Dec 2015 20:50:44 +0000 (12:50 -0800)] 
uninative.bbclass: Choose the correct loader based on BUILD_ARCH

Previously UNINATIVE_LOADER was always ld-linux-x86-64.so.2. That is
incorrect when the host is 32-bit.

This change also changes to using ?= so the user can override
UNINATIVE_LOADER if so desired.

[YOCTO #8124]

(From OE-Core rev: b78fa0bcadd54bb29b6f1bb3a9308d4c454bf4e2)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense: Fix BB_TASKDEPDATA references
Richard Purdie [Tue, 15 Dec 2015 16:40:36 +0000 (16:40 +0000)] 
license: Fix BB_TASKDEPDATA references

We shouldn't try and expand what is a python dict object
and we don't want it to influence the task hashes, task
dependencies are already accounted for.

(From OE-Core rev: 697072130a3298aede7166f125aa982be23793ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocoreutils/procps: Revert priority change since coreutils > busybox
Richard Purdie [Tue, 15 Dec 2015 16:34:04 +0000 (16:34 +0000)] 
coreutils/procps: Revert priority change since coreutils > busybox

In 2ce514a394e1e062172bb097aa92a1792a0f8eaf, "coreutils: fix
ALTERNATIVE_PRIORITY conflict with procps and mktemp" the priority was
lowered from 100 to 30. Unfortunately this lowered coreutils past
busybox which means busybox was ending up in our SDK images. This isn't
what users expect.

1c0cfffee21e99a7356c9046c86628bc0acf654c raises the priority of mktemp
to 200, do the same for procps and make the system consistent.

(From OE-Core rev: 770618eb33fc576f903a4c8011cc2d9f8f78071d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: more removals of redunant FILES_${PN}-dbg
Ross Burton [Tue, 15 Dec 2015 16:32:43 +0000 (16:32 +0000)] 
meta: more removals of redunant FILES_${PN}-dbg

In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
there's a very good reason, recipes should have a single -dev and -dbg package.

(From OE-Core rev: a3b000643898d7402b9e57c02e8d10e677cc9722)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: Drop now pointless manual -dbg packaging
Richard Purdie [Tue, 15 Dec 2015 15:40:23 +0000 (15:40 +0000)] 
meta: Drop now pointless manual -dbg packaging

With the autodebug package generation logic, specifically setting FILES_${PN}-dbg
isn't needed in most cases, we can remove them.

(From OE-Core rev: 3ab59d49dd7c18e194b58d1248b4b87709b5a738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage: Add auto package splitting of .debug files
Richard Purdie [Tue, 15 Dec 2015 15:38:54 +0000 (15:38 +0000)] 
package: Add auto package splitting of .debug files

Creating FILES_${PN}-dbg is tedious and also pretty pointless. We might as well
assume ".debug" is a special directory name and split into -dbg automatically.

This change does so without changing the rest of the splitting logic too much.
It can be disabled for the cases where we really do want manual control of
the -dbg packages (e.g. qt4) with NOAUTOPACKAGEDEBUG = "1".

(From OE-Core rev: da5ec06814e105451cca11cce76b5c5231110524)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used
brian avery [Wed, 2 Dec 2015 18:36:17 +0000 (10:36 -0800)] 
meta/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used

(From OE-Core rev: 674fdfd018e0daea561dddc4f8e38eceee685c7a)

Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: tables Set a default order for the software recipes table
Belen Barros Pena [Mon, 14 Dec 2015 22:50:47 +0000 (22:50 +0000)] 
bitbake: toaster: tables Set a default order for the software recipes table

Add default order by recipe name, so that the table content is sorted
when the page loads.

[YOCTO #8791]

(Bitbake rev: 36cc814b64bcf3825ed096ade0b8c590e497259f)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: rework checking of Django version
Ed Bartosh [Thu, 10 Dec 2015 03:56:43 +0000 (19:56 -0800)] 
bitbake: toaster: rework checking of Django version

Checked django version considering information from
toaster-requirements.txt, e.g. if requirements file contains
line "Django>1.8,<1.9" toaster should be able to check that
requirement correctly.

(Bitbake rev: 49976eca4a6e37e7653814c569badcd3e0fb719a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>