Skip to contentSkip to conversation

musicbrainz: Build with B=S

PATCH In review [email protected] 3 participants 4 messages Mar 1, 2014 – Mar 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 musicbrainz: Build with B=S

From: Mike Looijmans <[email protected]>

This recipe doesn't work when B!=S, so force B=$S to fix the failure.

---
 .../musicbrainz/libmusicbrainz_git.bb              |    3 +++
 1 file changed, 3 insertions(+)
meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb +3 -0
index f6a8f53..4cc04b8 100644
@@ -37,3 +37,6 @@ do_configure_prepend() {
 
 EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \
                  -DIMPORT_EXECUTABLES=build-native/ImportExecutables.cmake"
+
+# out-of-tree building doesn't appear to work for this package.
+B = "${S}"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · On Sat, Mar 01, 2014 at 06:54:47PM +0100, [email protected] wrote:

From: Mike Looijmans <[email protected]>

This recipe doesn't work when B!=S, so force B=$S to fix the failure.

What's the relation of this change to
http://patchwork.openembedded.org/patch/67597/
?

Quoted 22 lines
---
 .../musicbrainz/libmusicbrainz_git.bb              |    3 +++
 1 file changed, 3 insertions(+)
meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb +3 -0
index f6a8f53..4cc04b8 100644
@@ -37,3 +37,6 @@ do_configure_prepend() {
 
 EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \
                  -DIMPORT_EXECUTABLES=build-native/ImportExecutables.cmake"
+
+# out-of-tree building doesn't appear to work for this package.
+B = "${S}"
Signature · 6 lines
1.7.9.5

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 9 lines · Martin Jansa
Quoted 5 lines · On Sat, Mar 01, 2014 at 06:54:47PM +0100, [email protected] wrote:

From: Mike Looijmans <[email protected]>

This recipe doesn't work when B!=S, so force B=$S to fix the failure.

What's the relation of this change to
http://patchwork.openembedded.org/patch/67597/
?

I suspect they both accomplish the same: Make the project compile again. Mine is the simplistic approach I guess - I did the least I could possible get away with... "Theirs" looks more like they actually understand what's going on

Mike.

Quoted 22 lines
Quoted 22 lines
---
  .../musicbrainz/libmusicbrainz_git.bb              |    3 +++
  1 file changed, 3 insertions(+)
meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb +3 -0
index f6a8f53..4cc04b8 100644
@@ -37,3 +37,6 @@ do_configure_prepend() {
 
  EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \
                   -DIMPORT_EXECUTABLES=build-native/ImportExecutables.cmake"
+
+# out-of-tree building doesn't appear to work for this package.
+B = "${S}"
Signature · 6 lines
1.7.9.5

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Mike Looijmans
#3 lore raw

I may have gone extra steps to get to the bottom of the build error, but my solution is not even slightly pretty. If it works to just set $B=$S that is simpler than my do_configure hack. Otherwise we'd have to look into a change in cmake class which I doubt is justified--or further patch libmusicbrainz.
KISS.

--Tim

Quoted 62 lines · Mike Looijmans
Quoted 4 lines · Martin Jansa
Quoted 2 lines · On Sat, Mar 01, 2014 at 06:54:47PM +0100, [email protected] wrote:

From: Mike Looijmans <[email protected]>

Quoted 8 lines
Quoted 4 lines

This recipe doesn't work when B!=S, so force B=$S to fix the failure.

What's the relation of this change to
http://patchwork.openembedded.org/patch/67597/
?

I suspect they both accomplish the same: Make the project compile again. Mine is the simplistic approach I guess - I did the least I could possible get away with... "Theirs" looks more like they actually understand what's going on

Mike.

---

Quoted 21 lines
Quoted 21 lines
  .../musicbrainz/libmusicbrainz_git.bb              |    3 +++
  1 file changed, 3 insertions(+)
(quoted diff) +0 -0

cbrainz_git.bb b/meta-multimedia/recipes-multimedia/musicbrainz/libmusi cbrainz_git.bb
index f6a8f53..4cc04b8 100644
--- a/meta-multimedia/recipes-multimedia/musicbrainz/libmusi cbrainz_git.bb
+++ b/meta-multimedia/recipes-multimedia/musicbrainz/libmusi cbrainz_git.bb

(quoted diff) +0 -0
@@ -37,3 +37,6 @@ do_configure_prepend() {
    EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \
                   -DIMPORT_EXECUTABLES=build-native/ImportExecutables.

cmake"

meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb +3 -1
+
+# out-of-tree building doesn't appear to work for this package.
+B = "${S}"
--

1.7.9.5

Quoted 6 lines
Quoted 5 lines

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

--
Mike Looijmans

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