Commit Graph

458 Commits

Author SHA1 Message Date
Armin Kuster
ff387178b3 openwsman: fix fetch error.
ERROR: openwsman-2.6.2-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/Openwsman/openwsman.git;protocol=http'. Unable to fetch URL from any source.

removed "protocol=http"

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:58 +02:00
Nobuhiro Iwamatsu
9405f930b2 libmodbus: update to upstream develop version 3.1.4
Rename recipe then change md5sum and sha256sum.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:57 +02:00
Martin Jansa
c5988658eb libgxim: add intltool-native dependency
* fixes:
  | configure.ac:18: error: possibly undefined macro: AC_PROG_INTLTOOL

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:21:39 +02:00
Jeremy Puhlman
1d41fe47e4 mozjs: Fix incorrect usage of PN.
When building mutlilib, using ${PN} in the middle of the package name
creates incorrect package names:

lib32-liblib32-mozjs
lib32-liblib32-mozjs.shlibdeps

Which in turn breaks license.bbclass during image creation.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-08 13:46:50 +02:00
mingli.yu@windriver.com
f9f857807d efivar: add COMPATIBLE_HOST item
* Add COMPATIBLE_HOST item to avoid build error
  on mips and ppc as efivar actually a UEFI tool
  which is specific to x86 and arm.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:01:00 +02:00
mingli.yu@windriver.com
9bf3e362e7 collectd: replace deprecated readdir_r() with readdir()
* Replace the usage of readdir_r() with readdir()
  to address a compilation error under glibc 2.24
  due to the deprecation of readdir_r

