pspp-dev
[Top][All Lists]
Advanced

[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: Friedrich Beckmann
Subject: Re: multi-arch hinter: spread-sheet-widget info files are detected as architecture dependent
Date: Sun, 16 Aug 2020 11:45:47 +0200

Dear Helmut, dear Johannes,

thank you very much for your help, your investigations and
your detailed description how you do this analysis - 30 minutes
after I send the email.

I will make a new release with the „Multi-arch: same“ back.

Fritz

> Am 16.08.2020 um 09:01 schrieb Helmut Grohne <helmut@subdivi.de>:
> 
> Hi Fritz,
> 
> TL;DR: Just add m-a:same back. The problem has temporary nature.
> 
> On Sun, Aug 16, 2020 at 08:29:57AM +0200, Friedrich Beckmann wrote:
>> 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
> 
> Thank you for contacting me about this. The original hint was:
> 
> | libspread-sheet-widget conflicts on 
> /usr/share/info/spread-sheet-widget.info.gz on amd64 <-> arm64, armel, armhf, 
> and 5 more
> 
> If you doubt the hinter's judgement, we can simply verify it. I went
> ahead and downloaded the amd64 and arm64 instances of
> libspread-sheet-widget versioned 0.6-2 and this is what I got:
> 
> $ sha1sum */usr/share/info/spread-sheet-widget.info.gz
> ef38b2ed6072dedcd454cf3fc40b68d2bde155bc  
> amd64/usr/share/info/spread-sheet-widget.info.gz
> 3c7a0d05ec47d89ddb9fc0a77add5cfab2670b81  
> arm64/usr/share/info/spread-sheet-widget.info.gz
> $
> 
> So those files really are different. Coinstalling them results in an
> unpack error. I agree that they shouldn't differ.
> 
> We can use diffoscope to figure out what differs here:
> 
> $ diffoscope */usr/share/info/spread-sheet-widget.info.gz
> --- amd64/usr/share/info/spread-sheet-widget.info.gz
> +++ arm64/usr/share/info/spread-sheet-widget.info.gz
> ├── spread-sheet-widget.info
> │ @@ -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 @@
> │  00001fc0: 7720 746f 2075 7064 6174 650a 6461 7461  w to update.data
> │  00001fd0: 2e20 2049 7420 6973 2074 6865 2070 726f  .  It is the pro
> │  00001fe0: 6772 616d 6d65 7227 7320 7265 7370 6f6e  grammer's respon
> │  00001ff0: 7369 6269 6c69 7479 2074 6f20 646f 2074  sibility to do t
> │  00002000: 6869 732e 0a0a 0a1f 0a54 6167 2054 6162  his......Tag Tab
> │  00002010: 6c65 3a0a 4e6f 6465 3a20 546f 707f 3733  le:.Node: Top.73
> │  00002020: 320a 1f0a 456e 6420 5461 6720 5461 626c  2...End Tag Tabl
> │ -00002030: 650a 0a1f 0a4c 6f63 616c 2056 6172 6961  e....Local Varia
> │ -00002040: 626c 6573 3a0a 636f 6469 6e67 3a20 7574  bles:.coding: ut
> │ -00002050: 662d 380a 456e 643a 0a                   f-8.End:.
> │ +00002030: 650a                                     e.
> $
> 
> So these packages were built with different versions of makeinfo
> producing different output. Such tool-induced differences happen from
> time to time. The hinter only looks at what files differ, not how. This
> is a limitation of the technique. If you just binNMU the package, the
> difference should go away as texinfo has been built everywhere.
> 
> Nevertheless, the difference in content makes coinstallation fail on
> user systems. Therefore, I think it is useful to report. I'm not sure
> whether I can address this in the hinter in a reasonable way beyond
> mentioning it on the wiki page.
> 
> Beyond this, I think the package should be named libspread-sheet-widget0
> to reflect on the soname. It also is a good idea to include
> documentation in shared library packages, but the -dev or other packages
> instead as most users will not interact with the package directly unless
> they install the development package.
> 
> Helmut




reply via email to

[Prev in Thread] Current Thread [Next in Thread]