Hi, Le 10/03/2014 10:45, Andrey Rahmatullin a écrit : > On Mon, Mar 10, 2014 at 10:19:29AM +0100, Thibaut Paumard wrote: >> What I would try is to compile the package on two distinct architectures >> (or more) and compare the result. That would work unless the build for >> these files is non-deterministic or includes timestamps or information >> on the build machine. > ... or files can be same on some different architectures and different on > others (e.g. because of endianness).
Thanks for clarifying that. Indeed you need to check the files at least on a 32bit arch, a 64bit arch, a little-endian arch and a big-endian arch. Actually one way to go would be to upload the package without making the split, downloading all the binaries, and comparing the files. This is easier than manually building on porterboxes and covers all the architectures on which the package compiles. >> I guess you do realize that this split also implies putting the indep >> files in a separate arch:all package. > It doesn't. You are right, if the files under /usr/share/ are indeed byte-for-byte identical. However, splitting is a good idea if the indep part is large, and works also if the indep files are not byte-for-byte identical but the differences are irrelevant (such as information on the build machine encoded in a comment header, for instance). Kind regards, Thibaut.
signature.asc
Description: OpenPGP digital signature