Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] libxml2: add shared library version info to libxml shared libraries
Date: Tue, 3 Jan 2012 00:22:28 +0100	[thread overview]
Message-ID: <20120102232228.GA3958@jama.jama.net> (raw)
In-Reply-To: <1325541916-22423-1-git-send-email-msm@freescale.com>

[-- Attachment #1: Type: text/plain, Size: 3019 bytes --]

On Mon, Jan 02, 2012 at 04:05:16PM -0600, Matthew McClintock wrote:
> This fixes an issue with RPM where it checks version imformation for
> binaries linked against libxml and fails because it's missing info
> 
> | error: Failed dependencies:
> |              libxml2.so.2(LIBXML2_2.6.0) is needed by fmc-0.9.7+2-r2.1.ppce500mc
> |              libxml2.so.2(LIBXML2_2.4.30) is needed by fmc-0.9.7+2-r2.1.ppce500mc
> | ERROR: Function 'do_rootfs' failed (see
> 
> Note: fmc is just an example recipe/name

Weird that I haven't noticed this in oe-core before, but probably
because in oe-core it was always without version. But it looks the same
as this
http://git.openembedded.org/openembedded/commit/?id=50ed401cdaaefb1f5ac33de2838af259a52b1c3a
so
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>

> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  .../libxml/libxml2/fix_version_info.patch          |   23 ++++++++++++++++++++
>  meta/recipes-core/libxml/libxml2_2.7.8.bb          |    4 ++-
>  2 files changed, 26 insertions(+), 1 deletions(-)
>  create mode 100644 meta/recipes-core/libxml/libxml2/fix_version_info.patch
> 
> diff --git a/meta/recipes-core/libxml/libxml2/fix_version_info.patch b/meta/recipes-core/libxml/libxml2/fix_version_info.patch
> new file mode 100644
> index 0000000..77113ef
> --- /dev/null
> +++ b/meta/recipes-core/libxml/libxml2/fix_version_info.patch
> @@ -0,0 +1,23 @@
> +Upstream-Status: Already upstream
> +
> +From 00819877651b87842ed878898ba17dba489820f0 Mon Sep 17 00:00:00 2001
> +From: Daniel Veillard <veillard@redhat.com>
> +Date: Thu, 04 Nov 2010 20:53:14 +0000
> +Subject: Reactivate the shared library versionning script
> +
> +---
> +diff --git a/configure.in b/configure.in
> +index 59d0629..a1d2c89 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -84,7 +84,7 @@ else
> +   esac
> + fi
> + AC_SUBST(VERSION_SCRIPT_FLAGS)
> +-AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -z "$VERSION_SCRIPT_FLAGS"])
> ++AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
> + 
> + dnl
> + dnl We process the AC_ARG_WITH first so that later we can modify
> +--
> +cgit v0.9.0.2
> diff --git a/meta/recipes-core/libxml/libxml2_2.7.8.bb b/meta/recipes-core/libxml/libxml2_2.7.8.bb
> index 2fa246e..0b6ce02 100644
> --- a/meta/recipes-core/libxml/libxml2_2.7.8.bb
> +++ b/meta/recipes-core/libxml/libxml2_2.7.8.bb
> @@ -1,6 +1,8 @@
>  require libxml2.inc
>  
> -PR = "r4"
> +PR = "r5"
> +
> +SRC_URI += "file://fix_version_info.patch"
>  
>  SRC_URI[md5sum] = "8127a65e8c3b08856093099b52599c86"
>  SRC_URI[sha256sum] = "cda23bc9ebd26474ca8f3d67e7d1c4a1f1e7106364b690d822e009fdc3c417ec"
> -- 
> 1.7.6.1
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2012-01-02 23:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-02 22:05 [PATCH] libxml2: add shared library version info to libxml shared libraries Matthew McClintock
2012-01-02 23:22 ` Martin Jansa [this message]
2012-01-02 23:25   ` Martin Jansa
2012-01-03 16:21     ` McClintock Matthew-B29882
2012-01-03 17:31       ` Martin Jansa
2012-01-03 20:41         ` McClintock Matthew-B29882
2012-01-06 16:59           ` McClintock Matthew-B29882
2012-01-12  6:24 ` Saul Wold

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=20120102232228.GA3958@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --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