Skip to contentSkip to conversation

enjoy: Fix commit 1265ac and append to `DEPENDS`.

PATCH In review Paul Menzel 2 participants 3 messages Dec 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 enjoy: Fix commit 1265ac and append to `DEPENDS`.

Date: Mon, 6 Dec 2010 14:11:30 +0100

With commit 1265ac »enjoy_svn.bb: add missing DEPENDS for the needed gst-plugins« [1] previous DEPENDS assignment was discarded and task configure failed with the following error.

checking pkg-config is at least version 0.9.0... yes
checking for EDBUS... configure: error: Package requirements (edbus) were not met:

No package 'edbus' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables EDBUS_CFLAGS and EDBUS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

ERROR: Function do_configure failed

This patch fixes the error above and is tested using the following configurations.

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "2bd4f33"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "next"
TARGET_FPU = "hard"

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "fa3f861"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "minimal"
DISTRO_VERSION = "dev-snapshot-20101206"
TARGET_FPU = "hard"

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1265ac068aa9f5bf0d8fee2cfbf8a1492cabe5a3

---
 recipes/e17/enjoy_svn.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/e17/enjoy_svn.bb +2 -2
index bd1c659..20c9c63 100644
@@ -3,9 +3,9 @@ LICENSE = "LGPLv3"
 DEPENDS = "evas ecore edje emotion lightmediascanner"
 SRCREV = "${EFL_SRCREV}"
 PV = "0.0+svnr${SRCPV}"
-PR = "r2"
+PR = "r3"
 
-DEPENDS = "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)}"
+DEPENDS += "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)}"
 
 #1st needed for all formats
 #2nd needed for mp3 playback
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 2/2 enjoy: add `elementary` to `DEPENDS`

Date: Mon, 6 Dec 2010 14:22:16 +0100

Task configure fails with the following error message.

	| checking pkg-config is at least version 0.9.0... yes
	| checking for EDBUS... yes
	| checking for ELEMENTARY... configure: error: Package requirements (elementary ecore-file) were not met:
	|
	| No package 'elementary' found
	|
	| Consider adjusting the PKG_CONFIG_PATH environment variable if you
	| installed software in a non-standard prefix.
	|
	| Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
	| and ELEMENTARY_LIBS to avoid the need to call pkg-config.
	| See the pkg-config man page for more details.
	|
	| ERROR: Function do_configure failed

NOTE: package enjoy-0.0+svnr55157-r2: task do_configure: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/e17/enjoy_svn.bb do_configure failed
ERROR: Task 12 (/oe/openembedded/recipes/e17/enjoy_svn.bb, do_configure) failed with 256
ERROR: '/oe/openembedded/recipes/e17/enjoy_svn.bb' failed
ERROR: '/oe/openembedded/recipes/e17/enjoy_svn.bb' failed
ERROR: '/oe/openembedded/recipes/e17/enjoy_svn.bb' failed

Adding elementary to DEPENDS fixes this problem and is tested with the following configurations.

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "2bd4f33"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "next"
TARGET_FPU = "hard"

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "fa3f861"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "minimal"
DISTRO_VERSION = "dev-snapshot-20101206"
TARGET_FPU = "hard"

---
 recipes/e17/enjoy_svn.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/e17/enjoy_svn.bb +2 -2
index 20c9c63..3288338 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "Enjoy music player"
 LICENSE = "LGPLv3"
-DEPENDS = "evas ecore edje emotion lightmediascanner"
+DEPENDS = "evas ecore edje elementary emotion lightmediascanner"
 SRCREV = "${EFL_SRCREV}"
 PV = "0.0+svnr${SRCPV}"
-PR = "r3"
+PR = "r4"
 
 DEPENDS += "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)}"
 
Signature · 1 line
1.7.2.3
#2 lore raw
In reply to Paul Menzel

Am Montag, 6. Dezember 2010, 14:42:25 schrieb Paul Menzel:

Quoted 70 lines

Date: Mon, 6 Dec 2010 14:11:30 +0100

With commit 1265ac »enjoy_svn.bb: add missing DEPENDS for the needed gst-plugins« [1] previous DEPENDS assignment was discarded and task configure failed with the following error.

checking pkg-config is at least version 0.9.0... yes checking for EDBUS... configure: error: Package requirements
(edbus) were not met:

No package 'edbus' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables EDBUS_CFLAGS and EDBUS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

ERROR: Function do_configure failed

This patch fixes the error above and is tested using the following configurations.

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "2bd4f33"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "angstrom"
DISTRO_VERSION = "next"
TARGET_FPU = "hard"

Build Configuration:
BB_VERSION = "1.10.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "fa3f861"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "minimal"
DISTRO_VERSION = "dev-snapshot-20101206"
TARGET_FPU = "hard"

[1]
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1265ac068aa9
f5bf0d8fee2cfbf8a1492cabe5a3

---
 recipes/e17/enjoy_svn.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/e17/enjoy_svn.bb +1 -2
index bd1c659..20c9c63 100644
@@ -3,9 +3,9 @@ LICENSE = "LGPLv3"
 DEPENDS = "evas ecore edje emotion lightmediascanner"
 SRCREV = "${EFL_SRCREV}"
 PV = "0.0+svnr${SRCPV}"
-PR = "r2"
+PR = "r3"
 
-DEPENDS = "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1',

'', 'gst-plugins-ugly', d)}" +DEPENDS += "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)}"

Quoted 2 lines

#1st needed for all formats
#2nd needed for mp3 playback

Duhh. I'm a blind man :/ Thanks for fixing :-)

Signature · 1 line
Klaus 'mrmoku' Kurzmann