[Dev] Need to update libzypp

Chanho Park chanho61.park at samsung.com
Wed Aug 13 07:20:08 GMT 2014


Dear all,

I've also upgraded the zypper to latest version(1.11.11) according to
Mikko's opinion.
I verified the zypper with updated libzypp.
If there is no more objection of this upgrade, I'll merge all of things
today.

Best Regards,
Chanho Park

> -----Original Message-----
> From: Chanho Park [mailto:chanho61.park at samsung.com]
> Sent: Tuesday, August 12, 2014 9:28 PM
> To: dev at lists.tizen.org; Stéphane Desneux
> (stephane.desneux at open.eurogiciel.org); Philippe Coval
> (philippe.coval at eurogiciel.fr)
> Cc: 'Vyacheslav Barinov'; Konstantin (k.tafintsev at samsung.com)
> Subject: Need to update libzypp
> 
> 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%3AMo
> bile%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/libzypp_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:
> :ResolverProblem> > >&)'
>        result = (arg1)->erase(arg2);
>                                   ^
> /home/abuild/rpmbuild/BUILD/libzypp-bindings-
> 0.5.14/build/swig/python/libzypp_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/libzypp_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