From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7753AE00837; Fri, 20 Feb 2015 09:01:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [98.138.91.19 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (vaduvajanalexandru[at]yahoo.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from nm3-vm2.bullet.mail.ne1.yahoo.com (nm3-vm2.bullet.mail.ne1.yahoo.com [98.138.91.19]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D9737E00289 for ; Fri, 20 Feb 2015 09:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1424451680; bh=E/rvDdTT4+RhLnkWUN/acB9DJ1LRgVvQwgZwE4qfSNc=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=TmbOfyG1bgxaDYpURFSyg8kUz/Zrx+tvBIHbk1+mzjI+/Spv49yI7aMwNxG9K83oVSdFS8uu9IGdCNLHL+qLcu+T58mToZJ3q1+WtsLuiIspvPS2N+AhgZGYM3kxwvt5Pmbuout3vouDGr2ATcq62N6F3W7TcEvf+8qiYfw96CSXEkxc9aaIKTRe777yfjRNWjzsINS3jAYti7KRpMDsrPfYhpdrmiiANaEQiH+5lfYHvLdeeCwGOQ/XHC1QzY/7Ni/XgPUnT1wxoP9e923Whk52GbDo6Qpa1+YuYPvLQGvyxGRS/AG99Dm1CZzhKsGRFKbBGoA784O2rr++wZ/B/w== Received: from [98.138.100.118] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 20 Feb 2015 17:01:20 -0000 Received: from [98.138.89.249] by tm109.bullet.mail.ne1.yahoo.com with NNFMP; 20 Feb 2015 17:01:20 -0000 Received: from [127.0.0.1] by omp1041.mail.ne1.yahoo.com with NNFMP; 20 Feb 2015 17:01:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 900141.34882.bm@omp1041.mail.ne1.yahoo.com X-YMail-OSG: l7NcvkIVM1lmjM_KxxGPr9cvIV4xZrWVPETC8ykjWdT8hvVy61oR4kVSHgClEVX sB2H0C58MPAFKC08tvZYKVIgazl7kbyMZuqPWWf0cxUvcOJKAratTVXPORRDRctwfp7aIx_vt3_c B7cPQqyKcCrmkk9wx.hP2A4HqDBe_qSkPe1jBv.0Xw6LOL9W0ES8sEinsipR8us_TtaNIN0bbDWJ zvQkhP14dFnl8J7jzt8a6dM16s5Dm.iou2sgLcbSPcM5qDvv57BY8KOLjs_RXWgBhcZxFLXGuqP7 oyqxvyKNthj3LTmaiVyRewXczmlvPWc2JTUdKAJKC_lBdhd_oDYF6JGP9NCgbqQjX_iHG_jDZsFX RuDfyL7vm1jifTrzbGFL5M3rS8uXOB3HQNUT0_EgbyVMh804dp2SYlPUFaOleOvqFZBdUva2P7Mk jj74ZU54Qby0kSDw44y_7AVipL4xLISVBahigIwBpX09pdQqTJl3RiY1Fnc80GApoRbcjd7yKyi0 76ENyicnwJBpH4HpZLrV8In5aYvXFDYi6Z5EpE8OoD4xjvYURIdc8XXA0s7ylumaBipmWUDRPhwu N.rKJ91vDyNWWPXT0t7zXyacGKkrqxpTWrJcjsHWZQeNcgFhczzm9JXXwJe_L1Sok0BKXT2Br7wX CvwRjLN9d4NU7ehWKX5ROKBhDoB1bTr3ttb3Bc74i7YwRcHvnSy8mqlhgCQKEg9tI0FGJ41iqqGh 0tfAqR.ekfoeuDG_bf8Rsy_OMZ2JdPLN31D24SqP9SkiNe5Y- Received: by 98.138.105.226; Fri, 20 Feb 2015 17:01:20 +0000 Date: Fri, 20 Feb 2015 17:01:19 +0000 (UTC) From: Alexandru Vaduva To: "Rodriguez Bahena, Victor" Message-ID: <2021830550.2900621.1424451679741.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <1424449171.16673.20.camel@vrodri3-mobl2.amr.corp.intel.com> References: <1424449171.16673.20.camel@vrodri3-mobl2.amr.corp.intel.com> MIME-Version: 1.0 Cc: "yocto@yoctoproject.org" Subject: Re: [PATCH] Add mpich support X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Alexandru Vaduva List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 17:01:24 -0000 Content-Type: multipart/alternative; boundary="----=_Part_2900620_1488734473.1424451679734" ------=_Part_2900620_1488734473.1424451679734 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes, it is my opinion that adding to RDPENDS libxml2 and libpciaccess and c= hanging the /bin/csh and /bin/bash to /bin/sh should solve those warnings. The Warnings are related with the patch done by Richard Yang. Here`s a link= :[OE-core] [PATCH 0/6] meta: fix rdepends issues for test related packages | =C2=A0 | | =C2=A0 | =C2=A0 | =C2=A0 | =C2=A0 | =C2=A0 | | [OE-core] [PATCH 0/6] meta: fix rdepends issues for test related packages= [OE-core] [PATCH 0/6] meta: fix rdepends issues for test related packages R= obert Yang liezhi.yang at windriver.com Mon Aug 18 06:06:31 UTC 2014 | | | | View on lists.openembedded.org | Preview by Yahoo | | | | =C2=A0 | Hope I am not wrong=C2=A0 with my assumption, but I am pretty sure about th= is one ;) Alex Vaduva On Friday, February 20, 2015 6:19 PM, "Rodriguez Bahena, Victor" wrote: =20 So let me see if I understand, the following error ( build log from this patch):=20 NOTE: Executing RunQueue Tasks ERROR: QA Issue: package mpich contains bad RPATH /home/vrodri3/poky/build/tmp/sysroots/qemux86/usr/lib in file /home/vrodri3/poky/build/tmp/work/i586-poky-linux/mpich/3.1.1-r0/packa= ges-split/mpich/usr/bin/i586-poky-linux-mpiexec.hydra [rpaths] WARNING: QA Issue: mpich rdepends on libxml2, but it isn't a build dependency? [build-deps] WARNING: QA Issue: mpich rdepends on libpciaccess, but it isn't a build dependency? [build-deps] WARNING: QA Issue: mpich requires /usr/bin/bash, but no providers in its RDEPENDS [file-rdeps] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa ERROR: Logfile of failure stored in: /home/vrodri3/poky/build/tmp/work/i586-poky-linux/mpich/3.1.1-r0/temp/l= og.do_package_qa.20022 ERROR: Task 9 (/home/vrodri3/meta-openembedded/meta-oe/recipes-devtools/mpich/mpich_3.1.1= .bb, do_package_qa) failed with exit code '1' NOTE: Tasks Summary: Attempted 667 tasks of which 646 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Is due to the fact that some of the QA scripts need sh instead of bash ( or something similar ) ?=20 I am a little bit lost here=20 Thanks for the help Victor Rodriguez On Thu, 2015-02-19 at 21:49 +0000, Alexandru Vaduva wrote: > Forgot to mention that I identified the line: > src/pm/hydra/tools/topo/hwloc/hwloc/contrib/hg/set-hg-share-perms.csh:1:#= !/bin/csh -f >=20 >=20 > It seems that one script uses /bin/ch, and also another one > using /bin/bash. > Adding RDEPENDS_${PN} +=3D "bash perl tcsh" did not solved the problem. > but maybe changing them o /bin/sh will do. > The idea is similar to the change from=20 >=20 > meta/recipes-extended/lsb/lsbtest/LSB_Test.s > Link: [OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh=C2=A0=20 >=20 >=C2=A0=20 >=C2=A0=20 >=C2=A0=20 >=C2=A0=20 >=C2=A0=20 >=C2=A0=20 > [OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh > [OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh Robert Yang > liezhi.yang at windriver.com Wed Aug 27 15:57:11 UTC 2014=20 >=20 > View on lists.openembedded.org > Preview by Yahoo >=20 >=C2=A0=20 > What do you say? >=20 >=20 >=20 >=20 > Alex Vaduva >=20 >=20 >=20 > On Thursday, February 19, 2015 11:44 PM, Alexandru. Vaduva > wrote: >=20 >=20 >=20 > From: Victor Rodriguez >=20 > This patch add mpich support to yocto in order to run MPI framework on > embedded > systems. >=20 > Signed-off-by: Alejandro Hernandez > > Signed-off-by: Victor Rodriguez > Signed-off-by: Alexandru.Vaduva > --- > meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb | 29 > +++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb >=20 > diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb > b/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb > new file mode 100644 > index 0000000..2f4226e > --- /dev/null > +++ b/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb > @@ -0,0 +1,29 @@ > +SUMMARY =3D "Message Passing Interface(MPI) implementation" > +HOMEPAGE =3D "http://git.mpich.org/mpich.git/" > +SECTION =3D "devel" > + > +LICENSE =3D "BSD-2-Clause" > +LIC_FILES_CHKSUM =3D > "file://COPYRIGHT;md5=3D2106f0435056f3dd9349747a766e5816" > + > +SRC_URI =3D > "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" > +SRC_URI[md5sum] =3D "40dc408b1e03cc36d80209baaa2d32b7" > +SRC_URI[sha256sum] =3D > "455ccfaf4ec724d2cf5d8bff1f3d26a958ad196121e7ea26504fd3018757652d" > + > +RDEPENDS_${PN} +=3D "bash perl tcsh" > +S =3D "${WORKDIR}/${PN}-${PV}" > + > +EXTRA_OECONF =3D "--enable-debuginfo \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --enable-fast \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --enable-shared= =C2=A0 \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-f77 \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-fc \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-fortra= n \ > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-cxx" > + > +inherit autotools-brokensep gettext > + > +do_configure_prepend() { > +=C2=A0 =C2=A0 autoreconf --verbose --install --force -I . -I confdb/ -I = maint/ > +=C2=A0 =C2=A0 oe_runconf > +=C2=A0 =C2=A0 exit > +} > --=20 > 1.9.1 >=20 > --=20 > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >=20 >=20 >=20 --=20 Victor Rodriguez Open Source Technology Center ------=_Part_2900620_1488734473.1424451679734 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes,= it is my opinion that adding to RDPENDS libxml2 and libpciaccess and chang= ing the /bin/csh and /bin/bash to /bin/sh should solve those warnings.

The Warnings are related = with the patch done by Richard Yang. Here`s a link:
Hope I am not wrong  with my assumption, but I am pretty sure= about this one ;)


Alex Vaduva

<= br>
On Friday, Febr= uary 20, 2015 6:19 PM, "Rodriguez Bahena, Victor" <victor.rodriguez.bahe= na@intel.com> wrote:


So let me see if I understand, the following error ( build log fro= m this
patch):

NOTE= : Executing RunQueue Tasks
ERROR: QA Issue: package mpich= contains bad
RPATH /home/vrodri3/poky/build/tmp/sysroots= /qemux86/usr/lib in
file /home/vrodri3/poky/build/tmp/wor= k/i586-poky-linux/mpich/3.1.1-r0/packages-split/mpich/usr/bin/i586-poky-lin= ux-mpiexec.hydra [rpaths]
WARNING: QA Issue: mpich rdepen= ds on libxml2, but it isn't a build
dependency? [build-de= ps]
WARNING: QA Issue: mpich rdepends on libpciaccess, bu= t it isn't a build
dependency? [build-deps]
WARNING: QA Issue: mpich requires /usr/bin/bash, but no providers in i= ts
RDEPENDS [file-rdeps]
ERROR: QA run = found fatal errors. Please consider fixing them.
ERROR: F= unction failed: do_package_qa
ERROR: Logfile of failure s= tored
in: /home/vrodri3/poky/build/tmp/work/i586-poky-lin= ux/mpich/3.1.1-r0/temp/log.do_package_qa.20022
ERROR: Tas= k 9
(/home/vrodri3/meta-openembedded/meta-oe/recipes-devt= ools/mpich/mpich_3.1.1.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 667 tasks of which 646 didn't nee= d to be
rerun and 1 failed.
Waiting for= 0 running tasks to finish:


Is due to the fact that some of the QA scripts need sh instead of= bash
( or something similar ) ?

I am a little bit lost here

Thanks for the help

Victor Rodrig= uez



On Thu, 2015-02-19 at 21:49 +0000, Alexandru Vaduva wrote:
> Forgot to mention that I identified the line:
= > src/pm/hydra/tools/topo/hwloc/hwloc/contrib/hg/set-hg-share-perms.csh:= 1:#!/bin/csh -f
>
>
> It seems that one script uses /bin/ch, and also another one
> using /bin/bash.
> Adding RDEPENDS= _${PN} +=3D "bash perl tcsh" did not solved the problem.
= > but maybe changing them o /bin/sh will do.
> The = idea is similar to the change from
>
> meta/recipes-extended/lsb/lsbtest/LSB_Test.s
>= Link: [OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh 
>

>&nb= sp;




> = [OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh
= > [OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh Robert Yang> liezhi.yang at windriver.com Wed Aug 27 15:57:11 UTC = 2014
>
> View on lists.openembe= dded.org
> Preview by Yahoo
>
> What do you say?
>
>
>
>
> Alex Vaduva
> <= br clear=3D"none">>
>
> On T= hursday, February 19, 2015 11:44 PM, Alexandru. Vaduva
&g= t; <Alexandru.Vaduva@enea.com> wro= te:
>
>
> =
> From: Victor Rodriguez <victor.rodriguez.bahena@intel.com>
>
> This patch add mpich support to yocto i= n order to run MPI framework on
> embedded
> systems.
>
> Signed-= off-by: Alejandro Hernandez
> <alejandro.hernandez@linux.intel.com>> Signed-off-by: Victor Rodriguez <victor.rodriguez.bahena@intel.com>
> Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva@enea.com>
> ---
> meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb | 29
> +++++++++++++++++++++++++++
> 1 file= changed, 29 insertions(+)
> create mode 100644 meta-o= e/recipes-devtools/mpich/mpich_3.1.1.bb
>
> diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb
> b/meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb
> new file mode 100644
> index 0000000..2= f4226e
> --- /dev/null
> +++ b/me= ta-oe/recipes-devtools/mpich/mpich_3.1.1.bb
> @@ -0,0 = +1,29 @@
> +SUMMARY =3D "Message Passing Interface(MPI= ) implementation"
> +HOMEPAGE =3D "http://git.mpich.= org/mpich.git/"
> +SECTION =3D "devel"
> +
> +LICENSE =3D "BSD-2-Clause"
> +LIC_FILES_CHKSUM =3D
> "file://COPYRIG= HT;md5=3D2106f0435056f3dd9349747a766e5816"
> +
> +SRC_URI =3D
> "http://www.m= pich.org/static/downloads/${PV}/mpich-${PV}.tar.gz"
&= gt; +SRC_URI[md5sum] =3D "40dc408b1e03cc36d80209baaa2d32b7"
> +SRC_URI[sha256sum] =3D
> "455ccfaf4ec724d2cf5= d8bff1f3d26a958ad196121e7ea26504fd3018757652d"
> +
> +RDEPENDS_${PN} +=3D "bash perl tcsh"
> +S =3D "${WORKDIR}/${PN}-${PV}"
> +
> +EXTRA_OECONF =3D "--enable-debuginfo \
> +=                 --enable-fast \
> +               = ; --enable-shared  \
> +      &nbs= p;         --disable-f77 \
> +&nbs= p;               --disable-fc \
> +                --d= isable-fortran \
> +         =       --disable-cxx"
> +
> +inherit autotools-brokensep gettext
> +
> +do_configure_prepend() {
> + = ;   autoreconf --verbose --install --force -I . -I confdb/ -I maint/> +    oe_runconf
> +&nb= sp;   exit
> +}
> --
> 1.9.1
>
> -- > _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> = https://lists.yoctoproject.org/listinfo/yocto

>
>
>


= --
Victor Rodriguez


Open Source Technology Center




=
------=_Part_2900620_1488734473.1424451679734--