* based on discussion in pndeprecated thread:
https://patchwork.openembedded.org/patch/137573/
update the messages to warn possible users that the
recipe will be removed before the end of the next development
cycle (before Yocto 2.4 is released).
* updated with:
sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
DISTRO_FEATURES, so removed those:
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
meta-oe/recipes-navigation/gypsy/gypsy.inc
meta-oe/recipes-navigation/navit/navit.inc
meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb
* if it isn't fixed by this date, it's fair game to be removed
whenever someone gets around to i
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixes:
dlm-4.0.2: No GNU_HASH in the elf binary:
'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/dlm/4.0.2-r0/packages-split/dlm/usr/lib/libdlmcontrol.so.3.1'
No GNU_HASH in the elf binary:
'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/dlm/4.0.2-r0/packages-split/dlm/usr/sbin/dlm_tool'
No GNU_HASH in the elf binary:
'/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/dlm/4.0.2-r0/packages-split/dlm/usr/sbin/dlm_controld'
[ldflags]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* as shown in the log.do_compile:
cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]
* it's caused by Makefile doing:
DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include
LIBS=$(shell pkg-config --libs x11 xtst 2> /dev/null || echo "$(DEFAULT_LIBS)")
INC=$(shell pkg-config --cflags x11 xtst 2> /dev/null || echo "$(DEFAULT_INC)")
which always uses the DEFAULT_* since RSS, because there was no
pkg-config in the recipe sysroot
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixes:
No GNU_HASH in the elf binary:
'/tmp/work/armv5te-oe-linux-gnueabi/pngcheck/2.3.0-r0/packages-split/pngcheck/usr/bin/pngcheck'
[ldflags]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* I no longer use efl and don't plan to upgrade it to newer version
* someone else should step-up and start maintaining meta-efl
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 5.1.14 fails with default linux-yocto version:
CC [M] qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
.readlink = generic_readlink,
^~~~~~~~~~~~~~~~
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* otherwise we get the failure from do_install with useless log:
DEBUG: Executing shell function do_install
install: cannot stat 'vboxsf.ko': No such file or directory
WARNING: exit code 1 from a shell command.
* instead of the real issue like 5.1.14 currently has with default linux-yocto
version:
CC [M] qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.o
qemux86-oe-linux/vboxguestdrivers/5.1.14-r0/vbox_module/vboxsf/lnkops.c:93:23: error: 'generic_readlink' undeclared here (not in a function)
.readlink = generic_readlink,
^~~~~~~~~~~~~~~~
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* calls openssl
* I haven't checked what it does with openssl call, maybe it should
be modified to get the data from target openssl not native
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* some recipes might use xxd
* with stricter host binaries available in PATH:
http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html
we cannot use xxd from host and it's not so common to add it into
HOSTTOOL_NONFATAL
* there is also smaller solution for xxd -i (which is what I need):
https://github.com/gregkh/xxdi
but after creating xxdi-native recipe for this I've discovered that
perl on my host as well as perlnative doesn't provide File::Slurp
used by this, so adding BBCLASSEXTEND here is easier solution
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* add dependency on libcap to fix:
android-tools/5.1.1.r37-r0/git/system/core/adb/adb.c:39:28: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^
* add patch from buildroot to fix build with newer glibc and on
bit-endian systems
android-tools/5.1.1.r37-r0/git/system/core/adb/usb_linux_client.c:38:25: error: initializer element is not constant
#define cpu_to_le32(x) htole32(x)
^
* and also disable thumb to fix:
http://errors.yoctoproject.org/Errors/Details/133881/
* drop default apply=yes for the .patch files
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* this will fix mongodb build for x86
http://errors.yoctoproject.org/Errors/Details/90392/
which was failing because of missing --wiredtiger=off in qemux86 builds
* also we can drop DISABLE_STATIC, because now it's not leaking through
EXTRA_OECONF
* it will also resolve again autodetected dependencies on bluez, qt and
tcmalloc as shown in bitbake -e output:
env.gpsd-before:EXTRA_OESCONS=" sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 libQgpsmm='false' debug='true' strip='false' chrpath='yes' systemd='true' "
env.gpsd-after:EXTRA_OESCONS=" sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 libQgpsmm='false' debug='true' strip='false' chrpath='yes' systemd='true' bluez='true' qt='no' "
env.mongodb-before:EXTRA_OESCONS="--prefix=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0/image/usr LIBPATH=/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib LINKFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' \
CXXFLAGS='-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0=/usr/src/debug/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86= -fvisibility-inlines-hidden' \
TARGET_ARCH=i586 --ssl --disable-warnings-as-errors --use-system-pcre --use-system-zlib --js-engine=none --nostrip mongod mongos"
env.mongodb-after:EXTRA_OESCONS="--prefix=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0/image/usr LIBPATH=/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib LINKFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' \
CXXFLAGS='-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0=/usr/src/debug/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86= -fvisibility-inlines-hidden' \
TARGET_ARCH=i586 --ssl --disable-warnings-as-errors --use-system-pcre --use-system-zlib --js-engine=none --nostrip --use-system-tcmalloc --wiredtiger=off mongod mongos"
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixes autodetected dependencies
http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20160905_011801.log
chrony-2.4: chronyc rdepends on nss, but it isn't a build dependency, missing nss in DEPENDS or PACKAGECONFIG? [build-deps]
chrony-2.4: chrony rdepends on libcap, but it isn't a build dependency, missing libcap in DEPENDS or PACKAGECONFIG? [build-deps]
chrony-2.4: chrony rdepends on nss, but it isn't a build dependency, missing nss in DEPENDS or PACKAGECONFIG? [build-deps]
* also use PACKAGECONFIG_CONFARGS instead of EXTRA_OECONF in do_configure
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* otherwise jack is autodetected:
mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency, missing jack in DEPENDS or PACKAGECONFIG? [build-deps]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autodetected as reported in bitbake world status e-mails:
libgit2-0.24.1: libgit2 rdepends on libssh2, but it isn't a build dependency, missing libssh2 in DEPENDS or PACKAGECONFIG? [build-deps]
* log.do_package:
DEBUG: libgit2: Dependency libssh2.so.1 requires package libssh2 (used by files: /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/libgit2/0.24.1-r0/packages-split/libgit2/usr/lib/libgit2.so.0.24.0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autodetected for smsd as reported in bitbake world status e-mails:
gammu-1.32.0: libgsmsd rdepends on unixodbc, but it isn't a build dependency, missing unixodbc in DEPENDS or PACKAGECONFIG? [build-deps]
* log.do_package:
DEBUG: libgsmsd: Dependency libodbc.so.2 requires package unixodbc (used by files: /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/gammu/1.32.0-r0/packages-split/libgsmsd/usr/lib/libgsmsd.so.7.1.32.0)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixed 3 autodetected dependencies:
WARN: jasper: jasper-bin rdepends on freeglut, but it isn't a build dependency?
WARN: jasper: jasper-bin rdepends on libgl-mesa, but it isn't a build dependency?
WARN: jasper: jasper-bin rdepends on libglu, but it isn't a build dependency?
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
geany-plugins_1.27.bb: LICENSE_geany-plugins-pairtaghighlighter includes licenses (BSD-2-Clause) that are not listed in LICENSE
geany-plugins-1.27: geany-plugins: Files/directories were installed but not shipped in any package:
/usr/lib/geany/git-changebar.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
geany-plugins: 1 installed and not shipped files. [installed-vs-shipped]
geany-plugins-1.27: geany-plugins-scope rdepends on libvte9, but it isn't a build dependency, missing vte9 in DEPENDS or PACKAGECONFIG? [build-deps]
geany-plugins-1.27: geany-plugins-debugger rdepends on libvte9, but it isn't a build dependency, missing vte9 in DEPENDS or PACKAGECONFIG? [build-deps]
geany-plugins-1.27: geany-plugins-multiterm rdepends on libvte9, but it isn't a build dependency, missing vte9 in DEPENDS or PACKAGECONFIG? [build-deps]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixes:
| checking pkg-config is at least version 0.22... yes
| ../geoclue-2.0.0/configure: line 16260: syntax error near unexpected token `0.40.0'
| ../geoclue-2.0.0/configure: line 16260: `IT_PROG_INTLTOOL(0.40.0)'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixes:
| checking for ar... arm-starfish-linux-gnueabi-ar
| ../gnokii-0.6.31/configure: line 5688: syntax error near unexpected token `0.35.0'
| ../gnokii-0.6.31/configure: line 5688: `IT_PROG_INTLTOOL(0.35.0)'
| WARNING: exit code 1 from a shell command.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Without this it breaks builds which don't include
conf/distro/include/security_flags.inc
with:
lcl_maybe_fortify = "${@base_conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=2',d)}"
because then lcl_maybe_fortify isn't defined and gcc in c-ares
do_configure gets it unexpaned and fails:
configure:3926: checking whether the C compiler works
configure:3948: arm-oe-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=softfp -mcpu=cortex-a9 -mtune=cortex-a9 -funwind-tables -rdynamic -Os
--sysroot=/OE/sysroots/MACHINE -O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/OE/work/MACHINE-oe-linux-gnueabi/c-ares/1.10.0-r0=/usr/src/debug/c-ares/1.10.0-r0 -fdebug-prefix-map=/OE/sysroots/x86_64-linux=
-fdebug-prefix-map=/OE/sysroots/MACHINE= -Os ${lcl_maybe_fortify} -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
arm-oe-linux-gnueabi-gcc: error: ${lcl_maybe_fortify}: No such file or directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
| DEBUG: Executing shell function dos2unix
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libebml/1.3.0-r0/temp/run.dos2unix.30265:104:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libebml/1.3.0-r0/temp/run.dos2unix.30265:cannot open make/*/Makefile: No such file
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: dos2unix (log file is located at
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* when native python 2.7 is used, do_configure fails with:
checking whether sysroots/x86_64-linux/usr/bin/python-native/python version is >= 3.1... no
configure: error: Python interpreter is too old
WARNING: exit code 1 from a shell command.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* otherwise every recipe inheriting ruby fails with:
WARNING: Exception during build_dependencies for GEM_HOME
WARNING: Error during finalise of /home/jenkins/oe/world/shr-core/meta-openembedded/meta-ruby/recipes-devtools/ruby/bundler_git.bb
ERROR: Failure expanding variable RUBY_GEM_VERSION, expression was ${@get_rubygemsversion("/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin")} which triggered exception TypeError: can't use a string pattern on a bytes-like object
ERROR: Task 22219 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-ruby/recipes-devtools/ruby/bundler_git.bb, do_fetch) failed with exit code '1'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* elementary doesn't seem to use poppler at all
* add PACKAGECONFIG for poppler in evas-generic-loaders and disable
it by default as ATM poppler is broken
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* set NOAUTOPACKAGEDEBUG to disable automatic creation of -dbg FILES split
* it doesn't work well with our do_split_packages calls and in the end breaks
installing llvm3.3-dbg (e.g. when you enable IMAGE_GEN_DEBUGFS)
* it shows a bit ugly error where multiple messages are written over
each other:
WARNING: [log_check] In line: [ConfiCollected errors:
]
WARNING: [log_check] luneos-dev-image: found an error message in the logfile (keyword 'Collected errors'):
[log_check] ConfiCollected errors:
ERROR:
ConfiCollected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for llvm3.3-dbg:
* libllvm3.3-lto-dbg * libllvm3.3-llvm-3.3-dbg *
* opkg_install: Cannot install package llvm3.3-dbg.
guring gstreamer1.0-libav-dbg.
but the main point is that do_split_packages returns some package
names of packages which in the end aren't created, because there
are no files in them after other -dbg packages eat them all due
to automatic -dbg creation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* also fix following QA warning:
WARNING: pidgin-2.10.12-r0 do_package: QA Issue: pidgin: Files/directories were installed but not shipped in any package:
/usr/share/appdata
/usr/share/appdata/pidgin.appdata.xml
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pidgin: 2 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* disable gstreamer and vv, because gstreamer 0.10 is in meta-multimedia now
* disable farsight2/farstream, because farsight2 is blacklisted
* don't enable X11 support without x11 in DISTRO_FEATURES
* allow to disable all UI, useful for DISTROs who want just the purple libraries
like LuneOS
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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>
* it's checking for native gconftool-2 and do_configure may fail with:
| checking for GCONF... yes
| checking for gconftool-2... no
| configure: error: gconftool-2 executable not found in your path - should be installed with GConf
| NOTE: The following config.log files may provide further information.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* configure doesn't have config option ot disable it and it's autodetected from sysroot
causing:
WARN: jq: jq rdepends on onig, but it isn't a build dependency?
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* fixes:
WARN: gnome-panel: gnome-panel rdepends on dbus-lib, but it isn't a build dependency?
* there is general dbus dependency already, always used by libpanel-applet package:
gnome-panel.full/temp/log.do_package:DEBUG: libpanel-applet: Dependency libdbus-1.so.3 requires package dbus-lib (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gnome-panel/2.32.1-r7/packages-split/libpanel-applet/usr/lib/libpanel-applet-3.so.0.0.6)
* but when networkmanager is detected, then it's also linked from
clock-applet in gnome-panel package:
gnome-panel.full/temp/log.do_package:DEBUG: gnome-panel: Dependency libdbus-1.so.3 requires package dbus-lib (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gnome-panel/2.32.1-r7/packages-split/gnome-panel/usr/libexec/clock-applet)
* OE qemux86@ ~/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gnome-panel/2.32.1-r7/git $ git grep HAVE_NETWORK_MANAGER .
applets/clock/clock-location.c:#ifdef HAVE_NETWORK_MANAGER
applets/clock/clock-location.c:#ifdef HAVE_NETWORK_MANAGER
applets/clock/clock-location.c:#ifdef HAVE_NETWORK_MANAGER
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>