Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] cmake-native: Fix build on ubuntu
@ 2012-07-20  5:22 Khem Raj
  2012-07-20  5:22 ` [PATCH 2/3] binutils: Add missing target package dependencies Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Khem Raj @ 2012-07-20  5:22 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

From: Khem Raj <kraj@juniper.net>

Fixes errors like

/yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_entry.c:56:55:
fatal error: ext2fs/ext2_fs.h: No such file or directory

Signed-off-by: Khem Raj <kraj@juniper.net>
---
 meta/recipes-devtools/cmake/cmake-native_2.8.5.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb b/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
index 3fe0c2e..98ae300 100644
--- a/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
@@ -1,7 +1,9 @@
 require cmake.inc
 inherit native
 
-PR = "${INC_PR}.1"
+DEPENDS += "e2fsprogs-native"
+
+PR = "${INC_PR}.2"
 
 SRC_URI[md5sum] = "3c5d32cec0f4c2dc45f4c2e84f4a20c5"
 SRC_URI[sha256sum] = "5e18bff75f01656c64f553412a8905527e1b85efaf3163c6fb81ea5aaced0b91"
-- 
1.7.9.5




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

* [PATCH 2/3] binutils: Add missing target package dependencies
  2012-07-20  5:22 [PATCH 1/3] cmake-native: Fix build on ubuntu Khem Raj
@ 2012-07-20  5:22 ` Khem Raj
  2012-07-21  0:26   ` Saul Wold
  2012-07-20  5:23 ` [PATCH 3/3] puzzles, mkelfimage: Use svn protocol instead of http Khem Raj
  2012-07-20  7:42 ` [PATCH 1/3] cmake-native: Fix build on ubuntu Richard Purdie
  2 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2012-07-20  5:22 UTC (permalink / raw)
  To: openembedded-core

e.g. libfl from flex is needed for target
binutils to link otherwise it can fail to build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/binutils/binutils-2.22.inc |    2 +-
 meta/recipes-devtools/binutils/binutils_2.22.bb  |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/binutils/binutils-2.22.inc b/meta/recipes-devtools/binutils/binutils-2.22.inc
index e776985..e3e179d 100644
--- a/meta/recipes-devtools/binutils/binutils-2.22.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.22.inc
@@ -1,4 +1,4 @@
-PR = "r12"
+PR = "r13"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
diff --git a/meta/recipes-devtools/binutils/binutils_2.22.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb
index b8e1112..b8250d8 100644
--- a/meta/recipes-devtools/binutils/binutils_2.22.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.22.bb
@@ -1,5 +1,8 @@
 require binutils.inc
 require binutils-${PV}.inc
+
+DEPENDS += "flex bison zlib"
+
 EXTRA_OECONF += "--with-sysroot=/ \
                 --enable-install-libbfd \
                 --enable-shared \
-- 
1.7.9.5




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

* [PATCH 3/3] puzzles, mkelfimage: Use svn protocol instead of http
  2012-07-20  5:22 [PATCH 1/3] cmake-native: Fix build on ubuntu Khem Raj
  2012-07-20  5:22 ` [PATCH 2/3] binutils: Add missing target package dependencies Khem Raj
@ 2012-07-20  5:23 ` Khem Raj
  2012-07-20  7:42 ` [PATCH 1/3] cmake-native: Fix build on ubuntu Richard Purdie
  2 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2012-07-20  5:23 UTC (permalink / raw)
  To: openembedded-core

These repos are not setup to serve through http protocol

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb |    2 +-
 meta/recipes-sato/puzzles/puzzles_r9561.bb         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb
index eb6aa71..ca145ff 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb
@@ -10,7 +10,7 @@ PR = "r1"
 
 DEPENDS += "zlib"
 
-SRC_URI = "svn://coreboot.org/coreboot/trunk/util;module=mkelfImage;protocol=http \
+SRC_URI = "svn://coreboot.org/coreboot/trunk/util;module=mkelfImage;protocol=svn \
            file://cross-compile.patch \
           "
 
diff --git a/meta/recipes-sato/puzzles/puzzles_r9561.bb b/meta/recipes-sato/puzzles/puzzles_r9561.bb
index 7c18421..310798d 100644
--- a/meta/recipes-sato/puzzles/puzzles_r9561.bb
+++ b/meta/recipes-sato/puzzles/puzzles_r9561.bb
@@ -9,7 +9,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=453de74d749439762ef4814f7bee1fec"
 
 # Upstream updates puzzles.tar.gz for the new release, so checksums seem to be changing regularly right now
