Icinga / icinga-packaging

Packaging documentation and issues for the official Icinga repository
https://packages.icinga.com
44 stars 15 forks source link

package icinga2-common:all differs between debian and raspbian #262

Closed qyanu closed 10 months ago

qyanu commented 2 years ago

Hallo,

a comparison of

These differences lead to different checksums, making it a real problem shipping icinga2 architectures amd64 as well as armhf in a single deb repository.

couldn't the build process be unified and thus leading to repeatable packaging with binary-equal content of arch "all" packages?

best regards,

Max

qyanu commented 10 months ago

fixed typo in original issue description; i gave the raspbian url twice. the rest of the description still holds.

julianbrost commented 10 months ago

Did you check that for any newer packages? By now, we build them from a common source, so the differences in the priority and homepage should be gone. Also, the Debian and Raspbian packages now use different version numbers (2.14.0-1+debian11 / 2.14.0-1+raspbian11) so putting them in a common repo pool should no longer be a problem.

qyanu commented 10 months ago

I rechecked with the versions "2.14.0-1+debian11" and "2.14.0-1+raspbian11", and they are very similar (not identical) now. they have a changelog a few seconds apart [+], and were built with different build helper versions. all other differences are a direct consequence of that.

[+] when i had to guess, the "building from same source" first makes for each target a separate dsc file, and then builds the binary packages from that. and while building both targets from the same dsc file (and thus identical changelog), this is probably not worth the effort.

julianbrost commented 10 months ago

Yes, the source packages are built per distribution and version (counting Debian, Ubuntu and Raspbian (= Raspberry Pi OS 32bit, the 64bit variant is pretty much Debian with some extra packages) as separate distributions) as that's where the version suffix like +debian11 is inserted into the changelog.