aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-08-23perl: partial upgrade from 5.24.1 to 5.26.0lsandov1/perl-5.26.0Leonardo Sandoval
This is compilation issue obseved DEBUG: Executing shell function do_compile NOTE: make -j 88 -e MAKEFLAGS= perl LD=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot Perl cross-build directory is /home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0/Cross Target arch is i586-linux toolchain: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot, i586-poky-linux-g++ -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot, i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot, i586-poky-linux-strip, i586-poky-linux-ar, i586-poky-linux-ranlib Optimizations: -fexpensive-optimizations -fomit-frame-pointer -O2 /home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0/Cross/generate_config_sh config.sh-i586-linux > /home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0/Cross/../config.sh cd /home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0/Cross/.. ; ./Configure -S ; make depend ; make ; make more Fetching answers from config.sh... Doing variable substitutions on .SH files... Extracting config.h (with variable substitutions) cflags.SH: cc = i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot cflags.SH: ccflags = -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0=/usr/src/debug/perl/5.26.0-r0 -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot= -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 cflags.SH: stdflags = cflags.SH: optimize = -O2 cflags.SH: warn = -Wall Extracting cflags (with variable substitutions) Not re-extracting config.h Extracting makedepend (with variable substitutions) linux libraries overwritten by cross-compile patches Extracting Makefile (with variable substitutions) Extracting myconfig (with variable substitutions) Extracting pod/Makefile (with variable substitutions) Extracting Policy.sh (with variable substitutions) Extracting runtests (with variable substitutions) Extraction done. make[1]: Entering directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot -c -DPERL_CORE -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0=/usr/src/debug/perl/5.26.0-r0 -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot= -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC generate_uudmap.c gcc -o generate_uudmap generate_uudmap.c ./generate_uudmap uudmap.h bitcount.h mg_data.h sh ./makedepend MAKE="make" cflags make[2]: Entering directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' rm -f opmini.c /bin/ln -s op.c opmini.c rm -f perlmini.c /bin/ln -s perl.c perlmini.c echo av.c scope.c op.c doop.c doio.c dump.c gv.c hv.c mg.c reentr.c mro_core.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c taint.c toke.c util.c deb.c run.c universal.c pad.c globals.c keywords.c perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c caretx.c dquote.c time64.c miniperlmain.c opmini.c perlmini.c | tr ' ' '\n' >.clist make[2]: Leaving directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' Finding dependencies for av.o Finding dependencies for scope.o Finding dependencies for op.o Finding dependencies for doop.o Finding dependencies for doio.o Finding dependencies for dump.o Finding dependencies for gv.o Finding dependencies for hv.o Finding dependencies for mg.o Finding dependencies for reentr.o Finding dependencies for mro_core.o Finding dependencies for perl.o Finding dependencies for perly.o Finding dependencies for pp.o Finding dependencies for pp_hot.o Finding dependencies for pp_ctl.o Finding dependencies for pp_sys.o Finding dependencies for regcomp.o Finding dependencies for regexec.o Finding dependencies for utf8.o Finding dependencies for sv.o Finding dependencies for taint.o Finding dependencies for toke.o Finding dependencies for util.o Finding dependencies for deb.o Finding dependencies for run.o Finding dependencies for universal.o Finding dependencies for pad.o Finding dependencies for globals.o Finding dependencies for keywords.o Finding dependencies for perlio.o Finding dependencies for perlapi.o Finding dependencies for numeric.o Finding dependencies for mathoms.o Finding dependencies for locale.o Finding dependencies for pp_pack.o Finding dependencies for pp_sort.o Finding dependencies for caretx.o Finding dependencies for dquote.o Finding dependencies for time64.o Finding dependencies for miniperlmain.o Finding dependencies for opmini.o Finding dependencies for perlmini.o Updating makefile... make[1]: Leaving directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' make[1]: Entering directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' echo @`sh cflags "optimize='-O2'" opmini.o` -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c @i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot -c -DPERL_CORE -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0=/usr/src/debug/perl/5.26.0-r0 -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/recipe-sysroot= -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -Wall -fPIC -DPERL_IS_MINIPERL -DPERL_EXTERNAL_GLOB opmini.c In file included from perl.h:28:0, from op.c:163: config.h:1962:3: error: invalid preprocessing directive #LONG_DOUBLE_STYLE_IEEE # LONG_DOUBLE_STYLE_IEEE ^~~~~~~~~~~~~~~~~~~~~~ config.h:1963:3: error: invalid preprocessing directive #LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE # LONG_DOUBLE_STYLE_IEEE_DOUBLEDOUBLE ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.h:1964:3: error: invalid preprocessing directive #LONG_DOUBLE_STYLE_IEEE_EXTENDED # LONG_DOUBLE_STYLE_IEEE_EXTENDED ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.h:1965:3: error: invalid preprocessing directive #LONG_DOUBLE_STYLE_IEEE_STD # LONG_DOUBLE_STYLE_IEEE_STD ^~~~~~~~~~~~~~~~~~~~~~~~~~ config.h:1966:3: error: invalid preprocessing directive #LONG_DOUBLE_STYLE_VAX # LONG_DOUBLE_STYLE_VAX ^~~~~~~~~~~~~~~~~~~~~ In file included from perl.h:28:0, from op.c:163: config.h:2890:3: error: invalid preprocessing directive #HAS_GAI_STRERROR # HAS_GAI_STRERROR /**/ ^~~~~~~~~~~~~~~~ config.h:3269:3: error: invalid preprocessing directive #HAS_QUERYLOCALE # HAS_QUERYLOCALE /**/ ^~~~~~~~~~~~~~~ config.h:3270:3: error: invalid preprocessing directive #I_XLOCALE # I_XLOCALE /**/ ^~~~~~~~~ config.h:3529:3: error: invalid preprocessing directive #HAS_STRERROR_L # HAS_STRERROR_L /**/ ^~~~~~~~~~~~~~ config.h:3714:3: error: invalid preprocessing directive #DEFAULT_INC_EXCLUDES_DOT # DEFAULT_INC_EXCLUDES_DOT /**/ ^~~~~~~~~~~~~~~~~~~~~~~~ config.h:4048:3: error: invalid preprocessing directive #DOUBLE_HAS_INF # DOUBLE_HAS_INF ^~~~~~~~~~~~~~ config.h:4049:3: error: invalid preprocessing directive #DOUBLE_HAS_NAN # DOUBLE_HAS_NAN ^~~~~~~~~~~~~~ config.h:4050:3: error: invalid preprocessing directive #DOUBLE_HAS_NEGATIVE_ZERO # DOUBLE_HAS_NEGATIVE_ZERO ^~~~~~~~~~~~~~~~~~~~~~~~ config.h:4051:3: error: invalid preprocessing directive #DOUBLE_HAS_SUBNORMALS # DOUBLE_HAS_SUBNORMALS ^~~~~~~~~~~~~~~~~~~~~ config.h:4052:3: error: invalid preprocessing directive #DOUBLE_STYLE_CRAY # DOUBLE_STYLE_CRAY ^~~~~~~~~~~~~~~~~ config.h:4053:3: error: invalid preprocessing directive #DOUBLE_STYLE_IBM # DOUBLE_STYLE_IBM ^~~~~~~~~~~~~~~~ config.h:4054:3: error: invalid preprocessing directive #DOUBLE_STYLE_IEEE # DOUBLE_STYLE_IEEE ^~~~~~~~~~~~~~~~~ config.h:4055:3: error: invalid preprocessing directive #DOUBLE_STYLE_VAX # DOUBLE_STYLE_VAX ^~~~~~~~~~~~~~~~ makefile:312: recipe for target 'opmini.o' failed make[1]: *** [opmini.o] Error 1 make[1]: Leaving directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' make[1]: Entering directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' rm -f pod/perl5260delta.pod /bin/ln -s perldelta.pod pod/perl5260delta.pod ./miniperl -Ilib autodoc.pl make[1]: ./miniperl: Command not found makefile:421: recipe for target 'pod/perlintern.pod' failed make[1]: *** [pod/perlintern.pod] Error 127 make[1]: Leaving directory '/home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/perl-5.26.0' Makefile:37: recipe for target 'perl' failed make: *** [perl] Error 2 ERROR: oe_runmake failed WARNING: /home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/temp/run.do_compile.157830:1 exit 1 from 'exit 1' ERROR: Function failed: do_compile (log file is located at /home/lsandov1/poky-testing/poky-perl-upgrade-5.26/build/tmp/work/i586-poky-linux/perl/5.26.0-r0/temp/log.do_compile.157830) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
2017-08-22perl-native: upgrade from 5.24.1 to 5.26.0Leonardo Sandoval
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
2017-08-18gpgme: remove local m4/python.m4Hongxu Jia
While multilib, the local m4/python.m4 incorrectly assigned am_cv_python_pyexecdir and am_cv_python_pythondir which caused the following error enabled: ... ERROR: gpgme-1.9.0-r0 do_package: QA Issue: gpgme: Files/directories were installed but not shipped in any package: /usr/lib/python3.5/site-packages/gpg-1.9.0-py3.5.egg-info ... (From OE-Core rev: f5c7e236582028638a26a5855d5e7ba0b55bb8f0) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18gpgme: 1.8.0 -> 1.9.0Hongxu Jia
Rebase patches: - pkgconfig.patch -> 0001 - python-lang-config.patch -> 0002 - 0001-Correctly-install-python-modules.patch -> 0003 - python-import.patch -> 0004 - 0001-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch -> 0005 (From OE-Core rev: b18a7adf8ce194b2dd3ce787228fb87c5ef3efde) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18build-appliance-image: Don't use COREBASE/LICENSE for checksummingSaul Wold
This file lists the licenses that the OE-Core meta data falls under but should not be used as a LIC_FILES_CHKSUM, use the MIT license file. (From OE-Core rev: e12fa3ac08962accb6585e2aa1c486e7852d174d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18mc: unify curses initializationHongxu Jia
Since ncurses upgraded to 6.0+20170715, it compile failed ... | ../../../mc-4.8.19/lib/tty/tty-ncurses.c:199:13: error: dereferencing pointer to incomplete type 'TERMINAL {aka struct term}' | cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */ | ^~ ... Backport a patch from upstream fixed the issue. (From OE-Core rev: fc89bfa89aa785871f7999f2835dbcea06e2823b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18connman: Remove musl patch that's no longer neededJussi Kukkonen
libc headers now have a backported patch that fixes this. (From OE-Core rev: 5dc1700ec6ff15aefb8ca540e5b7d3e89a14945b) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18packagefeed-stability.bbclass: change another bb.plain to bb.noteMing Liu
In commit 255caaad: [ packagefeed-stability.bbclass: change a bb.plain to bb.note ] I changed a bb.plain to bb.note to get a cleaner console, but there is still one more bb.plain left which I forgot to change. (From OE-Core rev: ccb96849e010883cb1cb4d384f017d05eb6bbcee) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18sqlite3: upgrade to 3.2.0Wenzong Fan
* Uprev from 3.19.3 to 3.2.0 for fixing CVE-2017-10989: The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blobs in a crafted database, leading to a heap-based buffer over-read or possibly unspecified other impact. https://nvd.nist.gov/vuln/detail/CVE-2017-10989 * LIC_FILES_CHKSUM updated for below changes: -** 2001 September 15 +** 2001-09-15 (From OE-Core rev: 95b802bfe74ac6a3f6dc05edb52c87ef90600f40) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18ncurses: 6.0+20161126 -> 6.0+20170715Hongxu Jia
Rebase patches: - tic-hang.patch -> 0001 - configure-reproducible.patch -> 0002 Drop fix-cflags-mangle.patch, which accepted by upstream ... commit 1b74f120ab7be89011408a6ad0f1c748a314bae8 Author: Sven Joachim <svenjoac@gmx.de> Date: Sun Feb 26 09:01:34 2017 +0100 Import upstream patch 20170225 20170225 + fixes for CF_CC_ENV_FLAGS (report by Ross Burton). ... (From OE-Core rev: a4ad0703e1209fee6cd89bf74088931785c4d8c7) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18libgcrypt: 1.7.8 -> 1.8.0Hongxu Jia
Rebase patches: - add-pkgconfig-support.patch -> 0001 - libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch -> 0002 - fix-ICE-failure-on-mips-with-option-O-and-g.patch -> 0003 - fix-undefined-reference-to-pthread.patch -> 0004 (From OE-Core rev: b90037da8754009ca7cf2ab996b46b3dae1eb204) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18elfutils: 0.168 -> 0.170Hongxu Jia
The 0.170 Fixed CVE issues - CVE-2017-7608 - CVE-2017-7612 - CVE-2017-7611 - CVE-2017-7610 - CVE-2016-10255 - CVE-2017-7613 - CVE-2017-7609 - CVE-2016-10254 - CVE-2017-7607 Rebase patches to 0.170 - dso-link-change.patch -> 0001 - Fix_elf_cvt_gunhash.patch -> 0002 - fixheadercheck.patch -> 0003 - 0001-remove-the-unneed-checking.patch -> 0004 - 0001-fix-a-stack-usage-warning.patch -> 0005 - aarch64_uio.patch -> 0006 - shadow.patch -> 0007 - 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch -> 0008 - debian/mips_backend.diff -> debian/mips_backend.patch Drop obsolete patches - 0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch Upstream fixed it https://sourceware.org/git/?p=elfutils.git;a=commit;h=7114c513fbebcca8b76796b7f64b57447ba383e1 - Fix_one_GCC7_warning.patch It is a backported patch https://sourceware.org/git/?p=elfutils.git;a=commit;h=93c51144c3f664d4e9709da75a1d0fa00ea0fe95 - Drop debian patches, they modify test case. debian/testsuite-ignore-elflint.diff debian/kfreebsd_path.patch debian/hurd_path.patch debian/ignore_strmerge.diff (From OE-Core rev: 4ca17f9275c81f27498b7ac07d9fe7e8193fdd71) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18dhcp: 4.3.5 -> 4.3.6Hongxu Jia
1. Rebase patches to 4.3.6 - define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.patch -> 0001 - dhcp-3.0.3-dhclient-dbus.patch -> 0002 - link-with-lcrypto.patch -> 0003 - fixsepbuild.patch -> 0004 - dhclient-script-drop-resolv.conf.dhclient.patch -> 0005 - 0001-site.h-enable-gentle-shutdown.patch -> 0006 - libxml2-configure-argument.patch -> 0007 - tweak-to-support-external-bind.patch -> 0008 - remove-dhclient-script-bash-dependency.patch -> 0009 - build-shared-libs.patch -> 0010 - Moved-the-call-to-isc_app_ctxstart-to-not-get-signal.patch -> 0011 2. Drop search-for-libxml2.patch It is overrided by libxml2-configure-argument.patch 3. Rework dhclient-script-drop-resolv.conf.dhclient.patch and Drop replace-ifconfig-route.patch. vim client/scripts/linux ... Script refresh in 2017. The aliasing code was too convoluted and needs to go away. Migrated DHCPv4 script to ip command from iproute2 suite. This is based on Debian script with some tweaks. ifconfig is no longer used. Everything is done using ip tool from ip-route2. ... (From OE-Core rev: 77878d2e6e8f36afa9a0fde8a6f0f955c84a5e5c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18apr-util: 1.5.4 -> 1.6.0Hongxu Jia
Drop backported openssl-1.1.patch (From OE-Core rev: a67800e01b9b383d2f887a82de3075b2ef234648) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18cross-canadian.bbclass: add ilp32 supportVishal Bhoj
Need to add ilp32 to known list of abi variants (From OE-Core rev: 6c5e50d26cbb9172d7264e7a8fed3edf0c0e8414) Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18package.bbclass: support persistent /var/logChen Qi
Add a new file, fs-perms-persistent-log.txt, which treats /var/log as a directory instead of a link. Modify package.bbclass to use this file if VOLATILE_LOG_DIR is set to boolean false value. [YOCTO #6132] (From OE-Core rev: 6b22e247bf91f112401cad822cd7fe0b5621ffe0) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18initscripts: support persistent /var/logChen Qi
Respect VOLATILE_VAR_LOG variable so that if it's set to any valid boolean false value, we could have persistent /var/log on the final image. [YOCTO #6132] (From OE-Core rev: 50914c4a84e0fb6b9bf6bb1864a2d653218753ce) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18base-files: respect VOLATILE_LOG_DIRChen Qi
Respect VOLATILE_LOG_DIR variable. In this way, if the user overrides this variable to be any valid boolean false value, /var/log on the final image would reside on persistent storage. [YOCTO #6132] (From OE-Core rev: fc19114ca409fc3178ae5cbb44db875b12eeedfc) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18bitbake.conf: add VOLATILE_LOG_DIR variableChen Qi
The default value is "yes" which results in the /var/log being a link pointing to /var/volatile/log which is on tmpfs. Setting valid boolean false value ('no', 'n', 'false', 'f', '0') would make /var/log to be a directory on persistent storage. [YOCTO #6132] (From OE-Core rev: 016bafce52f74462dc8f21a1c1b43ba2e6e59442) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18shadow: fix CVE-2017-12424Chen Qi
Backport a patch to fix CVE-2017-12424. In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Reference link: https://nvd.nist.gov/vuln/detail/CVE-2017-12424 CVE: CVE-2017-12424 (From OE-Core rev: 896495d4d2a9751e6e013a3498293b2443d7d809) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18nss: 3.30.2 -> 3.31.1Kai Kang
Upgrade nss from 3.30.2 to latest stable version 3.31.1. * remove 0001-Fix-warnings-found-with-gcc7.patch which is not needed now (From OE-Core rev: 86838f1c06002a62ded12a9a66d1eb82093c85a9) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18harfbuzz: upgrade to 1.4.8Maxin B. John
1.4.7 -> 1.4.8 (From OE-Core rev: f6f6d138028669acdbcfcce47afb3e9807d8db33) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18screen: upgrade to 4.6.1Maxin B. John
Removed following patch as the parallel make issue was fixed upstream: * fix-parallel-make.patch (From OE-Core rev: 76c9ba6b3f7c0aecb00b7d9c0a1aace3f80d8b48) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18ruby: fix CVE-2017-9224Joe Slater
Use DATA_ENSURE(1) before access. (From OE-Core rev: 9db907a0bd331c47c4882b82f9f1d2a7ef1f6d1f) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18python3-native: Add python3-misc-native to RPROVIDESFabio Berton
OE-core commit 800753069f667cd1664d70b3779150c467e3b3fe remove RPROVIDES list to get runtime dependences from manifest file. python3-misc is added in python3 recipe, we need to add native runtime to use python3-misc with native recipes. (From OE-Core rev: 31fd20811f6d11e7ed6ac84caf776ac46cd6fb6f) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18mkelfimage: Make -fno-stack-protector effectiveKhem Raj
mkelfimage uses different flags to compile as freestanding binary it does not pour CFLAGS into them during configure as a result -fno-stack-protector was never used. Which failed to build with compilers configured to build with ssp by default. It worked with gcc since we do not configure our toolchain to default to ssp Fixes errors e.g. | objdir/linux-i386/convert_params.o: In function `convert_params': | linux-i386/convert_params.c:(.text+0x9f4): undefined reference to `__stack_chk_fail' | objdir/linux-i386/convert_params.o: In function `compute_checksum': | linux-i386/convert_params.c:(.text+0xa71): undefined reference to `__stack_chk_fail' | objdir/linux-i386/convert_params.o: In function `printf': | linux-i386/convert_params.c:(.text+0xcc7): undefined reference to `__stack_chk_fail' | make: *** [linux-i386/Makefile:24: objdir/linux-i386/convert] Error 1 (From OE-Core rev: f6ed82482838e34202721be8f40ca1cc340c325e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18rpm: Disable perl dependency generationMark Hatle
When rpmdeps files a perl script, it attempts to determine what it provides and what it requires. Often the requires are incorrect, within the context of Wind River Linux. This results in an error that DNF is unable to install a package due to one or more unresolved dependencies. In RPM5 we had disabled this behavior, the alternative is to require that all perl scripts be 'complete', in that they only require things they absolutely need and that OE provides. If we ever enforce that, this commit can be reverted. Until they fall back to prior behavior (which also matches ipkg and deb style packages.) (From OE-Core rev: 99376f602c997fec96dbb28ddbe3fa5f68fde2c3) (From OE-Core rev: 586875cea5769fea7d17bae2677eab72e4fc7e31) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18package.bbclass: Restore functionality to detect RPM dependenciesPeter Kjellerstedt
During the transition to dnf and rpm4, the functionality to automatically make RPM determine dependencies was lost. Before the transition, an OE specific tool called rpmdeps-oecore had been added to the rpm suit. It was based on the rpmdeps tool that is part of rpm. For each file specified on its command line, it would output the provides and requires that RPM could determine. During the transition to rpm4, rpmdeps-oecore was replaced with the standard rpmdeps. However, what no one noticed was that unless rpmdeps is given options, e.g., -P or -R, to tell it what it should output, it will not output anything. Thus, it would do all the work to determine the requirements, but would keep silent about it. And since no output from rpmdeps is expected unless there are requirements, there were no warnings indicating that everything was not working as expected. Porting the old rpmdeps-oecore to work with rpm4 is not really possible since it relied on being able to access internals of RPM that are no longer available. However, it turned out that rpmdeps had a debug option, --rpmfcdebug, that would output exactly the information that we need, albeit in a different format and to stderr. To make this usable, rpmdeps has now received a new option, --alldeps, which sends the information we need to stdout. (From OE-Core rev: 958501b3d9201aaabb81ec644c6049e0c9b737e7) (From OE-Core rev: bf017930036f19b3d6df8e5b50d9979ee7045c5c) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18ltp: Skip the filedependency scanMark Hatle
Since LTP includes a set of test cases, we need to skip file dependency generation, as there will be dependencies that can not be satisfied. In this case a csh and ksh dependency come from two tests. The alternative would be to depend on csh/ksh (a bad idea as they're not available in oe-core) or remove the tests (but this eliminates the tests if someone DOES have csh/ksh in their configurations.) (From OE-Core rev: 8c4dcdfa9d5a37acb6f492b1cf0e40a403e5fbe9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18openssl: Add missing bash/python rdepends for ptestRichard Purdie
ERROR: openssl-1.1.0f-r0 do_package_qa: QA Issue: /usr/lib/openssl/ptest/fuzz/helper.py contained in package openssl-ptest requires /usr/bin/python, but no providers found in RDEPENDS_openssl-ptest? [file-rdeps] ERROR: openssl-1.1.0f-r0 do_package_qa: QA Issue: /usr/lib/openssl/ptest/test/certs/mkcert.sh contained in package openssl-ptest requires /bin/bash, but no providers found in RDEPENDS_openssl-ptest? [file-rdeps] (From OE-Core rev: 7e70d0673df20669edd18b79ae065d8c2f655b8a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-18bind: Use correct python interpreter pathRichard Purdie
The scripts currently reference "python33", fix this so they reference python3. The move the python3 likely broke these. (From OE-Core rev: 1a734f037da37d14f780970a9532d1e2e3683bf8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17poky: Add nios2 to list of qemu targetsJuro Bystricky
(From meta-yocto rev: 06ae3f42c40fef98685d449711b91bb697d6b386) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17image.bbclass: drop initramfs bundle related codeMing Liu
The original purpose of this code snippet was to repackage initramfs bundled kernel images before do_image_complete, to be able to be included by rootfs, but it's not going to achieve that since the initramfs bundled kernel images are not even installed to ${D}/boot after commit a49569e3a7534779bbe3f01a0647fd076c95798d: [ kernel.bbclass: do not copy bundled initramfs to /boot ] So there is not a initramfs bundled kernel package at all, we should drop the code, because it is leading kernel do_initramfs_bundle unnecessarily rerun and it's very time consuming and hence is impacting the performance a lot. (From OE-Core rev: eca501aeb4f2cc9255fabab14c68f6910367aaf9) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17qemu: upgrade to 2.10-rc2Juro Bystricky
In order to support Nios2 emulation by QEMU, we need at least QEMU version 2.9. (From OE-Core rev: f2d725d9268563f7bbcac770a34aceacb56cb2aa) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17gmp: improve reproducibilityJuro Bystricky
Remove references to the host build system from generated/packaged header file gmp.h. The file ends up in two different packages (libgmp-dev, libgmp-dbg). Rather then modifying the file twice in two different destinations after the installation, we modify the file gmp.h only once, but before the installation. [YOCTO #11922] (From OE-Core rev: 693b42115e2f61abc9ca6096445dc494648cacb6) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17cairo: Add pkgconfig for opengl supportKhem Raj
(From OE-Core rev: b952a80b6e520588454924ab0534ba7e370eaaca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17musl: Update to latest masterKhem Raj
visibility is no more auto but disabled by default we do not require to disable it explicitly. * fix build failure for sh4a due to missing colon in asm statement * trap UB from attempts to join a detached thread * ppc64: fix setjmp/longjmp handling of TOC pointer * qsort: add a short comment about the algorithm * disable global visibility override hack (vis.h) by default * add _NL_LOCALE_NAME extension to nl_langinfo (From OE-Core rev: 82c0f16dbdd1a44438e8536a598277efed909b3c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17gstreamer1.0-plugins-bad: do not provide a fallback to openssl 1.0Alexander Kanavin
This does not work as intended: enabling either of the alternatives causes the other alternative to append a --disable-hls flag to configure. Anyone needing openssl 1.0 should set it up manually via EXTRA_OECONF_append or similar. (From OE-Core rev: d2562cfe4517d85328e961f968db2c7cd3c6c6f2) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17gst-player: remove workaround which disable visualizationsMaxin B. John
As we upgrade to libva 1.8.3, we can remove the workaround patch which disables visualizations in gst-player: 1. 0001-gtk-play-Disable-visualizations.patch Also remove the upstreamed patches: 1. filechooser.patch 2. Fix-pause-play.patch 3. Add-error-signal-emission-for-missing-plugins.patch Fixes [YOCTO #11437] (From OE-Core rev: 50f1902cb44724aa4b030e4e42b115231217acc9) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17libva: upgrade to 1.8.3Maxin B. John
1.7.3 -> 1.8.3 Remove upstreamed patch: 0001-wayland-Don-t-commit-and-ship-generated-files.patch Replace following patch by setting ac_cv_prog in EXTRA_OECONF: 0001-configure.ac-Use-wayland-scanner-in-PATH.patch The dummy driver was removed in 1.8.3 release. (From OE-Core rev: bcb77ab7f57a99284953a456399b90b6ed42e77d) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17libva-utils: add recipeMaxin B. John
Utilities and tests in the libva was spun-off as libva-utils during 1.8.0 release. libva-utils is a collection of utilities and examples to exercise VA-API in accordance with the libva project (From OE-Core rev: ab7f6ba2bab04bdfaa76a1de83806dbadc82fefa) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17libarchive: Remove xz packageconfig --with-lzmadec optionFabio Berton
--with-lzmadec option was removed in libarchive commit: 30e1b7efd472e0439bea14df6a2d19cd8b5ac15e See Github PR: https://github.com/libarchive/libarchive/pull/806 (From OE-Core rev: e1dda927d3734c0d272cfc7d99167498ca9d8f6d) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17liburi-perl: Upgrade to 1.72Aníbal Limón
(From OE-Core rev: a63c2e450da2627a831483ccaded4ef832848f5d) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17llvm: Swith to ARM ISA on armv5 and armv4tKhem Raj
When Thumb1 is used as default ISA, there are linker issues, therefore always use ARM ISA Fixes relocation truncated to fit: R_ARM_THM_CALL against symbol `__gnu_thumb1_case_uhi' defined in .text section (From OE-Core rev: a0c9d19b46ccefbb90eea5965e11ea21d13242b4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17package_rpm.bbclass: Filter out unwanted file deps for nativesdk packagesPeter Kjellerstedt
Filter out any file dependencies on absolute paths and any dependencies on Perl modules for nativesdk packages. It is assumed that they will be provided by the native host if needed, and they mess up the dependency handling if they are present. (From OE-Core rev: ce55e6c6d8b654b5fb21dec8180b471bfd33601a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17texinfo: Avoid a problem with a dependency on perl(Locale::gettext_xs)Peter Kjellerstedt
We do not build the Locale::gettext_xs Perl module and the code will test for it and happily use Locale::gettext_pp instead if it is not found. However, this still causes a file dependency on perl(Locale::gettext_xs) to be generated, which must be satisfied by adding an explicit provide for it. (From OE-Core rev: c1e16ac6aea0ec15b35d227814bbf137ac8de6c2) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17git: Do not install git cvsserver and git svn by defaultPeter Kjellerstedt
These git commands require Perl modules that do not exist in OE-Core. Add PACKAGECONFIGs to enable them. Be aware though that if you enable them you must also provide the missing dependencies. (From OE-Core rev: d7909007b2a912ae5adf01edfabaa8b8646369cd) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17rpm: Add dependencies on bash, perl and python3-corePeter Kjellerstedt
Also modify a Python script (pythondistdeps.py) to use Python 3. (From OE-Core rev: b2906dbebfd547a630a4eafdcbaa1ceefa5e257c) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17gpg_sign: perform rpm signing seriallyLeonardo Sandoval
gpg signing in file batches (which was default to 100) is a memory expensive computation, causing trouble in some host machines (even on production AB as seen on the bugzilla ID). Also, in terms of performance, there is no real gain when rpm signing is done in batches. Considering the latter issues, perform the rpm signing serially. Log showing errors observed recently at AB workers: | gpg: signing failed: Cannot allocate memory | gpg: signing failed: Cannot allocate memory | error: gpg exec failed (2) | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/core2-64-poky-linux/base-passwd/3.5.29-r0/deploy-rpms/core2_64/base-passwd-dev-3.5.29-r0.core2_64.rpm: [YOCTO #11914] (From OE-Core rev: d58b1d196f87128892b7b624bfb725afe01581f1) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-08-17packagegroup-self-hosted: include missing (pod2man scp ssh) RPEDENDS packagesLeonardo Sandoval
Otherwise, the following bitbake error is observed root@qemux86-64:~/openembedded-core/build# bitbake -e NOTE: Starting bitbake server... ERROR: Unable to start bitbake server ERROR: Last 10 lines of server log /home/root/openembedded-core/build/bitbake-cookerdaemon.log: File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 197, in __init__ self.initConfigurationData() File "/home/root/openembedded-core/bitbake/lib/bb/cooker.py", line 348, in initConfigurationData self.databuilder.parseBaseConfiguration() File "/home/root/openembedded-core/bitbake/lib/bb/cookerdata.py", line 323, in parseBaseConfiguration raise bb.BBHandledException bb.BBHandledException NOTE: Starting bitbake server... ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed: pod2man scp ssh (From OE-Core rev: 2ece64bf8cb8841e2e1db87d6c426f3f1637e8a7) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>