There are errors of apache2 about files conflicts when multilib enabled:
| Error: Transaction check error:
| file /etc/apache2/extra/httpd-ssl.conf conflicts between attempted installs of lib32-apache2-2.4.41-r0.core2_32 and apache2-2.4.41-r0.core2_64
| file /etc/apache2/httpd.conf conflicts between attempted installs of lib32-apache2-2.4.41-r0.core2_32 and apache2-2.4.41-r0.core2_64
| file /usr/sbin/envvars conflicts between attempted installs of lib32-apache2-2.4.41-r0.core2_32 and apache2-2.4.41-r0.core2_64
| file /usr/sbin/envvars-std conflicts between attempted installs of lib32-apache2-2.4.41-r0.core2_32 and apache2-2.4.41-r0.core2_64
It makes libexecdir point to ${libdir}. Reset to ${libexecdir} which could
eliminate file conflicts of the conf files. And remove /usr/sbin/envvars and
/usr/sbin/envvars-std which only used by apachectl. They only add standard
library path ${libdir} to LD_LIBRARY_PATH, so remove them to avoid multilib
file conflicts.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It redefines apache2's libexecdir. Update php to sync with that change.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When multilib is enabled, it complains file conflictions of
/usr/bin/mysql_install_db and /usr/bin/mysqld_safe.
Inherit multilib_script to solve the issues.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove BINDIR in script lmbench-run which is useless and causes multilib
file confliction:
| Error: Transaction check error:
| file /usr/bin/lmbench-run conflicts between attempted installs of
lmbench-3.0+a9-r2.core2_64 and lib32-lmbench-3.0+a9-r2.core2_32
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It fails to compile xfce4-datetime-setter occasionally when system load
is high:
| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file or directory
| 42 | #include "cc-datetime-resources.h"
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
Update datetime_panel_dep to make sure cc-datetime-resources.h be
generated before including.
xfce4-datetime-setter depends on libxfce4ui which requires distro
feature 'x11', so make it require 'x11' too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
RDEPENDS_${PN} is wrongly removed and then packagegroup-tools-bluetooth
requires no package now.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update xfce4-session from 4.13.3 to 4.14.0.
* remove dbus from DEPENDS that xfce4-session ports to gdbus. gdbus is
provided by glib-2.0 which in the dependency chain alreay.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update xfce4-panel from 4.13.6 to 4.14.0.
* xfce4-panel ports to gtk+3 and gdbus, so remove dbus from DEPENDS and
replace gtk+ with gtk+3
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update xfce4-appfinder from 4.13.3 to 4.14.0.
* remove dbus-glib from DEPENDS that xfce4-appfinder ports to gdbus
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update tumbler from 0.2.0 to 0.2.7
* remove patch which has been fixed in upstream
* remove dbus-glib* from DEPENDS that tumbler ports gdbus. glib-2.0
provides gdbus and already in tumbler's dependency chains.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update exo from 0.12.6 to 0.12.8.
* add gtk+3 to DEPENDS
* make gtk+ as a PACKAGECONFIG. Remove it when no application needs exo
gtk+2 support
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Because xfce4-settings turn back to its official upstream, it missing
function to set date and time. Add it from Andreas's repo on github.
xfce4-datetime-setter calls functions from dbus service
org.freedesktop.timedate1 to set date and time. And the dbus service is
provided by systemd. So check distro feature 'systemd' that
xfce4-datetime-setter is imcompatible with sysvinit.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
xfce4-datetime-setter provides function to set date and time. But it
depends on dbus service org.freedesktop.timedate1 which is provided by
systemd. Make xfce4-settings rrecommends xfce4-datetime-setter only
systemd is set in DISTRO_FEATURES.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It doesn't provide a way to enable or disable gobject-introspection
support for poppler. Toggle it respect to variable GI_DATA_ENABLED.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It fails to start xfwm4 on intel_x86_64 boards:
| xfwm4: ../mesa-19.1.1/src/mesa/drivers/dri/i965/intel_mipmap_tree.c:1293:
| intel_miptree_match_image: Assertion `image->TexObject->Target == mt->target' failed.
| Aborted
Revert the upstream commit which introduce the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replace source zip ball with tarball for net-snmp to avoid zip bomb issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Xfce core modules have ported to gdbus. But xfce4-pulseaudio-plugin
stills needs dbus-glib. Add dbus-glib to DEPENDS.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade xfce4-settings from 4.12.4 to 4.13.7:
* update SRC_URI to re-use official tarball and not inherit xfce-git
* remove unneeded backport patch
* remove dependency gtk+ that gtk+3 is used now
* remove dependency dbus-glib which is replaced by gdbus
* clean DEPENDS that libxfce4util and xfconf are requried by libxfce4ui
which is required by exo and garcon
* remove packageconfig datetime-setter
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove libxfce4util from DEPENDS which is required by libxfce4ui
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clean DEPENDS
- libxfce4util xfconf and gtk+3 are required by libxfce4ui which is
required by garcon and exo
* bbclass gtk-icon-cache has been inherited in xfce.bbclass
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clean DEPENDS
- dbus-glib has been replaced by gdbus
- gtk+3 glib-2.0 xfconf and libxfce4util are required by libxfce4ui
which is required by xfce4-panel
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clean DEPENDS
- dbus-glib has been replaced by gdbus
- libxfce4util and xfconf are required by libxfce4ui
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clean DEPENDS
- remove dbus-glib which is replaced by gdbus
- libxfce4util and xfconf are required by libxfce4ui
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove dependency dbus-glib which is replaced by gdbus already
* remove dependency gtk+ that gtk+3 is used right now
* clean items in DEPENDS which are imported indirectly by libxfce4ui
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dbus-glib is removed from DEPENDS that it has been replace by gdbus
from 1.7.0
* remove glib-2.0 gtk+3 libxfce4util and xfconf from DEPENDS for clean
which are required by libxfce4ui
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove dbus-glib from DEPENDS that it has been replaced by gdbus.
glib-2.0 provides gdbus and has been imported to DEPENDS by libxfce4util.
* inherit class gobject-introspection which has been supported by xfconf
4.13.8
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gtk+3 is required but not added to DEPENDS that libxfce4ui depends on
it already
* remove libxfce4util from DEPENDS for clean that it is required by
libxfce4ui
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dependency glib-2.0 is required by libxfce4util, so remove it from
DEPENDS to make it more clean. And sort DEPENDS at same time.
* not inherit autotools and gettext which have been inherited in
xfce.bbclass already
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update libvncserver to latest git commit 1354f7f which could help to fix
do_package error when multilib is enabled:
| Files/directories were installed but not shipped in any package:
| /usr/lib/libvncclient.so.0.9.12
| /usr/lib/libvncclient.so.1
| /usr/lib/libvncclient.so
| /usr/lib/libvncserver.so.0.9.12
| /usr/lib/libvncserver.so.1
| /usr/lib/libvncserver.so
| /usr/lib/pkgconfig
| /usr/lib/pkgconfig/libvncserver.pc
| /usr/lib/pkgconfig/libvncclient.pc
Rename recipe name from _git.bb to _${version}.bb as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Option '-std=gnu++14' has been supported from gcc 4.9. But on some build hosts
such as CentOS 7.6 which only has gcc 4.8.5 and fails to configure:
| checking whether the host C compiler can be used... no
| ERROR: Only GCC 4.9 or newer is supported (found version 4.8.5).
Fallback to 2011 C++ standard and lower required gcc version to 4.8.0 which is
the same as in previous version 52.9.1 of mozjs.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade xfce4-screensaver from 0.1.4 to 0.1.5.
* install pam config file and add a patch to remove unsupported
syntax '@include'
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Xfce4 plugin 'actions' which stays in tray area provides a menu 'Switch
User' but the menu grayed out. It calls whether 'dm-tool' from lightdm
or 'gdmflexiserver' from gdm to support switch users.
Since recipe gdm has been removed from meta-gnome, create a fake
'gdmflexiserver' which calls lxdm to make menu 'Switch User' work
according to:
https://wiki.archlinux.org/index.php/Xfce#User_switching_action_button_is_greyed_out
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The pre-configured default theme Xfce doesn't work as expected. For
example, no layout in start menu and applications' menu bar. And
GtkColorButton is blank in config tab page from xfce4-terminal -> Edit
-> Preference -> Colors.
So set Adwaita as default theme instead.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Acked-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Xfce4 plugin 'actions' which stays in tray area provides a menu 'Switch
User' but the menu grayed out. It calls whether 'dm-tool' from lightdm
or 'gdmflexiserver' from gdm to support switch users.
Since recipe gdm has been removed from meta-gnome, create a fake
'gdmflexiserver' which calls lxdm to make menu 'Switch User' work
according to:
https://wiki.archlinux.org/index.php/Xfce#User_switching_action_button_is_greyed_out
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add xfce4-screensaver to RRECOMMENDS of packagegroup-xfce-extended.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
xfce4-screensaver is a screen saver and locker which used by Xfce module
'actions' when click 'Lock Screen'.
* add a patch to fix configure QA issue for cross compile
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
drbd-utils installs directory /var/run but is a link file installed by
package base-files. Remove /var/run to fix the file conflict issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It fails to build drbd with errors:
| LD [M] .../tmp/work/qemux86_64-poky-linux/drbd/9.0.17-1-r0/drbd-9.0.17-1/drbd/drbd.o
| x86_64-poky-linux-ld.bfd: cannot find
| .../tmp/work/qemux86_64-poky-linux/drbd/9.0.17-1-r0/drbd-9.0.17-1/drbd/drbd_bitmap.o: No such file or directory
Backport patch from upstream to fix the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
I believe ${libexec} is a typo here which should be ${libexecdir}.
Otherwise, the execute bit of ${datadir}/polkit-1/rules.d will be set
and previous workaround which chmod ${datadir}/polkit-1/rules.d does not
work.
Replace tab with spaces at same time.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Acked-By: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update libgtop from 2.38.0 to 2.40.0
* reset LIBGTOP_LIBS to avoid compile errors which caused by host
contamination
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Inherit upstream-version-is-even.bbclass to ensures that the upstream
version check only accepts even minor(stable) versions.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update libio-socket-ssl-perl from 2.060 to 2.066.
* update line number of license in META.yml
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade lvm2/libdevmapper from 2.03.01 to 2.03.02.
* update SRC_URI back to use ftp url
- 2.03.02 has been released but no such tag in git repo
- subdir 'releases' on ftp site should be a persistent place for tarballs
* drop 0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
which is not needed any longer
* remove backpoort patch
* update patch contexts
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libreport calls xmlrpc-c-config from package xmlrpc-c-native to get
cflags and libs. But it gets dirs in ${STAGING_DIR_NATIVE} which make
lib32-libreport compile failed with config:
require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7vethf"
| arm-wrs-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libabrt_dbus.so"
&& ln -s "libabrt_dbus.so.0.0.1" "libabrt_dbus.so")
| .../tmp-glibc/work/armv5e-wrs-linux-gnueabi/libreport/2.9.7-r0/recipe-sysroot-native/usr/lib/libxml2.so:
file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:780: libreport-web.la] Error 1
Make xmlrpc-c inherit binconfig to avoid such kind of errors.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update pv from 1.5.3 to 1.6.6.
* export LDEMULATION for mipsn32 to fix compile error
MACHINE ?= "qemumips64"
DEFAULTTUNE = "mips64-n32"
| mips64-poky-linux-gnun32-ld
--sysroot=/home/kkang/buildarea/Yocto/build/tmp/work/mips64-n32-poky-linux-gnun32/pv/1.5.3-r0/recipe-sysroot
-r -o src/library.o src/library/getopt.o src/library/gettext.o
| mips64-poky-linux-gnun32-ld: src/library/getopt.o: ABI is incompatible with that of the selected emulation
| mips64-poky-linux-gnun32-ld: failed to merge target specific data of file src/library/getopt.o
| mips64-poky-linux-gnun32-ld: src/library/gettext.o: ABI is incompatible with that of the selected emulation
| mips64-poky-linux-gnun32-ld: failed to merge target specific data of file src/library/gettext.o
| mips64-poky-linux-gnun32-ld: attempt to do relocatable link with elf32-ntradbigmips input and elf64-tradbigmips output
| mips64-poky-linux-gnun32-ld: src/library/gettext.o: file class ELFCLASS32 incompatible with ELFCLASS64
| mips64-poky-linux-gnun32-ld: final link failed: file in wrong format
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Inherit ptest for net-snmp to create ${PN}-ptest. Update run-ptest as
well to avoid only could be run in the same directory.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libunique shows installed-vs-shipped QA issue if configure option
'--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not
supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
EXTRA_OECONF_append_pn-libunique = " --disable-introspection"
Remove empty directory to fix the QA issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade gvfs from 1.36.2 to 1.39.1.
* autotools has been removed, use meson instead
* add packageconfigs dnssd and logind
* disable options bluray, goa, google and nfs
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When build lib32-netkit-telnet that multilib is enabled, it shows qa
warnings of alternative target:
| WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet:
| alternative target (/usr/bin/telnet or /usr/bin/telnet.netkit-telnet)
| does not exist, skipping...
| WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: NOT
| adding alternative provide /usr/bin/telnet:
| /usr/bin/telnet.netkit-telnet does not exist
| WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: alt_link
| == alt_target: /usr/bin/telnet == /usr/bin/telnet
Set ALTERNATIVE_TARGET to fix the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
openipmi load swig/python/.libs/_OpenIPMI.so to create .pyc and .pyo
files. It fails when multilib is enable:
| ImportError: .../lib32-openipmi/2.0.25-r0/OpenIPMI-2.0.25/swig/python/.libs/_OpenIPMI.so:
| wrong ELF class: ELFCLASS32
Don't compile and install .pyc and .pyo files to fix the failure.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When enable multilib and both lvm2 and multilib lvm2 such as lib32-lvm2
are installed to image, it causes install file conflict.
| file /etc/lvm/lvm.conf conflicts between attempted installs of
| lib32-lvm2-2.02.180-r0.x86 and lvm2-2.02.180-r0.core2_64
Inherit multilib_script to fix it.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade logcheck from 1.3.18 to 1.3.19.
* update SRC_URI to replace git repo with tarball that saves some space
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade libnet-dns-perl from 1.14 to 1.17.
* correct LICENSE which should be MIT
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>