Bug 1109534 - trackerbug: arch-dependent noarch packages
Summary: trackerbug: arch-dependent noarch packages
Status: IN_PROGRESS
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other openSUSE Factory
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Bernhard Wiedemann
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 1109537 1109540 1109541 1109759 1110149 1109470 1109536 1109539 1109685 1109687 1109754 1109755 1109757 1109895 1109949 1110020 1110024 1110028 1110032 1124165
Blocks: 1081754
  Show dependency treegraph
 
Reported: 2018-09-25 04:13 UTC by Bernhard Wiedemann
Modified: 2019-02-04 13:49 UTC (History)
3 users (show)

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


Attachments
list of affected packages (42.17 KB, text/plain)
2018-09-25 04:16 UTC, Bernhard Wiedemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2018-09-25 04:13:14 UTC
While working on reproducible builds for openSUSE, I found
a new class of issues that can be very hard to trace down.
You have to know that OBS builds every noarch package for every architecture, publishes only one (the first in prj metadata), but uses all of them for further builds in their respective architecture in OBS.

https://github.com/openSUSE/open-build-service/issues/5784

So within OBS, noarch packages are treated pretty much like architecture-dependant packages.
Things only start to break once you use osc build or use the packages on a user machine and your architecture is not the one listed first in `osc meta prj`

I wrote a 'noarchcheck' script that fetches noarch rpms for 2 architectures and uses build-compare to see if they are similar.
Of 10899 total Factory source packages,
1218/3802 noarch packages did not pass that test.

Many of the diffs seem to be harmless, so I will review the diffs and file bugs for the uglier ones and maybe file group-bugs by class of issue for the less severe diffs.
Comment 1 Bernhard Wiedemann 2018-09-25 04:16:38 UTC
Created attachment 784066 [details]
list of affected packages
Comment 2 Bernhard Wiedemann 2018-09-26 18:57:36 UTC
Test script:
https://github.com/bmwiedemann/reproducibleopensuse/blob/master/noarchcheck
Comment 3 Swamp Workflow Management 2019-01-06 01:40:07 UTC
This is an autogenerated message for OBS integration:
This bug (1109534) was mentioned in
https://build.opensuse.org/request/show/663087 Factory / d-feet