Patchwork [meta-xfce] xfce4-notifyd: Ensure xfce4-notifyd subdirectory exists

login
register
mail settings
Submitter Ash Charles
Date May 26, 2014, 5:59 p.m.
Message ID <1401127190-1532-1-git-send-email-ashcharles@gmail.com>
Download mbox | patch
Permalink /patch/72731/
State Accepted, archived
Headers show

Comments

Ash Charles - May 26, 2014, 5:59 p.m.
The notify-dbus.h file is autogenerated during compilation into the
xfce4-notifyd subdirectory.  This directory doesn't exist in an
out-of-tree build so we add one manually.

Upstream-Status: Pending

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
Martin Jansa - June 10, 2014, 11:22 a.m.
On Mon, May 26, 2014 at 10:59:50AM -0700, Ash Charles wrote:
> The notify-dbus.h file is autogenerated during compilation into the
> xfce4-notifyd subdirectory.  This directory doesn't exist in an
> out-of-tree build so we add one manually.

Same as screenshooter:

ERROR: Logfile of failure stored in: /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/xfce4-notifyd/0.2.2-r0/temp/log.do_compile.1277
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| mkdir: cannot create directory `xfce4-notifyd': File exists
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/core2-64-oe-linux/xfce4-notifyd/0.2.2-r0/temp/log.do_compile.1277)
NOTE: recipe xfce4-notifyd-0.2.2-r0: task do_compile: Failed
ERROR: Task 20 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb, do_compile) failed 

> 
> Upstream-Status: Pending
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>
> ---
>  meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
> index 08af66d..c22423c 100644
> --- a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
> +++ b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
> @@ -7,6 +7,10 @@ DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib"
>  
>  inherit xfce-app
>  
> +do_compile_prepend() {
> +	mkdir xfce4-notifyd
> +}
> +
>  FILES_${PN} += " \
>      ${libdir}/xfce4/notifyd \
>      ${datadir}/themes \
> -- 
> 1.8.3.2
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
index 08af66d..c22423c 100644
--- a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
+++ b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.2.bb
@@ -7,6 +7,10 @@  DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib"
 
 inherit xfce-app
 
+do_compile_prepend() {
+	mkdir xfce4-notifyd
+}
+
 FILES_${PN} += " \
     ${libdir}/xfce4/notifyd \
     ${datadir}/themes \