Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org,
	Cristian Iorga <cristian.iorga@intel.com>
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Cristian Iorga : bluez4: add proper systemd support
Date: Mon, 27 Apr 2015 15:39:25 +0200	[thread overview]
Message-ID: <20150427133925.GF2379@jama> (raw)
In-Reply-To: <20150426215838.0A414501E8@opal.openembedded.org>

On Sun, Apr 26, 2015 at 09:58:38PM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master-next
> Commit: c7fe8d52563619e2a248255ee7225593f5bb498f
> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c7fe8d52563619e2a248255ee7225593f5bb498f
> 
> Author: Cristian Iorga <cristian.iorga@intel.com>
> Date:   Thu Apr 23 17:38:33 2015 +0300
> 
> bluez4: add proper systemd support
> 
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

This seems to break gst-plugin-bluetooth which is using the same
bluez4.inc, but doesn't have systemd support:

meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb,
do_package

ERROR: Function failed: SYSTEMD_SERVICE_gst-plugin-bluetooth value bluetooth.service does not exist
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/temp/log.do_package.7708
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing python function do_package
| DEBUG: Executing python function package_get_auto_pr
| DEBUG: Python function package_get_auto_pr finished
| DEBUG: Executing python function perform_packagecopy
| DEBUG: Python function perform_packagecopy finished
| DEBUG: Executing python function split_and_strip_files
| DEBUG: runstrip: 'i586-oe-linux-strip' --remove-section=.comment --remove-section=.note --strip-unneeded '/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/package/usr/lib/gstreamer-0.10/libgstbluetooth.so' -o '/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/package/usr/lib/gstreamer-0.10/libgstbluetooth.so.tmp' && chown --reference='/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/package/usr/lib/gstreamer-0.10/libgstbluetooth.so' '/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/package/usr/lib/gstreamer-0.10/libgstbluetooth.so.tmp' && mv '/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/package/usr/lib/gstreamer-0.10/libgstbluetooth.so.tmp' '/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gst-plugin-bluetooth/4.101-r1/package/usr/lib/gstreamer-0.10/libgstbluetooth.so'
| DEBUG: Python function split_and_strip_files finished
| DEBUG: Executing python function fixup_perms
| DEBUG: Python function fixup_perms finished
| DEBUG: Executing python function split_gstreamer10_packages
| DEBUG: Python function split_gstreamer10_packages finished
| DEBUG: Executing python function systemd_populate_packages
| DEBUG: adding systemd calls to postinst/postrm for gst-plugin-bluetooth
| DEBUG: Python function systemd_populate_packages finished
| DEBUG: Python function do_package finished
| ERROR: Function failed: SYSTEMD_SERVICE_gst-plugin-bluetooth value bluetooth.service does not exist
NOTE: recipe gst-plugin-bluetooth-4.101-r1: task do_package: Failed
ERROR: Task 31556 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb, do_package) failed with exit code '1'


> 
> ---
> 
>  meta/recipes-connectivity/bluez/bluez4.inc | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc
> index 11c9616..948b495 100644
> --- a/meta/recipes-connectivity/bluez/bluez4.inc
> +++ b/meta/recipes-connectivity/bluez/bluez4.inc
> @@ -13,9 +13,11 @@ RDEPENDS_${PN}-dev = "bluez-hcidump"
>  PACKAGECONFIG ??= "\
>      ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\
>      ${@bb.utils.contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\
> +    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd','systemd', '', d)} \
>  "
>  PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
>  PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,"
> +PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir="
>  
>  ASNEEDED = ""
>  
> @@ -24,7 +26,7 @@ SRC_URI = "\
>  "
>  S = "${WORKDIR}/bluez-${PV}"
>  
> -inherit autotools-brokensep pkgconfig
> +inherit autotools-brokensep pkgconfig systemd
>  
>  EXTRA_OECONF = "\
>    --disable-gstreamer \
> @@ -43,4 +45,6 @@ EXTRA_OECONF = "\
>    --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \
>  "
>  
> +SYSTEMD_SERVICE_${PN} = "bluetooth.service"
> +
>  EXCLUDE_FROM_WORLD = "1"
> 
> -- 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com


           reply	other threads:[~2015-04-27 13:38 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20150426215838.0A414501E8@opal.openembedded.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150427133925.GF2379@jama \
    --to=martin.jansa@gmail.com \
    --cc=cristian.iorga@intel.com \
    --cc=openembedded-commits@lists.openembedded.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox