Anas,

with one of the recent changes in zypp/libzypp, mic2 can no longer create images using zypp:

>>> import mic.imgcreate.pkgmanagers.zypppkgmgr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/mic/imgcreate/pkgmanagers/zypppkgmgr.py", line 7, in <module>
    import zypp
  File "/usr/lib/python2.6/site-packages/zypp.py", line 25, in <module>
    _zypp = swig_import_helper()
File "/usr/lib/python2.6/site-packages/zypp.py", line 21, in swig_import_helper
    _mod = imp.load_module('_zypp', fp, pathname, description)
ImportError: /usr/lib/python2.6/site-packages/_zypp.so: undefined symbol: _ZN4zypp13Arch_armv7nhlE

any idea what to do about this? it's forcing me again to use yum on systems running meego as --pkgmgr... painful

Auke


On 05/18/11 03:40, Anas Nashif wrote:
Hi,
I have made the following changes to libzypp in project Trunk:Testing. Please 
review and accept ASAP.

Thank You,
Anas Nashif

[This message was auto-generated]

---

Request #18503:

   submit:   devel:packagemanagement/libzypp(r65) ->  Trunk:Testing/libzypp


Message:
     Add missing entries for const Arch Arch_armv* . Regression from previous source 
merges. Possible fix for BMC#12930 .>Should go to Trunk and 1.2<   (forwarded 
request 18502 from jsmoeller)

State:   new          2011-05-18T03:39:58 nashif
Comment: None



changes files:
--------------
--- libzypp.changes
+++ libzypp.changes
@@ -0,0 +1,3 @@
+* Wed May 18 2011 Jan-Simon Möller<[email protected]>  - 8.12.1
+- Add missing const Arch Arch_armv* entries. BMC#12930 .
+

new:
----
   0001-libzypp-Add-missing-entries-for-const-Arch-Arch_armv.patch

spec files:
-----------
--- libzypp.spec
+++ libzypp.spec
@@ -40,6 +40,7 @@
  Patch11:        MeeGo-Add-Rpm-Checker.patch
  Patch12:        MeeGo-use-fullname-in-search_deltafile.patch
  Patch13:      0001-Fix-build-with-alternative-libproxy-implementations-.patch
+Patch14:       0001-libzypp-Add-missing-entries-for-const-Arch-Arch_armv.patch

  %description
  Package, Patch, Pattern, and Product Management
@@ -94,6 +95,7 @@
  %patch11 -p1
  %patch12 -p1
  %patch13 -p1
+%patch14 -p1

  %build
  mkdir build

other changes:
--------------

++++++ 0001-libzypp-Add-missing-entries-for-const-Arch-Arch_armv.patch (new)
--- 0001-libzypp-Add-missing-entries-for-const-Arch-Arch_armv.patch
+++ 0001-libzypp-Add-missing-entries-for-const-Arch-Arch_armv.patch
+diff -Napur _/zypp/Arch.cc libzypp-8.12.1/zypp/Arch.cc
+--- _/zypp/Arch.cc     2011-02-14 14:47:33.000000000 +0100
++++ libzypp-8.12.1/zypp/Arch.cc        2011-05-17 17:45:17.000000000 +0200
+@@ -434,6 +434,8 @@ namespace zypp
+   const Arch Arch_armv4tl( _armv4tl );
+   const Arch Arch_armv4l( _armv4l );
+   const Arch Arch_armv3l( _armv3l );
++  const Arch Arch_armv7nhl ( _armv7nhl );
++  const Arch Arch_armv7hl ( _armv7hl );
+
+   const Arch Arch_sh3( _sh3 );
+

_______________________________________________
MeeGo-commits mailing list
[email protected]
http://lists.meego.com/listinfo/meego-commits

_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to