All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 01/12] nss: update to 3.21
Date: Tue, 19 Jan 2016 11:05:17 -0800	[thread overview]
Message-ID: <D70F5507-7ED6-4281-8FC9-4BFE9EAD0B72@gmail.com> (raw)
In-Reply-To: <5f464411a18a53b395e749b2b3a1fbfaab4ffd74.1453217744.git.alexander.kanavin@linux.intel.com>

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


> On Jan 19, 2016, at 7:37 AM, Alexander Kanavin <alexander.kanavin@linux.intel.com> wrote:
> 
> Explicitly disable tests (they were previously implicitly disabled upstream),
> as they cause various architecture-specific build failures.
> 
> Add 0001-Fix-build-failure-on-opensuse-13.1.patch that fixes compilation using gcc 4.8.
> 
> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> ---
> .../0001-Fix-build-failure-on-opensuse-13.1.patch  | 27 ++++++++++++++++++++++
> .../nss/{nss_3.19.2.bb => nss_3.21.bb}             | 11 ++++++---
> 2 files changed, 35 insertions(+), 3 deletions(-)
> create mode 100644 meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch
> rename meta/recipes-support/nss/{nss_3.19.2.bb => nss_3.21.bb} (95%)
> 
> diff --git a/meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch b/meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch
> new file mode 100644
> index 0000000..cb3ad00
> --- /dev/null
> +++ b/meta/recipes-support/nss/nss/0001-Fix-build-failure-on-opensuse-13.1.patch
> @@ -0,0 +1,27 @@
> +From 8758c6a4508a5ca01505a8d69a269c912ce10bee Mon Sep 17 00:00:00 2001
> +From: Alexander Kanavin <alex.kanavin@gmail.com>
> +Date: Mon, 18 Jan 2016 18:26:16 +0000
> +Subject: [PATCH] Fix build failure on opensuse 13.1
> +
> +Upstream-Status: Inappropriate [gcc 4.8 specific issue]
> +Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> +---
> + nss/cmd/modutil/install-ds.h | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/nss/cmd/modutil/install-ds.h b/nss/cmd/modutil/install-ds.h
> +index 3a3afb3..433efe0 100644
> +--- a/nss/cmd/modutil/install-ds.h
> ++++ b/nss/cmd/modutil/install-ds.h
> +@@ -243,7 +243,7 @@ struct Pk11Install_Info_str {
> + Pk11Install_Info*
> + Pk11Install_Info_new();
> + void
> +-Pk11Install_Info_init();
> ++Pk11Install_Info_init(Pk11Install_Info* _this);
> + void
> + Pk11Install_Info_delete(Pk11Install_Info* _this);
> + /*// Returns NULL for success, error message if parse error.*/
> +--
> +1.8.4.5
> +
> diff --git a/meta/recipes-support/nss/nss_3.19.2.bb b/meta/recipes-support/nss/nss_3.21.bb
> similarity index 95%
> rename from meta/recipes-support/nss/nss_3.19.2.bb
> rename to meta/recipes-support/nss/nss_3.21.bb
> index c51b056..24892b4 100644
> --- a/meta/recipes-support/nss/nss_3.19.2.bb
> +++ b/meta/recipes-support/nss/nss_3.21.bb
> @@ -15,17 +15,18 @@ LIC_FILES_CHKSUM = "file://nss/COPYING;md5=3b1e88e1b9c0b5a4b2881d46cce06a18 \
>                     file://nss/lib/freebl/mpi/doc/LICENSE-MPL;md5=5d425c8f3157dbf212db2ec53d9e5132"
> 
> SRC_URI = "\
> -    http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_19_2_RTM/src/${BP}.tar.gz \
> +    http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_21_RTM/src/${BP}.tar.gz \
>     file://nss-fix-support-cross-compiling.patch \
>     file://nss-no-rpath-for-cross-compiling.patch \
>     file://nss-fix-incorrect-shebang-of-perl.patch \
>     file://nss-fix-nsinstall-build.patch \
> +    file://0001-Fix-build-failure-on-opensuse-13.1.patch \
>     file://nss.pc.in \
>     file://signlibs.sh \
> "
> 
> -SRC_URI[md5sum] = "b02ffd1e8e8ef5f8512fa02d8ca9db3d"
> -SRC_URI[sha256sum] = "1306663e8f61d8449ad8cbcffab743a604dcd9f6f34232c210847c51dce2c9ae"
> +SRC_URI[md5sum] = "3c8b2ed880dd3a8d86c9e0151afe6eba"
> +SRC_URI[sha256sum] = "3f7a5b027d7cdd5c0e4ff7544da33fdc6f56c2f8c27fff02938fd4a6fbe87239"
> 
> UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases"
> UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes"
> @@ -84,6 +85,8 @@ do_compile() {
>         export USE_X32=1
>     fi
> 
> +    export NSS_DISABLE_GTESTS=1
> +
>     # We can modify CC in the environment, but if we set it via an
>     # argument to make, nsinstall, a host program, will also build with it!
>     #
> @@ -129,6 +132,8 @@ do_install() {
>         export USE_X32=1
>     fi
> 
> +    export NSS_DISABLE_GTESTS=1
> +

this export is appearing twice
can it be optimized ?

>     make -C ./nss \
>         CCC="${CXX}" \
>         OS_TEST=${OS_TEST} \
> --
> 2.6.4
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

  reply	other threads:[~2016-01-19 19:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 15:37 [PATCH 00/12] Package version updates and version check fixes Alexander Kanavin
2016-01-19 15:37 ` [PATCH 01/12] nss: update to 3.21 Alexander Kanavin
2016-01-19 19:05   ` Khem Raj [this message]
2016-01-21 14:50     ` Alexander Kanavin
2016-01-21 15:18       ` Khem Raj
2016-01-19 15:37 ` [PATCH 02/12] bootchart2: update to 0.14.8 Alexander Kanavin
2016-01-19 15:37 ` [PATCH 03/12] btrfs-tools: update to 4.4 Alexander Kanavin
2016-01-19 15:37 ` [PATCH 04/12] build-appliance-image: bump version to 14.0 Alexander Kanavin
2016-01-19 15:37 ` [PATCH 05/12] e2fsprogs: fix upstream version check Alexander Kanavin
2016-01-19 15:37 ` [PATCH 06/12] libsolv: " Alexander Kanavin
2016-01-19 15:37 ` [PATCH 07/12] ncurses: " Alexander Kanavin
2016-01-19 15:37 ` [PATCH 08/12] pbzip2: update to 1.1.13 Alexander Kanavin
2016-01-19 15:37 ` [PATCH 09/12] sysstat: fix upstream version check Alexander Kanavin
2016-01-19 15:37 ` [PATCH 10/12] gnutls: update to 3.4.8 Alexander Kanavin
2016-01-19 15:37 ` [PATCH 11/12] libical: fix upstream version check Alexander Kanavin
2016-01-19 15:37 ` [PATCH 12/12] libjpeg-turbo: fix upstream version check (sort of) Alexander Kanavin

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=D70F5507-7ED6-4281-8FC9-4BFE9EAD0B72@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=alexander.kanavin@linux.intel.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 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.