-SRC_URI = "svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV};protocol=http"
+SRC_URI = "svn://svn.tartarus.org/sgt;module=puzzles;rev=${MOD_PV};protocol=svn"
 S = "${WORKDIR}/${BPN}"
 
 #SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz"
-- 
1.7.9.5




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

* Re: [PATCH 1/3] cmake-native: Fix build on ubuntu
  2012-07-20  5:22 [PATCH 1/3] cmake-native: Fix build on ubuntu Khem Raj
  2012-07-20  5:22 ` [PATCH 2/3] binutils: Add missing target package dependencies Khem Raj
  2012-07-20  5:23 ` [PATCH 3/3] puzzles, mkelfimage: Use svn protocol instead of http Khem Raj
@ 2012-07-20  7:42 ` Richard Purdie
  2 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2012-07-20  7:42 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Khem Raj

On Thu, 2012-07-19 at 22:22 -0700, Khem Raj wrote:
> From: Khem Raj <kraj@juniper.net>
> 
> Fixes errors like
> 
> /yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_entry.c:56:55:
> fatal error: ext2fs/ext2_fs.h: No such file or directory
> 
> Signed-off-by: Khem Raj <kraj@juniper.net>
> ---
>  meta/recipes-devtools/cmake/cmake-native_2.8.5.bb |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb b/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
> index 3fe0c2e..98ae300 100644
> --- a/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
> +++ b/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
> @@ -1,7 +1,9 @@
>  require cmake.inc
>  inherit native
>  
> -PR = "${INC_PR}.1"
> +DEPENDS += "e2fsprogs-native"
> +
> +PR = "${INC_PR}.2"
>  
>  SRC_URI[md5sum] = "3c5d32cec0f4c2dc45f4c2e84f4a20c5"
>  SRC_URI[sha256sum] = "5e18bff75f01656c64f553412a8905527e1b85efaf3163c6fb81ea5aaced0b91"

Does cmake really need e2fsprogs? Can we disable that dependency
instead? What would we lose?

Cheers,

Richard




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

* Re: [PATCH 2/3] binutils: Add missing target package dependencies
  2012-07-20  5:22 ` [PATCH 2/3] binutils: Add missing target package dependencies Khem Raj
@ 2012-07-21  0:26   ` Saul Wold
  0 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2012-07-21  0:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/19/2012 10:22 PM, Khem Raj wrote:
> e.g. libfl from flex is needed for target
> binutils to link otherwise it can fail to build
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/recipes-devtools/binutils/binutils-2.22.inc |    2 +-
>   meta/recipes-devtools/binutils/binutils_2.22.bb  |    3 +++
>   2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-2.22.inc b/meta/recipes-devtools/binutils/binutils-2.22.inc
> index e776985..e3e179d 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.22.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.22.inc
> @@ -1,4 +1,4 @@
> -PR = "r12"
> +PR = "r13"
>
>   LIC_FILES_CHKSUM="\
>       file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
> diff --git a/meta/recipes-devtools/binutils/binutils_2.22.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb
> index b8e1112..b8250d8 100644
> --- a/meta/recipes-devtools/binutils/binutils_2.22.bb
> +++ b/meta/recipes-devtools/binutils/binutils_2.22.bb
> @@ -1,5 +1,8 @@
>   require binutils.inc
>   require binutils-${PV}.inc
> +
> +DEPENDS += "flex bison zlib"
> +
>   EXTRA_OECONF += "--with-sysroot=/ \
>                   --enable-install-libbfd \
>                   --enable-shared \
>

Merged this along with 3/3 puzzles, sorry for the confusion on the http, 
I thought I downloaded it correctly, must have hit the mirror.

Thanks
	Sau!



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

end of thread, other threads:[~2012-07-21  0:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20  5:22 [PATCH 1/3] cmake-native: Fix build on ubuntu Khem Raj
2012-07-20  5:22 ` [PATCH 2/3] binutils: Add missing target package dependencies Khem Raj
2012-07-21  0:26   ` Saul Wold
2012-07-20  5:23 ` [PATCH 3/3] puzzles, mkelfimage: Use svn protocol instead of http Khem Raj
2012-07-20  7:42 ` [PATCH 1/3] cmake-native: Fix build on ubuntu Richard Purdie

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