Skip to contentSkip to conversation

iasl: Fixed broken URL

PATCH In review Mihai Prica 2 participants 6 messages Apr 18, 2013 – Apr 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 iasl: Fixed broken URL

---
 recipes-extended/iasl/iasl_20120215.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/iasl/iasl_20120215.bb +1 -1
index b48e380..e9c5fbe 100644
@@ -7,7 +7,7 @@ PR="r1"
 
 DEPENDS="flex bison"
 
-SRC_URI="http://www.acpica.org/download/acpica-unix-${PV}.tar.gz"
+SRC_URI="https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "324c89e5bb9002e2711e0494290ceacc"
 SRC_URI[sha256sum] = "b2b497415f29ddbefe7be8b9429b62c1f1f6e1ec11456928e4e7da86578e5b8d"
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 libvirt: Changed python bindings install location

The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not detected. Changed this to site-packages.

---
 recipes-extended/libvirt/libvirt-python.inc        |    4 ++--
 .../libvirt/libvirt/python_incdir.patch            |   15 +++++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +2 -2
index 49d15fb..297e90c 100644
@@ -10,5 +10,5 @@ RDEPENDS_${PN}-python += "python"
 PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
 
 PACKAGES += "${PN}-python-dbg ${PN}-python"
-FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/"
-FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages"
+FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/"
+FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages"
recipes-extended/libvirt/libvirt/python_incdir.patch +9 -6
index 6c77b09..5b78c13 100644
@@ -1,8 +1,8 @@
-Index: libvirt-0.10.2/configure.ac
+Index: libvirt-1.0.3/configure.ac
 ===================================================================
---- libvirt-0.10.2.orig/configure.ac	2012-10-29 11:59:27.091615491 +0200
-+++ libvirt-0.10.2/configure.ac	2012-10-29 12:09:50.067603647 +0200
-@@ -2397,6 +2397,11 @@
+--- libvirt-1.0.3.orig/configure.ac
++++ libvirt-1.0.3/configure.ac
+@@ -1878,6 +1878,11 @@ fi
  
  PYTHON_VERSION=
  PYTHON_INCLUDES=
@@ -14,9 +14,12 @@ Index: libvirt-0.10.2/configure.ac
  if test "$with_python" != "no" ; then
      if test -x "$with_python/bin/python"
      then
-@@ -2422,29 +2427,30 @@
-         AM_PATH_PYTHON(,, [:])
+@@ -1901,31 +1906,32 @@ if test "$with_python" != "no" ; then
  
+     if test "$with_python" = "yes" ; then
+         AM_PATH_PYTHON(,, [:])
+-
++        pyexecdir=$prefix/lib/python$PYTHON_VERSION/site-packages
          if test "$PYTHON" != : ; then
 -            PYTHON_CONFIG="$PYTHON-config"
 -
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 2/2] libvirt: Changed python bindings install location

Quoted 3 lines · Mihai Prica

The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not detected. Changed this to site-packages.

By detected, you mean python couldn't import and use them at runtime on the target ?

Bruce

Quoted 54 lines
---
 recipes-extended/libvirt/libvirt-python.inc        |    4 ++--
 .../libvirt/libvirt/python_incdir.patch            |   15 +++++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +2 -2
index 49d15fb..297e90c 100644
@@ -10,5 +10,5 @@ RDEPENDS_${PN}-python += "python"
 PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
 
 PACKAGES += "${PN}-python-dbg ${PN}-python"
-FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/"
-FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages"
+FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/"
+FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages"
recipes-extended/libvirt/libvirt/python_incdir.patch +9 -7
index 6c77b09..5b78c13 100644
@@ -1,8 +1,8 @@
-Index: libvirt-0.10.2/configure.ac
+Index: libvirt-1.0.3/configure.ac
 ===================================================================
---- libvirt-0.10.2.orig/configure.ac   2012-10-29 11:59:27.091615491 +0200
-+++ libvirt-0.10.2/configure.ac        2012-10-29 12:09:50.067603647 +0200
-@@ -2397,6 +2397,11 @@
+--- libvirt-1.0.3.orig/configure.ac
++++ libvirt-1.0.3/configure.ac
+@@ -1878,6 +1878,11 @@ fi
 
  PYTHON_VERSION=
  PYTHON_INCLUDES=
