[oe] [oe-commits] Joe MacDonald : nis: blacklist updated yp tools

Martin Jansa martin.jansa at gmail.com
Thu Mar 5 23:02:07 UTC 2015


On Thu, Mar 05, 2015 at 03:12:34PM +0000, git at git.openembedded.org wrote:
> Module: meta-openembedded.git
> Branch: master
> Commit: 345463da86ea4703bb61708f31e86f380ec8a093
> URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=345463da86ea4703bb61708f31e86f380ec8a093
> 
> Author: Joe MacDonald <joe_macdonald at mentor.com>
> Date:   Thu Mar  5 10:11:11 2015 -0500
> 
> nis: blacklist updated yp tools
> 
> The updated yp-tools fails on qemuarm:
> 
>     /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/yp-tools/3.3-r0/yp-tools-3.3/lib/do_ypcall.c: In function 'do_ypcall_tr':
>     /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/yp-tools/3.3-r0/yp-tools-3.3/lib/do_ypcall.c:461:27:
>     error: cast increases required alignment of target type [-Werror=cast-align]
>          status = ypprot_err (((struct ypresp_val *) resp)->status);
> 
> http://errors.yoctoproject.org/Errors/Details/9221/
> 
> Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
> 
> ---
> 
>  meta-networking/recipes-support/nis/yp-tools_3.3.bb  | 2 ++
>  meta-networking/recipes-support/nis/ypbind-mt_2.2.bb | 2 ++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/meta-networking/recipes-support/nis/yp-tools_3.3.bb b/meta-networking/recipes-support/nis/yp-tools_3.3.bb
> index 75ad989..b89f0b8 100644
> --- a/meta-networking/recipes-support/nis/yp-tools_3.3.bb
> +++ b/meta-networking/recipes-support/nis/yp-tools_3.3.bb
> @@ -11,6 +11,8 @@ ypwhich, yppasswd, domainname, nisdomainname \
>  and ypdomainname. \
>  "
>  
> +PNBLACKLIST[yp-tools] ?= "BROKEN: fails to build for qemuarm."
> +
>  SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \
>             file://domainname.service \
>             file://yp-tools-ipv4-ipv6-Provide-an-in-place-version-of-mapv4v6addr.patch \
> diff --git a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
> index b960757..0444bfe 100644
> --- a/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
> +++ b/meta-networking/recipes-support/nis/ypbind-mt_2.2.bb
> @@ -18,6 +18,8 @@ HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html"
>  DEPENDS = "yp-tools"
>  PROVIDES += "ypbind"
>  
> +PNBLACKLIST[yp-bind] ?= "BROKEN: Depends on broken yp-tools"

typo yp-bind ypbind-mt

as result ypbind-mt now fails to build with:
| configure: error: Package requirements (libnis) were not met:
| 
| No package 'libnis' found
| 
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
| 
| Alternatively, you may set the environment variables NIS_CFLAGS
| and NIS_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/ypbind-mt/2.2-r0/temp/log.do_configure.16370)
NOTE: recipe ypbind-mt-2.2-r0: task do_configure: Failed

probably because yp-tools are too old

> +
>  SRC_URI = "http://www.linux-nis.org/download/ypbind-mt/${BP}.tar.bz2 \
>             file://ypbind-yocto.init \
>             file://ypbind.service \
> 
> -- 
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150306/9b2c88ed/attachment-0002.sig>


More information about the Openembedded-devel mailing list