[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-arch hinter: spread-sheet-widget info files are detected as ar
From: |
Johannes Schauer |
Subject: |
Re: multi-arch hinter: spread-sheet-widget info files are detected as architecture dependent |
Date: |
Sun, 16 Aug 2020 09:14:53 +0200 |
User-agent: |
alot/0.9.1 |
Quoting Friedrich Beckmann (2020-08-16 08:29:57)
> Hallo Helmut,
>
> the spread-sheet-widget package
>
> https://tracker.debian.org/pkg/spread-sheet-widget
>
> installs these files:
>
> fritz@debian:~/s$ dpkg --contents libspread-sheet-widget_0.6-2_amd64.deb
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/lib/
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/lib/x86_64-linux-gnu/
> -rw-r--r-- root/root 133032 2020-08-14 11:36
> ./usr/lib/x86_64-linux-gnu/libspread-sheet-widget.so.0.0.0
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/share/
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/share/doc/
> drwxr-xr-x root/root 0 2020-08-14 11:36
> ./usr/share/doc/libspread-sheet-widget/
> -rw-r--r-- root/root 515 2020-08-14 11:36
> ./usr/share/doc/libspread-sheet-widget/changelog.Debian.gz
> -rw-r--r-- root/root 3641 2020-08-13 07:00
> ./usr/share/doc/libspread-sheet-widget/changelog.gz
> -rw-r--r-- root/root 1095 2020-08-13 09:54
> ./usr/share/doc/libspread-sheet-widget/copyright
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/share/info/
> -rw-r--r-- root/root 3107 2020-08-14 11:36
> ./usr/share/info/spread-sheet-widget.info.gz
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/share/lintian/
> drwxr-xr-x root/root 0 2020-08-14 11:36 ./usr/share/lintian/overrides/
> -rw-r--r-- root/root 58 2020-08-13 09:54
> ./usr/share/lintian/overrides/libspread-sheet-widget
> lrwxrwxrwx root/root 0 2020-08-14 11:36
> ./usr/lib/x86_64-linux-gnu/libspread-sheet-widget.so.0 ->
> libspread-sheet-widget.so.0.0.0
>
> In version 0.6-1 the package was marked „Multi-arch: same“ but the hinter
> claimed that the info file
>
> /usr/share/info/spread-sheet-widget.info.gz
>
> was different on different architectures. Therefore I removed the Multi-arch
> tag. I am pretty sure that
> the info files are not architecture or build dependent so I wonder why this
> happens. I think they should not be marked as „file conflict“ in
> https://wiki.debian.org/MultiArch/Hints
are you sure?
for arch in $(curl --silent http://deb.debian.org/debian/dists/sid/Release |
grep-dctrl '' -n -s Architectures | tr ' ' '\n' | grep -v '^all$'); do
echo $arch
curl --location --silent
http://deb.debian.org/debian/pool/main/s/spread-sheet-widget/libspread-sheet-widget_0.6-1_${arch}.deb
\
| dpkg-deb --fsys-tarfile - \
| tar --to-stdout --extract
./usr/share/info/spread-sheet-widget.info.gz \
| md5sum
done
As far as I can see, the file is different between amd64 and arm64, for
example. When investigating the difference, it seems that the amd64 version was
produced by makeinfo version 6.7 and the arm64 version was produced by makeinfo
version 6.5:
for arch in amd64 arm64; do
curl --location --silent
http://deb.debian.org/debian/pool/main/s/spread-sheet-widget/libspread-sheet-widget_0.6-1_${arch}.deb
\
| dpkg-deb --fsys-tarfile - \
| tar --to-stdout --extract
./usr/share/info/spread-sheet-widget.info.gz \
> info_$arch.gz
done
$ diffoscope info_a*
--- info_amd64.gz
+++ info_arm64.gz
├── filetype from file(1)
│ @@ -1 +1 @@
│ -gzip compressed data, max compression, from Unix, original size 8281
│ +gzip compressed data, max compression, from Unix, original size 8242
│ --- info_amd64
├── +++ info_arm64
│ @@ -1,12 +1,12 @@
│ 00000000: 5468 6973 2069 7320 7370 7265 6164 2d73 This is spread-s
│ 00000010: 6865 6574 2d77 6964 6765 742e 696e 666f heet-widget.info
│ 00000020: 2c20 7072 6f64 7563 6564 2062 7920 6d61 , produced by ma
│ 00000030: 6b65 696e 666f 2076 6572 7369 6f6e 2036 keinfo version 6
│ -00000040: 2e37 2066 726f 6d0a 7370 7265 6164 2d73 .7 from.spread-s
│ +00000040: 2e35 2066 726f 6d0a 7370 7265 6164 2d73 .5 from.spread-s
│ 00000050: 6865 6574 2d77 6964 6765 742e 7465 7869 heet-widget.texi
│ 00000060: 2e0a 0a54 6869 7320 6d61 6e75 616c 2069 ...This manual i
│ 00000070: 7320 666f 7220 474e 5520 5370 7265 6164 s for GNU Spread
│ 00000080: 2053 6865 6574 2057 6964 6765 7420 7665 Sheet Widget ve
│ 00000090: 7273 696f 6e20 302e 362e 0a0a 2020 2043 rsion 0.6... C
│ 000000a0: 6f70 7972 6967 6874 2028 4329 2032 3031 opyright (C) 201
│ 000000b0: 372c 2032 3032 3020 4a6f 686e 2044 6172 7, 2020 John Dar
│ @@ -509,10 +509,8 @@
Since the makeinfo version is embedded into the files, the content differs
between architectures that do not happen to have the same makeinfo version
available.
Thanks!
cheers, josch
signature.asc
Description: signature