Bug 1217747 - colord: reproducible builds: icc varies from CPU
Summary: colord: reproducible builds: icc varies from CPU
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL: https://github.com/omgovich/colord/is...
Whiteboard:
Keywords:
Depends on:
Blocks: 1100677
  Show dependency treegraph
 
Reported: 2023-12-02 05:49 UTC by Bernhard Wiedemann
Modified: 2023-12-06 08:27 UTC (History)
1 user (show)

See Also:
Found By: Development
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 Bernhard Wiedemann 2023-12-02 05:49:44 UTC
While working on reproducible builds for ALP+openSUSE, I found that
our colord package varied from differences in .icc files caused by differences in build machine CPU capabilities (probably AVX) 

Also filed upstream at https://github.com/omgovich/colord/issues/122 but they seem inactive.
You find a reproducer and more details there.
Comment 1 Bernhard Wiedemann 2023-12-02 06:20:39 UTC
Reproducer with osc:
Run on a host that has output from  lscpu|grep avx

for cpu in qemu64 host ; do 
  osc build --keep-pkgs=RPMS.$cpu --vm-type=kvm --clean --noservice \
   "--build-opt=--vm-custom-opt=-cpu $cpu" standard
  (cd RPMS.$cpu && unrpm colord-color-profiles-1.4.6-0.x86_64.rpm)
done
md5sum RPMS*/usr/share/color/icc/colord/FOGRA28L_webcoated.icc