[Dev] Need to update libzypp

Chanho Park chanho61.park at samsung.com
Tue Aug 12 12:27:53 GMT 2014


Dear  all,

We're trying to build tizen with gcc 4.9.1.
Unfortunately, libzypp-bindings was failed during build.
Maybe it caused due to swig and libzypp. To address this build error, we
need to upgrade zypp related libraries.

libsolv 0.3.0 -> 0.6.4
libzypp 12.11.0 -> 14.27.0
swig 2.0.7 -> 2.0.12
libzypp-bindings 0.5.14 -> 0.6.1
zypper -> https://review.tizen.org/gerrit/#/c/25874/

I make a "upgrade_libzypp" branch for all.
You can see the build results for them.
(https://build.tizen.org/project/show?project=devel%3Aarm_toolchain%3AMobile
%3ATizen_Common)

What do you think about this upgrade?  I also created a JIRA issue to
upgrade them.
https://bugs.tizen.org/jira/browse/TC-1487
(Fortunately, they have only minor fixes(for spec file) from upstream)

====== libzypp-bindings error when we compiled with gcc4.9.1 ========
/home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.14/build/swig/python/libzyp
p_python.cc:120278:34: error: no matching function for call to
'std::list<boost::intrusive_ptr<zypp::ResolverProblem>
>::erase(SwigValueWrapper<std::_List_iterator<boost::intrusive_ptr<zypp::Res
olverProblem> > >&)'
       result = (arg1)->erase(arg2);
                                  ^
/home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.14/build/swig/python/libzyp
p_python.cc:120278:34: note: candidates are:
In file included from /usr/include/c++/4.9/list:64:0,
                 from /usr/include/zypp/base/Exception.h:17,
                 from /usr/include/zypp/ZYppFactory.h:17,
                 from
/home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.14/build/swig/python/libzyp
p_python.cc:3523:
/usr/include/c++/4.9/bits/list.tcc:146:5: note: std::list<_Tp,
_Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::list<_Tp,
_Alloc>::const_iterator) [with _Tp =
boost::intrusive_ptr<zypp::ResolverProblem>; _Alloc =
std::allocator<boost::intrusive_ptr<zypp::ResolverProblem> >; std::list<_Tp,
_Alloc>::iterator =
std::_List_iterator<boost::intrusive_ptr<zypp::ResolverProblem> >;
std::list<_Tp, _Alloc>::const_iterator =
std::_List_const_iterator<boost::intrusive_ptr<zypp::ResolverProblem> >]
     list<_Tp, _Alloc>::
     ^

Best Regards,
Chanho Park



More information about the Dev mailing list