Skip to contentSkip to conversation

gnuradio : Update recipe to build on all machines again.

PATCH Superseded Philip Balister 3 participants 5 messages May 13, 2013 – May 19, 2013

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnuradio : Update recipe to build on all machines again.

Also updated the git repo address after recent changes in hosting.

The recipe failed to build for machines without neon as a tune feature. The cmake config options have been changed so that it configures properly now.

Test on armv7a, x86, and x86-64.

---
 meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +3 -7
index edd4615..9e6998b 100644
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
 GIT_REPO = "gnuradio.git"
 GIT_BRANCH = "master"
 
-SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
+SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
 "
 
 S="${WORKDIR}/git"
@@ -88,15 +88,11 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
                  -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
                  -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
                  -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
+                 ${@base_contains('TUNE_FEATURES', 'neon', \
+                     '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
 "
 
 inherit distutils-base cmake pkgconfig
 
 EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
 
-# Only builds for machines with neon instructions. Problem is in upstream cmake.
-python () {
-    if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
-        raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
-}
-
Signature · 1 line
1.7.11.7
#1 lore raw
Quoted 33 lines · Philip Balister

Also updated the git repo address after recent changes in hosting.

The recipe failed to build for machines without neon as a tune feature. The cmake config options have been changed so that it configures properly now.

Test on armv7a, x86, and x86-64.

---
 meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +3 -1
index edd4615..9e6998b 100644
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
 GIT_REPO = "gnuradio.git"
 GIT_BRANCH = "master"
 
-SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
+SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
 "
 
 S="${WORKDIR}/git"
@@ -88,15 +88,11 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
                  -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
                  -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
                  -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
+                 ${@base_contains('TUNE_FEATURES', 'neon', \
+                     '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
 "

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ · line 101

Quoted 10 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -5
 
 inherit distutils-base cmake pkgconfig
 
 EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
 
-# Only builds for machines with neon instructions. Problem is in upstream cmake.
-python () {
-    if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
-        raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
-}

Hi,

this enables gnuradio to build on qemu* MACHINEs I'm testing and it failed on all 3 because of docs generation, can you disable it?

| [ 20%] /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml:6: warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| ]>
|   ^
| warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| validity error : Could not load the external subset "docbookx.dtd"
| Document /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml does not validate

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 50 lines · Martin Jansa
Quoted 33 lines · Philip Balister

Also updated the git repo address after recent changes in hosting.

The recipe failed to build for machines without neon as a tune feature. The cmake config options have been changed so that it configures properly now.

Test on armv7a, x86, and x86-64.

---
 meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +3 -1
index edd4615..9e6998b 100644
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
 GIT_REPO = "gnuradio.git"
 GIT_BRANCH = "master"
 
-SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
+SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
 "
 
 S="${WORKDIR}/git"
@@ -88,15 +88,11 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
                  -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
                  -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
                  -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
+                 ${@base_contains('TUNE_FEATURES', 'neon', \
+                     '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
 "

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ · line 101

Quoted 10 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -5
 
 inherit distutils-base cmake pkgconfig
 
 EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
 
-# Only builds for machines with neon instructions. Problem is in upstream cmake.
-python () {
-    if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
-        raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
-}

Hi,

this enables gnuradio to build on qemu* MACHINEs I'm testing and it failed on all 3 because of docs generation, can you disable it?

Quoted 7 lines
| [ 20%] /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml:6: warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| ]>
|   ^
| warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| validity error : Could not load the external subset "docbookx.dtd"
| Document /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml does not validate

Thanks. Do you want me to make a new patch including that and resend?

It built on my machine, I wonder if there is a host contamination issue?

Philip

Quoted 9 lines

Cheers,

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 59 lines · Philip Balister
Quoted 50 lines · Martin Jansa
Quoted 33 lines · Philip Balister

Also updated the git repo address after recent changes in hosting.

The recipe failed to build for machines without neon as a tune feature. The cmake config options have been changed so that it configures properly now.

Test on armv7a, x86, and x86-64.

---
 meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +3 -1
index edd4615..9e6998b 100644
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
 GIT_REPO = "gnuradio.git"
 GIT_BRANCH = "master"
 
-SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
+SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
 "
 
 S="${WORKDIR}/git"
@@ -88,15 +88,11 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
                  -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
                  -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \
                  -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \
+                 ${@base_contains('TUNE_FEATURES', 'neon', \
+                     '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \
 "

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ · line 101

Quoted 10 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -5
 
 inherit distutils-base cmake pkgconfig
 
 EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
 
-# Only builds for machines with neon instructions. Problem is in upstream cmake.
-python () {
-    if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d):
-        raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
-}

Hi,

this enables gnuradio to build on qemu* MACHINEs I'm testing and it failed on all 3 because of docs generation, can you disable it?

Quoted 7 lines
| [ 20%] /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml:6: warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| ]>
|   ^
| warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"
| validity error : Could not load the external subset "docbookx.dtd"
| Document /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml does not validate
Quoted 1 line

Thanks. Do you want me to make a new patch including that and resend?

Can be in separate patch, but I would like to apply them together (so that I don't get new failure on world builds)

Quoted 1 line

It built on my machine, I wonder if there is a host contamination issue?

docs are broken for long time:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2416

a lot of components is disabling docs (if configure option available) or dropping them from SUBDIRs in Makefile.am with sed.

Cheers,

Quoted 13 lines

Philip

Quoted 9 lines

Cheers,

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
Quoted 6 lines · Martin Jansa
Quoted 5 lines · Philip Balister
Quoted 4 lines · Martin Jansa
Quoted 3 lines · Philip Balister

Also updated the git repo address after recent changes in hosting.

The recipe failed to build for machines without neon as a tune

feature.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

The cmake config options have been changed so that it configures

properly

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

Review

Quoted 10 lines

now.

Test on armv7a, x86, and x86-64.

---
 meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
(quoted diff) +0 -0

gnuradio_git.bb

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087" · line 73

Quoted 8 lines

index edd4615..9e6998b 100644

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -1
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087"
 GIT_REPO = "gnuradio.git"
 GIT_BRANCH = "master"
 
-SRC_URI = "git://

gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \

Quoted 1 line
Quoted 1 line
Quoted 1 line

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087" · line 73

Quoted 1 line
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +1 -0
+SRC_URI = "git://

git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ · line 89

Quoted 6 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -0
 "
 
 S="${WORKDIR}/git"
@@ -88,15 +88,11 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \
                  -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \
 

-DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

-DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb

Quoted 2 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +2 -0
+                 ${@base_contains('TUNE_FEATURES', 'neon', \
+                     '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)}

\

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

"

inherit distutils-base cmake pkgconfig

EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"

-# Only builds for machines with neon instructions. Problem is in

upstream cmake.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb

Quoted 2 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -2
-python () {
-    if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False,

d):

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ · line 101

Quoted 2 lines
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +0 -2
-        raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES")
-}

Hi,

this enables gnuradio to build on qemu* MACHINEs I'm testing and it failed on all 3 because of docs generation, can you disable it?

| [ 20%]

/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml:6:
warning: failed to load external entity "/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
| ]>
|   ^
| warning: failed to load external entity

"/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/docbookx.dtd"

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

| validity error : Could not load the external subset "docbookx.dtd" | Document

/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gnuradio/3.6.4.1-r0/git/gr-trellis/doc/gr-trellis.xml does not validate

Quoted 8 lines
Quoted 1 line
Quoted 1 line

Can be in separate patch, but I would like to apply them together (so that I don't get new failure on world builds)

Quoted 1 line

It built on my machine, I wonder if there is a host contamination issue?

docs are broken for long time:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2416

Can you cook patches for these native recipes for oe-core seems you know most about the issue
It would really be very helpful

Quoted 25 lines

a lot of components is disabling docs (if configure option available) or dropping them from SUBDIRs in Makefile.am with sed.

Cheers,

Quoted 13 lines

Philip

Quoted 9 lines

Cheers,

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa jabber: [email protected]