Hi Chris, On Fri, Oct 23, 2015 at 04:27:48PM +0200, Christian wrote:
Am 23.10.2015 13:33, schrieb Lars Müller: [ 8< ]
Getting buildconfig from server and store to /home/lm/opensuse/network:samba:STABLE/cifs-utils/.osc/_buildconfig-openSUSE_13.2-x86_64 buildinfo is broken... it says: unresolvable: have choice for libpytalloc-util.so.2()(64bit) needed by samba-libs: python-talloc pytalloc, have choice for libpytalloc-util.so.2(PYTALLOC_UTIL_2.0.6)(64bit) needed by samba-libs: python-talloc pytalloc
In the home:lmuelle:pysamba/cifs-utils project I got it working by adding
#!BuildIgnore: pytalloc
but I fear this approach isn't correct.
To the python-talloc package we added:
Provides: pytalloc = %{version} Obsoletes: pytalloc < %{version}
And to python-talloc-devel
Provides: pytalloc-devel = %{version} Obsoletes: pytalloc-devel < %{version}
Which one do you want to be used ?
None. There aren't any python bindings or dependencies from cifs-utils. I've checked the build logs and SLE 11 gets python-talloc in network:samba:STABLE/cifs-utils without a dependency to it installed. In SLE 12, openSUSE Factory, 13.2, and 13.1 we see the unresolvable message as quoted above. I've also checked the osc meta prjconf of openSUSE:{Factory,13.1,13.2} and SUSE:SLE-11:SP3 and SUSE:SLE-12:GA In home:lmuelle:pysamba/cifs-utils I added #!BuildIgnore: pytalloc #!BuildIgnore: python-talloc and the resulting binaries library dependencies don't differ. What am I missing? For example a global meta prjconf.
Then add to your prj conf:
Prefer: python-talloc
this should do it ...
This approach has two disadvantages to me: a) python-talloc isn't needed at all. b) What happens with the cifs-utils in openSUSE Factory where this "Prefer: python-talloc" would not be present? I expect cifs-utils would fail there to build like it does currently in network:samba:STABLE Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany