Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] apr fixes v2
@ 2012-06-30 21:11 Paul Eggleton
  2012-06-30 21:11 ` [PATCH 1/2] apr: add util-linux to DEPENDS for libuuid Paul Eggleton
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-06-30 21:11 UTC (permalink / raw)
  To: openembedded-core

Since v1, rebase on latest master (removing now merged patch to add
libtool) and use site file to set pid_t type.


The following changes since commit 54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:

  mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/apr-fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apr-fixes

Paul Eggleton (2):
  apr: add util-linux to DEPENDS for libuuid
  site/common-linux: fix incorrect size of pid_t for apr

 meta/recipes-support/apr/apr_1.4.6.bb |    3 ++-
 meta/site/common-linux                |    1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
1.7.9.5




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

* [PATCH 1/2] apr: add util-linux to DEPENDS for libuuid
  2012-06-30 21:11 [PATCH 0/2] apr fixes v2 Paul Eggleton
@ 2012-06-30 21:11 ` Paul Eggleton
  2012-06-30 21:11 ` [PATCH 2/2] site/common-linux: fix incorrect size of pid_t for apr Paul Eggleton
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-06-30 21:11 UTC (permalink / raw)
  To: openembedded-core

apr will use libuuid if it is present, and thus we should require that
it is there so that we have a deterministic build.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-support/apr/apr_1.4.6.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb
index 6cd37f1..54c47fe 100644
--- a/meta/recipes-support/apr/apr_1.4.6.bb
+++ b/meta/recipes-support/apr/apr_1.4.6.bb
@@ -1,6 +1,7 @@
 DESCRIPTION = "Apache Portable Runtime (APR) library"
 HOMEPAGE = "http://apr.apache.org/"
 SECTION = "libs"
+DEPENDS = "util-linux"
 
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
-- 
1.7.9.5




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

* [PATCH 2/2] site/common-linux: fix incorrect size of pid_t for apr
  2012-06-30 21:11 [PATCH 0/2] apr fixes v2 Paul Eggleton
  2012-06-30 21:11 ` [PATCH 1/2] apr: add util-linux to DEPENDS for libuuid Paul Eggleton
@ 2012-06-30 21:11 ` Paul Eggleton
  2012-06-30 22:50 ` [PATCH 0/2] apr fixes v2 Khem Raj
  2012-07-03 17:57 ` Saul Wold
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2012-06-30 21:11 UTC (permalink / raw)
  To: openembedded-core

If cross-compiling, apr's configure script assumes that pid_t is
64-bit which is wrong - it appears that 32-bit is a safe assumption
for Linux no matter what the architecture, so use that instead by
default.

This fixes Apache writing garbage to its pid file when built using apr
produced from this recipe.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-support/apr/apr_1.4.6.bb |    2 +-
 meta/site/common-linux                |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb
index 54c47fe..896f79f 100644
--- a/meta/recipes-support/apr/apr_1.4.6.bb
+++ b/meta/recipes-support/apr/apr_1.4.6.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
 
 BBCLASSEXTEND = "native"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
            file://configure_fixes.patch \
diff --git a/meta/site/common-linux b/meta/site/common-linux
index f441abb..8a9146e 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -1,5 +1,6 @@
 # apr
 ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
+ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}
 
 # samba
 samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no}
-- 
1.7.9.5




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

* Re: [PATCH 0/2] apr fixes v2
  2012-06-30 21:11 [PATCH 0/2] apr fixes v2 Paul Eggleton
  2012-06-30 21:11 ` [PATCH 1/2] apr: add util-linux to DEPENDS for libuuid Paul Eggleton
  2012-06-30 21:11 ` [PATCH 2/2] site/common-linux: fix incorrect size of pid_t for apr Paul Eggleton
@ 2012-06-30 22:50 ` Khem Raj
  2012-07-03 17:57 ` Saul Wold
  3 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2012-06-30 22:50 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sat, Jun 30, 2012 at 2:11 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> Since v1, rebase on latest master (removing now merged patch to add
> libtool) and use site file to set pid_t type.
>
>

thanks for second iteration. Looks good now

> The following changes since commit 54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:
>
>  mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)
>
> are available in the git repository at:
>
>  git://git.openembedded.org/openembedded-core-contrib paule/apr-fixes
>  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apr-fixes
>
> Paul Eggleton (2):
>  apr: add util-linux to DEPENDS for libuuid
>  site/common-linux: fix incorrect size of pid_t for apr
>
>  meta/recipes-support/apr/apr_1.4.6.bb |    3 ++-
>  meta/site/common-linux                |    1 +
>  2 files changed, 3 insertions(+), 1 deletion(-)
>
> --
> 1.7.9.5
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: [PATCH 0/2] apr fixes v2
  2012-06-30 21:11 [PATCH 0/2] apr fixes v2 Paul Eggleton
                   ` (2 preceding siblings ...)
  2012-06-30 22:50 ` [PATCH 0/2] apr fixes v2 Khem Raj
@ 2012-07-03 17:57 ` Saul Wold
  3 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2012-07-03 17:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Paul Eggleton

On 06/30/2012 02:11 PM, Paul Eggleton wrote:
> Since v1, rebase on latest master (removing now merged patch to add
> libtool) and use site file to set pid_t type.
>
>
> The following changes since commit 54429dfcca0e35a3aeaa78e509240b87d6a8f4ac:
>
>    mklibs-native: Upgrade to 0.1.34 (2012-06-29 13:21:19 +0100)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib paule/apr-fixes
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/apr-fixes
>
> Paul Eggleton (2):
>    apr: add util-linux to DEPENDS for libuuid
>    site/common-linux: fix incorrect size of pid_t for apr
>
>   meta/recipes-support/apr/apr_1.4.6.bb |    3 ++-
>   meta/site/common-linux                |    1 +
>   2 files changed, 3 insertions(+), 1 deletion(-)
>

Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2012-07-03 18:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-30 21:11 [PATCH 0/2] apr fixes v2 Paul Eggleton
2012-06-30 21:11 ` [PATCH 1/2] apr: add util-linux to DEPENDS for libuuid Paul Eggleton
2012-06-30 21:11 ` [PATCH 2/2] site/common-linux: fix incorrect size of pid_t for apr Paul Eggleton
2012-06-30 22:50 ` [PATCH 0/2] apr fixes v2 Khem Raj
2012-07-03 17:57 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox