Skip to contentSkip to conversation

Fix issue re-running sqlite configure step

PATCH Superseded Anders Darander 3 participants 4 messages Apr 5, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Fix issue re-running sqlite configure step

A recent update of meta-oe and oe-core force a rebuild of e.g. sqlite in my tree. This made sqlite error out in the configure step, as it couldn't find sqlite.pc, which had already been moved in a prior run of do_configure.

The following changes since commit a6790d602eb91069b1f618697e66a38619bcd690:

v4l-utils: correct license delimiter (2012-04-04 20:36:48 +0200)

are available in the git repository at:
git://github.com/darander/meta-oe sqlite-configure
https://github.com/darander/meta-oe/tree/sqlite-configure

Anders Darander (1):
sqlite: cp instead of mv in do_configure

 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 sqlite: cp instead of mv in do_configure

The use of mv in do_configure() made bitbake error out if a second run of do_configure was requested. Copy the file instead.

---
 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb +1 -1
index b8e03c4..733bb9e 100644
@@ -22,7 +22,7 @@ inherit autotools pkgconfig
 do_configure() {
     echo "main.mk is patched, no need to configure"
     # make pkgconfig.bbclass pick this up
-    mv ${WORKDIR}/sqlite.pc ${S}
+    cp ${WORKDIR}/sqlite.pc ${S}
 }
 
 do_compile() {
Signature · 1 line
1.7.5.4
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH 1/1] sqlite: cp instead of mv in do_configure

Quoted 4 lines · Anders Darander

The use of mv in do_configure() made bitbake error out if a second run of do_configure was requested. Copy the file instead.

This fixes the build-failures I had :-D I were going to propose same change.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#3 lore raw
In reply to Anders Darander

Subject: [oe] [PATCH 0/1] Fix issue re-running sqlite configure step

should obviously have been
[meta-oe] [PATCH 0/1] Fix issue re-running sqlite configure step

Quoted 28 lines · Anders Darander

A recent update of meta-oe and oe-core force a rebuild of e.g. sqlite in my tree. This made sqlite error out in the configure step, as it couldn't find sqlite.pc, which had already been moved in a prior run of do_configure.

The following changes since commit a6790d602eb91069b1f618697e66a38619bcd690:

 v4l-utils: correct license delimiter (2012-04-04 20:36:48 +0200)

are available in the git repository at:
 git://github.com/darander/meta-oe sqlite-configure
 https://github.com/darander/meta-oe/tree/sqlite-configure

Anders Darander (1):
 sqlite: cp instead of mv in do_configure

 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)

--
1.7.5.4

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

Signature · 4 lines
Anders Darander
EPO guidelines 1978: "If the contribution to the known art resides
solely in a computer program then the subject matter is not
patentable in whatever manner it may be presented in the claims."