[opensuse-packaging] "unresolvable: have choice for ..." in network:samba:STABLE/cifs-utils
Hi, in network:samba:STABLE we aligned the python sub package names with the remaining system. Instead of the short "py" prefix we now use there too the long "python-" one. Resuling in the two new package names python-talloc and python-ldb. The spec files got the required Provides and Obsoletes to smooth the transition. Plus the packages consuming one of them (Build)Require the new names too. This worked quite well for all packages inside network:samba:STABLE despite the cifs-utils one. There we currently see when trying to build with osc for the openSUSE_13.2 x86_64 target for example: 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} Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
Am 23.10.2015 13:33, schrieb Lars Müller:
Hi,
in network:samba:STABLE we aligned the python sub package names with the remaining system. Instead of the short "py" prefix we now use there too the long "python-" one. Resuling in the two new package names python-talloc and python-ldb.
The spec files got the required Provides and Obsoletes to smooth the transition. Plus the packages consuming one of them (Build)Require the new names too.
This worked quite well for all packages inside network:samba:STABLE despite the cifs-utils one.
There we currently see when trying to build with osc for the openSUSE_13.2 x86_64 target for example:
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}
Cheers,
Lars
Which one do you want to be used ? Then add to your prj conf: Prefer: python-talloc this should do it ... -- Christian ---------------------------------------------------- - Please do not 'CC' me on list mails. Just reply to the list :) ---------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de ---------------------------------------------------- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
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
Hi, after a bit more of investigation I found the dependency chain that causes the requirement of python-talloc. samba-libs requires libpytalloc-util.so.2 from python-talloc while samba-libs are required by many other samba library packages for example libsmbconf0, libsmbldap0, libsamba-passdb0, libsamba-util0. But I still don't understand why network:samba:STABLE/cifs-utils is able to build for SLE_11 while it fails for any other target with 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 https://bugzilla.opensuse.org/show_bug.cgi?id=951903 is the defect report against the Component BuildService. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Sat, Oct 24, 2015 at 05:11:18PM +0200, Lars Mueller wrote:
Hi,
after a bit more of investigation I found the dependency chain that causes the requirement of python-talloc.
samba-libs requires libpytalloc-util.so.2 from python-talloc while samba-libs are required by many other samba library packages for example libsmbconf0, libsmbldap0, libsamba-passdb0, libsamba-util0.
But I still don't understand why network:samba:STABLE/cifs-utils is able to build for SLE_11 while it fails for any other target with
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
https://bugzilla.opensuse.org/show_bug.cgi?id=951903 is the defect report against the Component BuildService.
The obs resolver logic does not see the pytalloc obsoletes / provides here. You can as suggested add the Prefer: python-talloc python-talloc-devel To osc meta prjconf network:samba:STABLE Once you submit talloc to Factory it should also work. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, On Sat, Oct 24, 2015 at 05:16:20PM +0200, Marcus Meissner wrote:
On Sat, Oct 24, 2015 at 05:11:18PM +0200, Lars Mueller wrote: [ 8< ]
But I still don't understand why network:samba:STABLE/cifs-utils is able to build for SLE_11 while it fails for any other target with
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
https://bugzilla.opensuse.org/show_bug.cgi?id=951903 is the defect report against the Component BuildService.
The obs resolver logic does not see the pytalloc obsoletes / provides here.
And SLE 11 is or better was a special case? Cause there the OBS didn't complain as you still can see in https://build.opensuse.org/package/show/network:samba:TESTING/cifs-utils
You can as suggested add the
Prefer: python-talloc python-talloc-devel
To osc meta prjconf network:samba:STABLE
Thanks. I've added it and the submit requests are on the way.
Once you submit talloc to Factory it should also work.
Even for non Factory build targets? Very likely cause the more revent talloc 2.1.4 is required explicitly by anything than cifs-utils. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Friday 23 October 2015 13.33:32 Lars Müller wrote:
Hi,
in network:samba:STABLE we aligned the python sub package names with the remaining system. Instead of the short "py" prefix we now use there too the long "python-" one. Resuling in the two new package names python-talloc and python-ldb.
The spec files got the required Provides and Obsoletes to smooth the transition. Plus the packages consuming one of them (Build)Require the new names too.
This worked quite well for all packages inside network:samba:STABLE despite the cifs-utils one.
There we currently see when trying to build with osc for the openSUSE_13.2 x86_64 target for example:
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}
Cheers,
Lars
Since now the big problems is fixed, would you mind to also create a pyton3- derivative for them ? -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot
Hi, On Sat, Oct 24, 2015 at 06:52:17PM +0200, Bruno Friedmann wrote: [ 8< ]
Since now the big problems is fixed, would you mind to also create a pyton3- derivative for them ?
Lovely motivating tone! https://bugzilla.opensuse.org/show_bug.cgi?id=951911 Thanks, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Sunday 25 October 2015 19.29:45 Lars Müller wrote:
Hi,
On Sat, Oct 24, 2015 at 06:52:17PM +0200, Bruno Friedmann wrote: [ 8< ]
Since now the big problems is fixed, would you mind to also create a pyton3- derivative for them ?
Lovely motivating tone!
https://bugzilla.opensuse.org/show_bug.cgi?id=951911
Thanks,
Lars
Sorry Lars, I had to go away 5 minutes after seeing your mail, and thus didn't created the necessary bugzilla entry. I should have postponed my reply and create it first when I've returned. Many many thanks for having taking care of that. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot
participants (5)
-
Bruno Friedmann
-
Christian
-
Lars Mueller
-
Lars Müller
-
Marcus Meissner