Bug#1134412: chromium: fix icon selection to make package reproducible

Jochen Sprickerhof jspricke at debian.org
Sun Apr 19 19:35:32 BST 2026


Source: chromium
Version: 147.0.7727.101-1
Severity: normal
Tags: patch
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness

Hi Andres,

currently the chromium package is not reproducible on reproduce.d.n:

│ │ │ --rw-r--r--   0 root         (0) root         (0)     1399 2026-04-15 19:06:40.000000 ./usr/share/icons/hicolor/16x16/apps/chromium.png
│ │ │ +-rw-r--r--   0 root         (0) root         (0)      555 2026-04-15 19:06:40.000000 ./usr/share/icons/hicolor/16x16/apps/chromium.png

https://reproduce.debian.net/amd64/forky.html#chromium

According to the build log, the icon is only copied into the final
place:

# move icons into /usr/share
./debian/scripts/icons
copied: chrome/app/theme/default_100_percent/chromium/product_logo_32.png to debian/chromium/usr/share/icons/hicolor/32x32/apps/chromium.png
copied: chrome/app/theme/default_100_percent/chromium/product_logo_16.png to debian/chromium/usr/share/icons/hicolor/16x16/apps/chromium.png
copied: chrome/app/theme/default_100_percent/chromium/linux/product_logo_32.png to debian/chromium/usr/share/icons/hicolor/32x32/apps/chromium.png
copied: chrome/app/theme/default_100_percent/chromium/linux/product_logo_16.png to debian/chromium/usr/share/icons/hicolor/16x16/apps/chromium.png
copied: chrome/app/theme/chromium/product_logo_64.png to debian/chromium/usr/share/icons/hicolor/64x64/apps/chromium.png
copied: chrome/app/theme/chromium/product_logo_48.png to debian/chromium/usr/share/icons/hicolor/48x48/apps/chromium.png
copied: chrome/app/theme/chromium/product_logo_256.png to debian/chromium/usr/share/icons/hicolor/256x256/apps/chromium.png
copied: chrome/app/theme/chromium/product_logo_24.png to debian/chromium/usr/share/icons/hicolor/24x24/apps/chromium.png
copied: chrome/app/theme/chromium/product_logo_16.png to debian/chromium/usr/share/icons/hicolor/16x16/apps/chromium.png
copied: chrome/app/theme/chromium/product_logo_128.png to debian/chromium/usr/share/icons/hicolor/128x128/apps/chromium.png
copied: chrome/app/theme/chromium/linux/product_logo_64.png to debian/chromium/usr/share/icons/hicolor/64x64/apps/chromium.png
copied: chrome/app/theme/chromium/linux/product_logo_48.png to debian/chromium/usr/share/icons/hicolor/48x48/apps/chromium.png
copied: chrome/app/theme/chromium/linux/product_logo_256.png to debian/chromium/usr/share/icons/hicolor/256x256/apps/chromium.png
copied: chrome/app/theme/chromium/linux/product_logo_24.png to debian/chromium/usr/share/icons/hicolor/24x24/apps/chromium.png
copied: chrome/app/theme/chromium/linux/product_logo_128.png to debian/chromium/usr/share/icons/hicolor/128x128/apps/chromium.png

https://buildd.debian.org/status/fetch.php?pkg=chromium&arch=amd64&ver=147.0.7727.101-1&stamp=1776341079&raw=0

Note that there are multiple chromium.png copied to the same
destination.

The ./debian/scripts/icons script uses find which is not sorted. An easy
solution would be to add a sort in the end, as the attached patch does.
For convenience I have also opened a MR with the patch:

https://salsa.debian.org/chromium-team/chromium/-/merge_requests/35

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-chromium.png-icon-reproducible.patch
Type: application/mbox
Size: 3058 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20260419/e17b85a8/attachment.mbox>


More information about the Reproducible-bugs mailing list