@@ -14,9 +14,12 @@ Index: libvirt-0.10.2/configure.ac
  if test "$with_python" != "no" ; then
      if test -x "$with_python/bin/python"
      then
-@@ -2422,29 +2427,30 @@
-         AM_PATH_PYTHON(,, [:])
+@@ -1901,31 +1906,32 @@ if test "$with_python" != "no" ; then
 
+     if test "$with_python" = "yes" ; then
+         AM_PATH_PYTHON(,, [:])
+-
++        pyexecdir=$prefix/lib/python$PYTHON_VERSION/site-packages
          if test "$PYTHON" != : ; then
 -            PYTHON_CONFIG="$PYTHON-config"
 -
--

1.7.9.5

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

#3 lore raw

Re: [PATCH 2/2] libvirt: Changed python bindings install location

Quoted 8 lines

-----Original Message-----
From: Bruce Ashfield [mailto:[email protected]]
Sent: Thursday, April 18, 2013 6:47 PM
To: Prica, Mihai
Cc: [email protected]
Subject: Re: [meta-virtualization] [PATCH 2/2] libvirt: Changed python bindings install location

Quoted 7 lines
Quoted 3 lines · Mihai Prica

The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not detected. Changed this to site-packages.

By detected, you mean python couldn't import and use them at runtime on the target ?

Yes. I got an error when trying to load the module. From what I saw, In yocto all python packages are installed In site-packages.

Mihai

Quoted 72 lines

Bruce

Quoted 13 lines
---
 recipes-extended/libvirt/libvirt-python.inc        |    4 ++--
 .../libvirt/libvirt/python_incdir.patch            |   15 +++++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +0 -0
index 49d15fb..297e90c 100644

recipes-extended/libvirt/libvirt-python.inc RDEPENDS_${PN}-python += "python" · line 13

Quoted 6 lines
recipes-extended/libvirt/libvirt-python.inc +1 -2
@@ -10,5 +10,5 @@ RDEPENDS_${PN}-python += "python"
 PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
 
 PACKAGES += "${PN}-python-dbg ${PN}-python"
-FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/"
-FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages"
+FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-

packages/.debug/"

recipes-extended/libvirt/libvirt/python_incdir.patch line 2

Quoted 10 lines
recipes-extended/libvirt/libvirt-python.inc +1 -0
+FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages"
recipes-extended/libvirt/libvirt/python_incdir.patch +1 -1
index 6c77b09..5b78c13 100644
@@ -1,8 +1,8 @@
-Index: libvirt-0.10.2/configure.ac
+Index: libvirt-1.0.3/configure.ac
 

==============================================================
=====

Quoted 27 lines
recipes-extended/libvirt/libvirt/python_incdir.patch +8 -6
---- libvirt-0.10.2.orig/configure.ac   2012-10-29 11:59:27.091615491 +0200
-+++ libvirt-0.10.2/configure.ac        2012-10-29 12:09:50.067603647 +0200
-@@ -2397,6 +2397,11 @@
+--- libvirt-1.0.3.orig/configure.ac
++++ libvirt-1.0.3/configure.ac
+@@ -1878,6 +1878,11 @@ fi
 
  PYTHON_VERSION=
  PYTHON_INCLUDES=
@@ -14,9 +14,12 @@ Index: libvirt-0.10.2/configure.ac
  if test "$with_python" != "no" ; then
      if test -x "$with_python/bin/python"
      then
-@@ -2422,29 +2427,30 @@
-         AM_PATH_PYTHON(,, [:])
+@@ -1901,31 +1906,32 @@ if test "$with_python" != "no" ; then
 
+     if test "$with_python" = "yes" ; then
+         AM_PATH_PYTHON(,, [:])
+-
++        pyexecdir=$prefix/lib/python$PYTHON_VERSION/site-packages
          if test "$PYTHON" != : ; then
 -            PYTHON_CONFIG="$PYTHON-config"
 -
--

1.7.9.5

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

#4 lore raw

Re: [PATCH 2/2] libvirt: Changed python bindings install location

Quoted 13 lines · Mihai
Quoted 13 lines

