Skip to content

Reproducible Builds: Do not embed build-server kernel version on Linux

kpcyrd requested to merge kpcyrd/libgtop:reproducible-builds into master

On Linux this check is not necessary, but causes reproducible builds issues in the binary:

│ │ ├── strings --all --bytes=8 {}
│ │ │ @@ -30,15 +30,15 @@
│ │ │  GLIBC_2.2.5
│ │ │  GLIBC_2.34
│ │ │  AWAVAUATUSH
│ │ │  []A\A]A^A_
│ │ │  LibGTop-Server
│ │ │  (c=%u/s=%u)
│ │ │  pid %d received eof.
│ │ │ -6.6.16-1-lts
│ │ │ +6.7.4-arch1-1
│ │ │  glibtop_init_p (server == NULL)
│ │ │  Libgtop %s server version %s (%u,%u,%u,%u).
│ │ │  Client sent %lu bytes, but buffer is %lu
│ │ │  Child received unknown command %lu
│ │ │  This libgtop was compiled on %s %s %s
│ │ │  If you see strange problems caused by it,
│ │ │  you should recompile libgtop and dependent applications.

https://gitlab.archlinux.org/archlinux/packaging/packages/libgtop/-/merge_requests/1

Merge request reports