Help with FTBFS polybar (builds fine on salsa-ci)

Mattia Rizzolo mattia at debian.org
Wed Jun 10 09:55:18 BST 2020


On Tue, Jun 09, 2020 at 11:32:31PM +0100, Samuel Henrique wrote:
> > The diff seems to be mostly made of entries like this (diff from a
> > build with DEB_BUILD_MAINT_OPTIONS = reproducible=+fixfilepath [branch
> > debian/samueloph/reproducible2]):
> > │ │ │ │ -  250e36:    48 8d 3d e0 b5 00 00     lea    0xb5e0(%rip),%rdi
> > │ │ │ │ +  250e36:    48 8d 3d e8 b5 00 00     lea    0xb5e8(%rip),%rdi
>
[…]
> This would cause a diff in ELF's .rodata, which in turn would cause a
> shift in a bunch of .text assembly calls.

This is exactly what I was hinting at in my previous mail.

The shift there is of 8 bits, which just so happen to be the extra
lenght of the second build (it has an extra '2/').

If it was embedding the path in many more places there would be many
extra shifts as well, there being only 8 bits is probably an indicator
that is saved only once, wherever that is.

> After the fix, the only diff we have is from "NT_GNU_BUILD_ID" and
> ".gnu_debuglink" which seems like a known issue[1] and I don't think
> there's anything I can do.

Are you diffing also the dbgsym?  From my experience, I'd say pretty
much all of those instanes are also cases where the build path is saved
somehow, even if later stripped.

> I just uploaded 3.4.3-2 with the fixes, so this means the diffoscope
> timeouts won't happen anymore for this package, though the issue will
> still be there and it might affect other packages.

sigh, apparently it still timeouts :(

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20200610/52516ba7/attachment.sig>


More information about the Reproducible-builds mailing list