-----Original Message-----
From: Bruce Ashfield [mailto:[email protected]]
Sent: Thursday, April 18, 2013 6:47 PM
To: Prica, Mihai
Cc: [email protected]
Subject: Re: [meta-virtualization] [PATCH 2/2] libvirt: Changed python bindings install location

Quoted 3 lines · Mihai Prica

The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not detected. Changed this to site-packages.

Quoted 5 lines
Quoted 2 lines

By detected, you mean python couldn't import and use them at runtime on the target ?

Yes. I got an error when trying to load the module. From what I saw, In yocto all python packages are installed In site-packages.

thanks for the clarification. I tweaked the commit message and pushed this late last night (for me) since I was pushing some other changes as well!

Cheers,

Bruce

Quoted 75 lines

Mihai

Quoted 72 lines

Bruce

Quoted 13 lines
---
 recipes-extended/libvirt/libvirt-python.inc        |    4 ++--
 .../libvirt/libvirt/python_incdir.patch            |   15 +++++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +0 -0
index 49d15fb..297e90c 100644

recipes-extended/libvirt/libvirt-python.inc RDEPENDS_${PN}-python += "python" · line 13

Quoted 6 lines
recipes-extended/libvirt/libvirt-python.inc +1 -2
@@ -10,5 +10,5 @@ RDEPENDS_${PN}-python += "python"
 PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
 
 PACKAGES += "${PN}-python-dbg ${PN}-python"
-FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/"
-FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages"
+FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-

packages/.debug/"

recipes-extended/libvirt/libvirt/python_incdir.patch line 2

Quoted 10 lines
recipes-extended/libvirt/libvirt-python.inc +1 -0
+FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages"
recipes-extended/libvirt/libvirt/python_incdir.patch +1 -1
index 6c77b09..5b78c13 100644
@@ -1,8 +1,8 @@
-Index: libvirt-0.10.2/configure.ac
+Index: libvirt-1.0.3/configure.ac
 

==============================================================
=====

Quoted 27 lines
recipes-extended/libvirt/libvirt/python_incdir.patch +8 -6
---- libvirt-0.10.2.orig/configure.ac   2012-10-29 11:59:27.091615491 +0200
-+++ libvirt-0.10.2/configure.ac        2012-10-29 12:09:50.067603647 +0200
-@@ -2397,6 +2397,11 @@
+--- libvirt-1.0.3.orig/configure.ac
++++ libvirt-1.0.3/configure.ac
+@@ -1878,6 +1878,11 @@ fi
 
  PYTHON_VERSION=
  PYTHON_INCLUDES=
@@ -14,9 +14,12 @@ Index: libvirt-0.10.2/configure.ac
  if test "$with_python" != "no" ; then
      if test -x "$with_python/bin/python"
      then
-@@ -2422,29 +2427,30 @@
-         AM_PATH_PYTHON(,, [:])
+@@ -1901,31 +1906,32 @@ if test "$with_python" != "no" ; then
 
+     if test "$with_python" = "yes" ; then
+         AM_PATH_PYTHON(,, [:])
+-
++        pyexecdir=$prefix/lib/python$PYTHON_VERSION/site-packages
          if test "$PYTHON" != : ; then
 -            PYTHON_CONFIG="$PYTHON-config"
 -
--

1.7.9.5

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

#5 lore raw
In reply to Mihai Prica
Quoted 1 line · Mihai Prica

Simple enough. Makes sense to me. I have other changes staged and under test, I can grab this and put it on that queue.

Bruce

Quoted 20 lines
---
 recipes-extended/iasl/iasl_20120215.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/iasl/iasl_20120215.bb +1 -2
index b48e380..e9c5fbe 100644
@@ -7,7 +7,7 @@ PR="r1"
 
 DEPENDS="flex bison"
 
-SRC_URI="http://www.acpica.org/download/acpica-unix-${PV}.tar.gz"
+SRC_URI="https://acpica.org/sites/acpica/files/acpica-unix-${PV}.tar.gz"
 
 SRC_URI[md5sum] = "324c89e5bb9002e2711e0494290ceacc"
 SRC_URI[sha256sum] = "b2b497415f29ddbefe7be8b9429b62c1f1f6e1ec11456928e4e7da86578e5b8d"
--

1.7.9.5

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"