Bug ID | 1199709 |
---|---|
Summary | lsof varies from build machine hostname |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | All |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | danilo.spinella@suse.com |
Reporter | bwiedemann@suse.com |
QA Contact | qa-bugs@suse.de |
Blocks | 1084909 |
Found By | Development |
Blocker | --- |
While working on reproducible builds for openSUSE, I found that our lsof package varies as it includes the build machine's hostname /usr/bin/lsof differs in ELF section .rodata --- old /usr/bin/lsof (objdump) +++ new /usr/bin/lsof (objdump) @@ -1015,7 +1015,7 @@ 25f20 6c617465 73742046 41513a20 25730a00 latest FAQ: %s.. 25f30 20202020 636f6e66 69677572 6174696f configuratio 25f40 6e20696e 666f3a20 25730a00 6275696c n info: %s..buil - 25f50 64686f73 74610061 6275696c 64002020 dhosta.abuild. + 25f50 64686f73 74620061 6275696c 64002020 dhostb.abuild. 25f60 2020636f 6e737472 75637465 64202573 constructed %s 25f70 3a202573 25732573 0a002020 20206275 : %s%s%s.. bu 25f80 696c6465 72277320 636f6d6d 656e743a ilder's comment: @@ -1158,7 +1158,7 @@ 26810 57657272 6f723d72 65747572 6e2d7479 Werror=return-ty 26820 7065202d 666c746f 3d617574 6f202d57 pe -flto=auto -W 26830 616c6c20 2d576e6f 2d756e75 73656400 all -Wno-unused. - 26840 4c696e75 78206275 696c6468 6f737461 Linux buildhosta + 26840 4c696e75 78206275 696c6468 6f737462 Linux buildhostb 26850 20352e31 372e372d 312d6465 6661756c 5.17.7-1-defaul 26860 74202331 20534d50 20505245 454d5054 t #1 SMP PREEMPT 26870 20546875 204d6179 20313220 31323a33 Thu May 12 12:3 This seems to come from the Configure script that calls uname -n and another uname variant such as uname -a please fix (ideally upstream) If it is not possible to always omit or normalize the hostname, it should be possible to override it with $HOSTNAME or to normalize it when $SOURCE_DATE_EPOCH is set. For example patches see https://github.com/BenLangmead/bowtie2/pull/210/files https://github.com/heimdal/heimdal/pull/332/files https://build.opensuse.org/request/show/555498