All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix issue re-running sqlite configure step
@ 2012-04-05  5:42 Anders Darander
  2012-04-05  5:42 ` [PATCH 1/1] sqlite: cp instead of mv in do_configure Anders Darander
  2012-04-05  5:52 ` [meta-oe] Re: [PATCH 0/1] Fix issue re-running sqlite configure step Anders Darander
  0 siblings, 2 replies; 4+ messages in thread
From: Anders Darander @ 2012-04-05  5:42 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 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




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

* [PATCH 1/1] sqlite: cp instead of mv in do_configure
  2012-04-05  5:42 [PATCH 0/1] Fix issue re-running sqlite configure step Anders Darander
@ 2012-04-05  5:42 ` Anders Darander
  2012-04-05 18:01   ` Otavio Salvador
  2012-04-05  5:52 ` [meta-oe] Re: [PATCH 0/1] Fix issue re-running sqlite configure step Anders Darander
  1 sibling, 1 reply; 4+ messages in thread
From: Anders Darander @ 2012-04-05  5:42 UTC (permalink / raw)
  To: openembedded-devel

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

Signed-off-by: Anders Darander <anders@chargestorm.se>
---
 meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb b/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb
index b8e03c4..733bb9e 100644
--- a/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb
+++ b/meta-oe/recipes-support/sqlite/sqlite_2.8.17.bb
@@ -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() {
-- 
1.7.5.4




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

* [meta-oe] Re: [PATCH 0/1] Fix issue re-running sqlite configure step
  2012-04-05  5:42 [PATCH 0/1] Fix issue re-running sqlite configure step Anders Darander
  2012-04-05  5:42 ` [PATCH 1/1] sqlite: cp instead of mv in do_configure Anders Darander
@ 2012-04-05  5:52 ` Anders Darander
  1 sibling, 0 replies; 4+ messages in thread
From: Anders Darander @ 2012-04-05  5:52 UTC (permalink / raw)
  To: openembedded-devel

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

On Thu, Apr 5, 2012 at 07:42, Anders Darander <anders@chargestorm.se> wrote:
>
> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



-- 
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."



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

* Re: [PATCH 1/1] sqlite: cp instead of mv in do_configure
  2012-04-05  5:42 ` [PATCH 1/1] sqlite: cp instead of mv in do_configure Anders Darander
@ 2012-04-05 18:01   ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2012-04-05 18:01 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Apr 5, 2012 at 02:42, Anders Darander <anders@chargestorm.se> wrote:
> The use of mv in do_configure() made bitbake error out if a second run
> of do_configure was requested. Copy the file instead.
>
> Signed-off-by: Anders Darander <anders@chargestorm.se>

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

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



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

end of thread, other threads:[~2012-04-05 18:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05  5:42 [PATCH 0/1] Fix issue re-running sqlite configure step Anders Darander
2012-04-05  5:42 ` [PATCH 1/1] sqlite: cp instead of mv in do_configure Anders Darander
2012-04-05 18:01   ` Otavio Salvador
2012-04-05  5:52 ` [meta-oe] Re: [PATCH 0/1] Fix issue re-running sqlite configure step Anders Darander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.