| ../../collectd-5.5.0/src/vserver.c: In function 'vserver_read':
| ../../collectd-5.5.0/src/vserver.c:167:3: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations]
|    status = readdir_r (proc, (struct dirent *) dirent_buffer, &dent);
|    ^~~~~~
| In file included from /buildarea4/myu2/build/prj_test_20160722/bitbake_build/tmp/sysroots/qemux86/usr/include/features.h:368:0,
|                  from /buildarea4/myu2/build/prj_test_20160722/bitbake_build/tmp/sysroots/qemux86/usr/include/stdio.h:27,
|                  from ../../collectd-5.5.0/src/daemon/collectd.h:34,
|                  from ../../collectd-5.5.0/src/vserver.c:29:
| /buildarea4/myu2/build/prj_test_20160722/bitbake_build/tmp/sysroots/qemux86/usr/include/dirent.h:189:12: note: declared here
|  extern int __REDIRECT (readdir_r,
|             ^

  [1]https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7584a3f96de88d5eefe5d6c634515278cbfbf052;hp=8d9c92017d85f23ba6a2b3614b2f2bcf1820d6f0

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:58 +02:00
Kai Kang
06e58b6f54 cfengine: add recipe and base policy
Add recipes of cfengine and cfengine-masterfiles which provides base
policy files.

There are 3 optional database backend: qdbm, tokyocabinet and lmdb with
descending priority. Package tokyocabinet is released as a rework of
qdbm by same upstream author, so it is choosen to be default database
backend.

See:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452657

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:56 +02:00
Pascal Bach
d24e984e28 p7zip: update to version 15.14.1
The copying.txt file contains white space changes and the address of the
Free Software Foundation mentioned in the LGPLv3.1 changed from:
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
to:
59 Temple Place, Suite 330, Boston, MA  02111-1307
otherwise the license text remains unchanged.

An additional License.txt containing top level license information is now
also covered by LIC_FILES_CHKSUM

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:20:04 +02:00
Derek Straka
47e84b3686 tcsh: fix the wait definition to support gcc6
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-15 12:13:16 +02:00
Stephen Arnold
af6af8621e redis: fix hiredis build so it's less failure-prone and links properly
This patch resets the default OPT flags to -O2 and adds the missing
ranlib command to index the static library.

Signed-off-by: Stephen Arnold <sarnold@vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-15 12:13:14 +02:00
Martin Jansa
25a78e55e9 abiword, fbreader, tvheadend, glmark2, libqmi, modemmanager, thrift, wvdial, wvstreams, dt, collectd, gtkmathview, tcsh, glcompbench, geos, libspatialite, geis, grail, opencv, openwbem, fwts: blacklist, fails to build with gcc-6 or glibc-2.24
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 19:06:44 +02:00
Martin Jansa
25e9400103 fwts: Remove 14.09.00, newer 14.12.00 is in recipes-test
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 19:06:43 +02:00
Alexander Kanavin
f0de8ed2c3 cmpi-bindings: fix build with python 3
This recipe seemed to have a floating dependency on Python 3, so
let's make it fixed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:26 +02:00
Alexander Kanavin
f9ce43cdf6 Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipes
They are no longer required to build python software.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:25 +02:00
Hongxu Jia
0cce9fee04 efivar-native: fix compile failure with older host gcc (<=4.6)
While host gcc version is 4.6.3 in ubuntu 1204, it
did not recognize -std=gnu11 and -Wmaybe-uninitialized.

While host gcc version is 4.4.7 in centos6, it
did not recognize -std=gnu11, -Wmaybe-uninitialized,
and -flto.

For native build, use -std=gnu99 to replace -std=gnu11,
and directly remove -Wmaybe-uninitialized and -flto.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:24 +02:00
Christopher Larson
b22c290e42 openlmi-networking: add missing dep on konkretcmpi-native
Without it, we can hit errors like:

    | CMake Error at .../build/tmp/sysroots/qemux86-64/usr/share/cmake/Modules/OpenLMIMacros.cmake:105 (message):
    |   KonkretCMPI failed: No such file or directory

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-27 15:39:09 +02:00
Robert Yang
daf619ec4c rrdtool: only unset PERLHOSTLIB in do_configure
The do_compile requires it, otherwise it can't find the native module
correctly when perl-native is mirrored from another build.

Fixed:
| Compilation failed in require.
| BEGIN failed--compilation aborted.
| Can't locate loadable object for module File::Glob in @INC

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:40 +02:00
Hongxu Jia
c9c82d313e efivar: fix unknown option while gold linker used
- Use '-fPIC' to replace 'PIC';

- Use 'pie' to replace 'PIE'

- Remove unknown '--add-needed'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:39 +02:00
Hongxu Jia
beac69f84e efibootmgr: sync with upstream while efivar upgraded to 0.23
Sync with upstream to have the following fix:
...
commit 53aa9cdf7f0746f91f39521d020b024103041384
Author: Peter Jones <pjones@redhat.com>
Date:   Thu Mar 3 09:50:03 2016 -0500

    Explicitly pass a mode to efi_set_variable() in all cases.

    We'll have to do this for efivar-0.24 .

    Signed-off-by: Peter Jones <pjones@redhat.com>
...

It fixed compile failure:
...
efibootmgr.c: In function 'make_boot_var':
efibootmgr.c:305:7: error: too few arguments to function 'efi_set_variable'
  rc = efi_set_variable(boot->guid, boot->name, boot->data,
       ^
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:39 +02:00
Hongxu Jia
f0a1e61c47 efivar: fix do_install failed
It fixes efivar.pc not found:
...
| install -d -m 755 efivar/0.23-r0/image/usr/lib/pkgconfig/
| install -m 644 efivar.pc efivar/0.23-r0/image/usr/lib/pkgconfig/
;  install -m 644 efiboot.pc efivar/0.23-r0/image/usr/lib/pkgconfig/
;
| install: cannot stat 'efivar.pc': No such file or directory
| install: cannot stat 'efiboot.pc': No such file or directory
| make[1]: *** [install] Error 1
| make[1]: Leaving directory `efivar/0.23-r0/git/src'
| make: *** [install] Error 2
| ERROR: oe_runmake failed
...

Also sync with latest upstream

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:39 +02:00
Koen Kooi
d68c687673 efibootmgr: update and unblacklist
Also fix style issues.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:38 +02:00
Koen Kooi
fe4cb8b072 efivar: update to 0.23
Upstream removed the use of the nvme headers completely,
so no more conflicts. Also drop gcc options patch, ubuntu
12.04 is too old to support in meta-oe/master.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-19 12:02:38 +02:00
Qi.Chen@windriver.com
be3d4c05e3 rrdtool: fix do_configure failure on some hosts
On some hosts, when building rrdtool, we would meet do_configure error like
below.

| *** Module name IN: /usr/lib64/perl/5.22.0/POSIX.pm
| *** p1: /usr/lib64/  p3: perl/5.22.0/  p5: POSIX.pm
| *** Module name OUT: /path/to/builddir/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.22.1/POSIX.pm
| POSIX object version 1.53_01 does not match $POSIX::VERSION 1.53 at /usr/lib64/perl/5.22.0/XSLoader.pm line 108.

Set PERLHOSTLIB to "" to fix the above error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:26 +02:00
Martin Jansa
1bd027eba4 sblim-sfcb: add missing dependency on unzip-native
* otherwise configure fails with:
  | checking whether to build shared libraries... yes
  | checking whether to build static libraries... no
  | checking for unzip... no
  | configure: error: Could not find unzip
  | NOTE: The following config.log files may provide further information.
  | NOTE: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/sblim-sfcb/1.4.9-r0/build/config.log
  | ERROR: configure failed
  | ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/sblim-sfcb/1.4.9-r0/temp/log.do_configure.9838)
  NOTE: recipe sblim-sfcb-1.4.9-r0: task do_configure: Failed
  ERROR: Task 5 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb, do_configure) failed with exit code '1'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:22 +02:00
Eduardo Silva
c16b6e686b fluentbit: add new recipe
Fluent Bit is an open source data collector for Embedded Linux, this
patch adds the recipe for version 0.7.2.

  Project web site: http://fluentbit.io
  Documentation   : http://fluentbit.io/documentation/

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:38:33 +02:00
Mark Asselstine
6fbaf07c2b mozjs: fix configure host contamination
When building mozjs the following error was observed

| Traceback (most recent call last):
|   File "./config.status", line 9, in <module>
|     from ConfigStatus import config_status
|   File "/build/bitbake_build/tmp/work/corei7-64-wrs-linux/mozjs/17.0.0-r0/mozjs17.0.0/js/src/build/ConfigStatus.py", line 11, in <module>
|     import sys, re, os, posixpath, ntpath
|   File "/usr/lib/python2.7/ntpath.py", line 15, in <module>
|     from genericpath import _unicode
| ImportError: cannot import name _unicode
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /build//bitbake_build/tmp/work/corei7-64-wrs-linux/mozjs/17.0.0-r0/temp/do_configure/log.do_configure.1056

Note the host paths found in the error msg. Further this issue can be
explored using the host python, which will not error when attempting
the above import, and the python in the sysroot, which will fail when
we attempt the import.

By inheriting pythonnative we ensure the proper paths are set to avoid
this host contamination.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:56 +02:00
Li xin
1e17ae18fa mozjs_17.0.0.bb: Fix do_srpm error
The function do_sourceclean() will lead to do_srpm failed, so use
do_unpack instead.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:40 +02:00
Ross Burton
21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Koen Kooi
d95712f0fa mozjs: fix armeb builds
The mozjs builds fails on armeb, so add a define to make it work.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:36 +02:00
Pascal Bach
1eac35d508 libmodbus: add support for the libmodbus development release
libmodbus has two release streams:
- stable: which currently is 3.0.x and does only receive fixes
- development: 3.1.x which receives new features and according to upstream is also very stable

Some users require access to the newer features.
So a recipe for the development branch but leave the stable branch the default.
This is similar to what is done for the nginx recipe which also has two release streams.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:20 +02:00
Yannick Gicquel
c7cb15542e p7zip: add native extend
This add a support for native build of 7za, 7z and 7zr binaries.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-12 11:07:44 +02:00
Alexander Kanavin
2ba35c90c0 polkit: fix gobject introspection support
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:31 +01:00
Martin Jansa
df7242fddb recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* Using "cp -a" leaks UID of user running the builds, causing
  many QA warnings.
* See this thread for details:
  http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:22 +01:00
Armin Kuster
b75c17813e acpitool: Add package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-02 00:02:46 +01:00
Andreas Müller
1fbdf4feb9 gtkmathview: fix and unblacklist
do_configure_prepend/sed can be removed: configure.ac does not contain
'AM_BINRELOC' anymore.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-02 00:02:45 +01:00
Martin Jansa
90d51ea3cd efibootmgr: blacklist, depends on blacklisted efivar
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-27 20:43:20 +01:00
Martin Jansa
9121dc9567 efivar: blacklist until nvme_ioctl.h issues are resolved
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:30 +01:00
Martin Jansa
27bb27f878 zsh: Explicitly set EXTRA_OEMAKE as required
* This recipe currently relies on EXTRA_OEMAKE having been to set to
  "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make
  this explicit so that the default in bitbake.conf can be changed.
* Unfortunately the build doesn't fail, it just produces almost empty
  output and QA warning is shown:
  WARNING: zsh-5.0.5-r0 do_package: QA Issue: zsh: Files/directories
  were installed but not shipped in any package:
    /usr
  Please set FILES such that these items are packaged. Alternatively if
  they are unneeded, avoid installing them or delete them within
  do_install.
  zsh: 1 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:30 +01:00
Martin Jansa
3ba313d33e zsh: fold .inc into .bb
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:28 +01:00
Martin Jansa
2f13cedf4b gtkmathview, abiword: Blacklist
* http://errors.yoctoproject.org/Errors/Details/35122/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:24 +01:00
Fabio Berton
1bc81c088d testfloat: Add recipe for version 3a
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:22 +01:00
Armin Kuster
0408ccd6f0 lssci: Add package
The lsscsi command lists information about SCSI devices in Linux

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:49 +01:00
Tudor Florea
d74d33e1e4 rsyslog: add tls related tests
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:16:54 +01:00
Tudor Florea
f3e06eeb77 rsyslog: avoid deprecated GnuTLS functions
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:16:54 +01:00
Mike Crowe
8033474218 rarpd: Explicitly set EXTRA_OEMAKE as required
This recipe currently relies on EXTRA_OEMAKE having been to set to "-e
MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:16:38 +01:00
Roy Li
4497ee4349 libx86-1: port a patch to make it work
port a patch from libx86-1.1-21.fc23.src.rpm, and make libx86-1 be able to work
and assume zero which return by LRMI_common_init is valid address

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-01 15:58:04 +01:00
Khem Raj
8404784b35 polkit: Fix build with musl
Make features like netgroup optional, these are not supported by posix
secondly they are poked at during configure so nothing changes for glibc
based systems but it helps compiling with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-01 15:58:04 +01:00
Robert Yang
5e99b0dc87 scsirastools: remove inherit autotools_stage
The autotools can instead of it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-01 15:31:26 +01:00
Yi Zhao
e27a8ed92b logwatch: fix host-user-contaminated
Fix QA warning:
WARNING: QA Issue: logwatch: /logwatch/usr/share/logwatch/scripts/services/resolver is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-27 12:36:32 +01:00
Martin Jansa
2bd11da4b5 recipes: remove recipes using or depending on qt4 bbclasses or recipes
* anki is removed because it runtime depends on python-pyqt, other
  recipes are inheriting one of bbclasses removed from oe-core in:
  commit cb89d2b25b4edb1241bc5426a69a6bc44df9be2c
  Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
  Date:   Fri Nov 27 15:48:20 2015 +0200

      qt4: remove recipes and classes
* if you're still using one of these recipes add it to meta-qt4 layer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:30:15 +01:00