All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe] samba: Fix build on Fedora 17
@ 2012-12-14  8:19 b28495
  0 siblings, 0 replies; 3+ messages in thread
From: b28495 @ 2012-12-14  8:19 UTC (permalink / raw)
  To: openembedded-devel; +Cc: b29882

From: Ting Liu <b28495@freescale.com>

Fedora 17 has /bin/perl, this causes samba build to put perl interpreter
path as /bin/perl But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation:
| error: Failed dependencies:
| 	/bin/perl is needed by samba-3.6.8-r3.ppce5500

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 meta-oe/recipes-connectivity/samba/samba.inc      |    1 +
 meta-oe/recipes-connectivity/samba/samba_3.6.8.bb |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
index d39a84a..28ecc69 100644
--- a/meta-oe/recipes-connectivity/samba/samba.inc
+++ b/meta-oe/recipes-connectivity/samba/samba.inc
@@ -89,6 +89,7 @@ do_install_append() {
         install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
 
 	rmdir ${D}${base_sbindir}
+        sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
 }
 
 
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index 7985199..517160d 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -3,7 +3,7 @@ require samba-basic.inc
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI += "\
     file://config-h.patch \
-- 
1.7.3.4





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe] samba: Fix build on Fedora 17
  2012-11-23  9:07 b28495
@ 2012-11-27 22:04 ` McClintock Matthew-B29882
  0 siblings, 0 replies; 3+ messages in thread
From: McClintock Matthew-B29882 @ 2012-11-27 22:04 UTC (permalink / raw)
  To: Liu Ting-B28495
  Cc: McClintock Matthew-B29882, Guo Chunrong-B40290,
	openembedded-devel, Zhenhua-B19537, Luo

On Fri, Nov 23, 2012 at 3:07 AM,  <b28495@freescale.com> wrote:
> From: Ting Liu <b28495@freescale.com>
>
> Fedora 17 has /bin/perl, this causes samba build to put perl interpreter
> path as /bin/perl But we set perl location for target as /usr/bin/perl
>
> This mismatch of perl path causes failure of rootfs image creation:
> | error: Failed dependencies:
> |       /bin/perl is needed by samba-3.6.8-r1.ppce5500
>
> Signed-off-by: Ting Liu <b28495@freescale.com>
> ---
>  meta-oe/recipes-connectivity/samba/samba.inc      | 2 ++
>  meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
> index faa2be0..c4430d1 100644
> --- a/meta-oe/recipes-connectivity/samba/samba.inc
> +++ b/meta-oe/recipes-connectivity/samba/samba.inc
> @@ -88,6 +88,8 @@ do_install_append() {
>          install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
>          install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
>
> +        sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
> +

Extra space?

-M

>  }
>
>
> diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
> index cc09a48..7c54dae 100644
> --- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
> +++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
> @@ -3,7 +3,7 @@ require samba-basic.inc
>  LICENSE = "GPLv3"
>  LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
>
> -PR = "r1"
> +PR = "r2"
>
>  SRC_URI += "\
>      file://config-h.patch \
> --
> 1.7.11.7
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-oe] samba: Fix build on Fedora 17
@ 2012-11-23  9:07 b28495
  2012-11-27 22:04 ` McClintock Matthew-B29882
  0 siblings, 1 reply; 3+ messages in thread
From: b28495 @ 2012-11-23  9:07 UTC (permalink / raw)
  To: openembedded-devel; +Cc: b29882

From: Ting Liu <b28495@freescale.com>

Fedora 17 has /bin/perl, this causes samba build to put perl interpreter
path as /bin/perl But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation:
| error: Failed dependencies:
| 	/bin/perl is needed by samba-3.6.8-r1.ppce5500

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 meta-oe/recipes-connectivity/samba/samba.inc      | 2 ++
 meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
index faa2be0..c4430d1 100644
--- a/meta-oe/recipes-connectivity/samba/samba.inc
+++ b/meta-oe/recipes-connectivity/samba/samba.inc
@@ -88,6 +88,8 @@ do_install_append() {
         install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
         install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
 
+        sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
+
 }
 
 
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index cc09a48..7c54dae 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -3,7 +3,7 @@ require samba-basic.inc
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI += "\
     file://config-h.patch \
-- 
1.7.11.7





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-14  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-14  8:19 [meta-oe] samba: Fix build on Fedora 17 b28495
  -- strict thread matches above, loose matches on Subject: below --
2012-11-23  9:07 b28495
2012-11-27 22:04 ` McClintock Matthew-B29882

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.