Re: [PATCH] debian: Add packaging for python3-notmuch2

Subject: Re: [PATCH] debian: Add packaging for python3-notmuch2

Date: Fri, 10 Jan 2020 17:01:46 -0500

To: David Bremner, Notmuch Mail

Cc: Antoine Beaupré

From: Daniel Kahn Gillmor


On Fri 2020-01-10 16:01:35 -0500, Daniel Kahn Gillmor wrote:
> during the more recent build, i also see this warning from dh_python3:
>
> W: dh_python3 fs:112: Paths differ: debian/python3-notmuch2/usr/lib/python3.8/dist-packages/notmuch2/_capi.abi3.so and debian/python3-notmuch2/usr/lib/python3/dist-packages/notmuch2/_capi.abi3.so

over on #debian-python, olasd helped me understand that this warning
means that dh-python noticed that the files do actually differ (that
they can't be de-duped the way that dh-python would typically de-dup
them to ensure that they live only in the generic
/usr/lib/python3/dist-packages/ location)

i inspected the files further -- they're the same size, but they appear
to differ only in NT_GNU_BUILD_ID:

0 dkg@alice:~/src/notmuch/notmuch$ sha256sum debian/python3-notmuch2/usr/lib/python3/dist-packages/notmuch2/_capi.abi3.so debian/python3-notmuch2/usr/lib/python3.8/dist-packages/notmuch2/_capi.abi3.so
feee7627824594620b1e8095c1eabbfcc680a927e62413d4ffd0b2eb9695749c  debian/python3-notmuch2/usr/lib/python3/dist-packages/notmuch2/_capi.abi3.so
ba05f2b5e8a376a63b9538ba72a084b11b72fc6adc0a4f7c362f3dc31ea1508e  debian/python3-notmuch2/usr/lib/python3.8/dist-packages/notmuch2/_capi.abi3.so
0 dkg@alice:~/src/notmuch/notmuch$ diffoscope debian/python3-notmuch2/usr/lib/python3/dist-packages/notmuch2/_capi.abi3.so debian/python3-notmuch2/usr/lib/python3.8/dist-packages/notmuch2/_capi.abi3.so
--- debian/python3-notmuch2/usr/lib/python3/dist-packages/notmuch2/_capi.abi3.so
+++ debian/python3-notmuch2/usr/lib/python3.8/dist-packages/notmuch2/_capi.abi3.so
├── readelf --wide --notes {}
│ @@ -1,4 +1,4 @@
│  
│  Displaying notes found in: .note.gnu.build-id
│    Owner                Data size 	Description
│ -  GNU                  0x00000014	NT_GNU_BUILD_ID (unique build ID bitstring)	    Build ID: 4de286a577ebb11464a28179ec6dc4637fce7a0b
│ +  GNU                  0x00000014	NT_GNU_BUILD_ID (unique build ID bitstring)	    Build ID: 037ddaf33920a423c143d4812f3ce3fecd450953
├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│ @@ -1,7 +1,7 @@
│  
│  Hex dump of section '.gnu_debuglink':
│ -  0x00000000 65323836 61353737 65626231 31343634 e286a577ebb11464
│ -  0x00000010 61323831 37396563 36646334 36333766 a28179ec6dc4637f
│ -  0x00000020 63653761 30622e64 65627567 00000000 ce7a0b.debug....
│ -  0x00000030 fe625d33                            .b]3
│ +  0x00000000 37646461 66333339 32306134 32336331 7ddaf33920a423c1
│ +  0x00000010 34336434 38313266 33636533 66656364 43d4812f3ce3fecd
│ +  0x00000020 34353039 35332e64 65627567 00000000 450953.debug....
│ +  0x00000030 fbdc3213                            ..2.
1 dkg@alice:~/src/notmuch/notmuch$ 


using diffoscope to compare these objects with the one i built back in
December shows that the December object has a .gnu_debugaltlink section,
but these new objects do not.  (so there appears to be a bit more
leftover debugging info in the december objects)

So i'm still stuck, but in a different place here.  i don't understand
why the build id would differ without anything else differing.

    --dkg

signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: