Bug 1047291 - kiwi: duplicate binaries in openSUSE:Leap:42.3
Summary: kiwi: duplicate binaries in openSUSE:Leap:42.3
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 42.3
Hardware: Other Other
: P2 - High : Major (vote)
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1046099
  Show dependency treegraph
 
Reported: 2017-07-05 08:18 UTC by Andreas Stieger
Modified: 2019-12-26 16:50 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Stieger 2017-07-05 08:18:04 UTC
+++ This bug was initially created as a clone of Bug #1046099 +++

As of 2017-06-26, the following binaries in openSUSE:Leap:42.3 are built from more than one source container:
source;binary;version-release;arch;filename

kiwi;kiwi-pxeboot;7.04.8;x86_64;kiwi-pxeboot-7.04.8-3.18.x86_64.rpm
python-kiwi;kiwi-pxeboot;9.3.3;x86_64;kiwi-pxeboot-9.3.3-1.4.x86_64.rpm

kiwi;kiwi-tools;7.04.8;x86_64;kiwi-tools-7.04.8-3.18.x86_64.rpm
python-kiwi;kiwi-tools;9.3.3;x86_64;kiwi-tools-9.3.3-1.4.x86_64.rpm

Ludwig said that this is no a replacement:
https://build.opensuse.org/request/show/508158

So one of kiwi, python-wiki would need to stop building the binaries kiwi-pxeboot and kiwi-tools.
Comment 1 Ludwig Nussel 2017-07-05 08:42:21 UTC
I guess kiwi.spec should stop shipping kiwi-tools
Comment 2 Marcus Schaefer 2017-07-07 08:36:00 UTC
I send in a drop request for the kiwi package some time ago which was put back to the backlog because the dist people still need time to switch to the new product-builder which was done by kiwi before

Thus once the kiwi package and its sub-packages kiwi-tools, kiwi-pxeboot are gone the problem reported here is solved.

Except from the suse internal product builder reference there is nothing which should hold us back to get rid of kiwi in Factory, 42.3 and beyond
Comment 3 Ludwig Nussel 2017-07-07 12:17:50 UTC
the new product builder is future for Factory. 42.3 still uses the old one and is almost done. We need a fix for the kiwi package there.
Comment 4 Andreas Stieger 2017-07-07 12:49:43 UTC
Just noting that the new version came into Leap 42.2 via maintenance, bug 1047291.
Comment 5 Ludwig Nussel 2017-07-10 10:47:46 UTC
Marcus, please review https://build.opensuse.org/request/show/509114
Comment 6 Marcus Schaefer 2017-07-11 09:28:51 UTC
Thanks for the change, but the spec file in kiwi is generated from this template:
https://github.com/SUSE/kiwi/blob/master/package/python-kiwi-spec-template, thus I can't do much with the obs request. Would you mind to apply the change as a github pull request ?

Other than that I'm still confused why kiwi-tools in different major versions can't be provided by different packages ? The latest version in the resolver chain is picked up by zypper without any conflict.

The kiwi-tools version provided by python-kiwi is compatible with the kiwi(v7) version. The kiwi-tools from kiwi(v7) is however not compatible with the next generation python-kiwi package. It would be a mistake of python-kiwi to not provide the tools it needs

If this must be changed for whatever reason I'm ok with changing it in the kiwi(v7) spec file but not in the actively developed successor. Not providing
the code of kiwi-tools in the active development stream doesn't make sense to me
Comment 7 Marcus Schaefer 2017-07-11 09:31:00 UTC
Sorry forget what I wrote, your change is against kiwi(v7)... reading obs requests always confuse me
Comment 8 Ludwig Nussel 2017-07-11 09:40:30 UTC
So, will you approve the request?
Comment 9 Marcus Schaefer 2017-07-11 09:58:34 UTC
I have taken the changes and moved them into a pull request for kiwi

* https://github.com/openSUSE/kiwi/pull/646

From there all the way down to a submission into the buildservice should be possible without creating a conflict in e.g the changelog
Comment 10 Marcus Schaefer 2017-07-11 09:59:45 UTC
I'm sorry but the source for everything is in git, all package files are created from there thus static changes in obs requests doesn't work for me
Comment 11 Ludwig Nussel 2017-07-11 10:55:42 UTC
ok, thanks. Please submit kiwi back to openSUSE:Leap:42.3 then. I prefer a backport of the change to the version of kiwi we have there. I'd like to avoid experiments with kiwi at this point.
Comment 12 Marcus Schaefer 2017-07-11 13:09:56 UTC
ok, I created a branch of the 7.04.8 release (current version in 42.3) and ported the change there. Here is the submission:

created request id 509453
Comment 13 Bernhard Wiedemann 2017-07-11 14:00:27 UTC
This is an autogenerated message for OBS integration:
This bug (1047291) was mentioned in
https://build.opensuse.org/request/show/509453 42.3 / kiwi
Comment 14 Andreas Stieger 2017-07-13 11:29:36 UTC
pxeboot remains:

openSUSE:Leap:42.3/kiwi 
 kiwi-pxeboot-7.04.8-4.1.i586.rpm
 kiwi-pxeboot-7.04.8-4.1.x86_64.rpm
openSUSE:Leap:42.3/python-kiwi
 kiwi-pxeboot-8.32.2-9.1.x86_64.rpm
Comment 15 Marcus Schaefer 2017-07-13 13:32:32 UTC
Thanks for the update, please review:

   https://github.com/openSUSE/kiwi/pull/647

for correctness

Thanks
Comment 16 Andreas Stieger 2017-07-13 13:43:22 UTC
looks good
Comment 17 Marcus Schaefer 2017-07-14 08:38:43 UTC
ok created new submission: request id 510239
Comment 18 Andreas Stieger 2017-07-14 09:34:08 UTC
I see that the pxe package is no longer built in home:sax2:branches:openSUSE:Leap:42.3/kiwi, looks okay.
Comment 19 Bernhard Wiedemann 2017-07-14 10:01:01 UTC
This is an autogenerated message for OBS integration:
This bug (1047291) was mentioned in
https://build.opensuse.org/request/show/510239 42.3 / kiwi
Comment 26 Swamp Workflow Management 2019-02-07 02:11:17 UTC
SUSE-RU-2019:0279-1: An update that has 18 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1003091,1008898,1009032,1029904,1036198,1039469,1047291,1059715,1066873,1071135,1075810,1075813,1095856,1108837,1116729,1118306,984158,997085
CVE References: 
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP3 (src):    kiwi-7.04.47-72.31.1
SUSE Linux Enterprise Server 12-SP3 (src):    kiwi-7.04.47-72.31.1