Bug 13777 - tcp-wrappers reproducibility issue (file mode changes)
Summary: tcp-wrappers reproducibility issue (file mode changes)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-02-03 12:28 UTC by Richard Purdie
Modified: 2020-02-06 15:27 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2020-02-03 12:28:47 UTC
The source files in tcp-wrappers-src seems to change mode depending on the build host:

diffoscope oe-reproducible-20200203-65bgspxp/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-14939/reproducible*/tmp/deploy/deb/core2-64//tcp*
 |####################################################################################################|  100%                             Time: 0:00:00 
--- oe-reproducible-20200203-65bgspxp/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-14939/reproducibleA/tmp/deploy/deb/core2-64/tcp-wrappers-src_7.6-r10_amd64.deb
+++ oe-reproducible-20200203-65bgspxp/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-14939/reproducibleB/tmp/deploy/deb/core2-64/tcp-wrappers-src_7.6-r10_amd64.deb
├── file list
│ @@ -1,3 +1,3 @@
│  -rw-r--r--   0        0        0        4 1997-03-21 18:27:20.000000 debian-binary
│  -rw-r--r--   0        0        0      516 1997-03-21 18:27:20.000000 control.tar.xz
│ --rw-r--r--   0        0        0    38200 1997-03-21 18:27:20.000000 data.tar.xz
│ +-rw-r--r--   0        0        0    38208 1997-03-21 18:27:20.000000 data.tar.xz
├── data.tar.xz
│ ├── data.tar
│ │ ├── file list
│ │ │ @@ -5,35 +5,35 @@
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/
│ │ │  drwxr-xr-x   0 root         (0) root         (0)        0 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/
│ │ │  -r--r--r--   0 root         (0) root         (0)     1100 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/clean_exit.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     1466 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/diag.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     4084 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/eval.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     1012 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/fakelog.c
│ │ │ --rw-r--r--   0 root         (0) root         (0)     3845 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/fix_options.c
│ │ │ +-r--r--r--   0 root         (0) root         (0)     3845 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/fix_options.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     1407 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/fromhost.c
│ │ │ --rw-r--r--   0 root         (0) root         (0)    15986 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/hosts_access.c
│ │ │ +-r--r--r--   0 root         (0) root         (0)    15986 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/hosts_access.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     1103 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/hosts_ctl.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     8129 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/inetcf.c
│ │ │  -r--r--r--   0 root         (0) root         (0)      479 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/inetcf.h
│ │ │ --rw-r--r--   0 root         (0) root         (0)     2193 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/misc.c
│ │ │ +-r--r--r--   0 root         (0) root         (0)     2193 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/misc.c
│ │ │  -r--r--r--   0 root         (0) root         (0)      549 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/mystdarg.h
│ │ │  -r--r--r--   0 root         (0) root         (0)      766 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/myvsyslog.c
│ │ │  -r--r--r--   0 root         (0) root         (0)    15537 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/options.c
│ │ │  -r--r--r--   0 root         (0) root         (0)       88 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/patchlevel.h
│ │ │  -r--r--r--   0 root         (0) root         (0)      865 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/percent_m.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     2518 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/percent_x.c
│ │ │  -r--r--r--   0 root         (0) root         (0)      893 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/refuse.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     6579 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/rfc931.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     5262 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/safe_finger.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     6869 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/scaffold.c
│ │ │  -r--r--r--   0 root         (0) root         (0)      295 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/scaffold.h
│ │ │  -r--r--r--   0 root         (0) root         (0)     2121 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/shell_cmd.c
│ │ │ --rw-r--r--   0 root         (0) root         (0)    12729 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/socket.c
│ │ │ --rw-r--r--   0 root         (0) root         (0)     3597 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/tcpd.c
│ │ │ +-r--r--r--   0 root         (0) root         (0)    12729 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/socket.c
│ │ │ +-r--r--r--   0 root         (0) root         (0)     3597 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/tcpd.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     9130 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/tcpd.h
│ │ │  -r--r--r--   0 root         (0) root         (0)    13583 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/tcpdchk.c
│ │ │  -r--r--r--   0 root         (0) root         (0)    10930 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/tcpdmatch.c
│ │ │  -r--r--r--   0 root         (0) root         (0)    10471 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/tli.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     2062 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/try-from.c
│ │ │  -r--r--r--   0 root         (0) root         (0)     3104 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/update.c
│ │ │  -rw-r--r--   0 root         (0) root         (0)      214 1997-03-21 18:27:20.000000 ./usr/src/debug/tcp-wrappers/7.6-r10/tcp_wrappers_7.6/weak_symbols.c
Comment 1 Richard Purdie 2020-02-05 10:41:28 UTC
Tracked down to older versions of patch having issues with index lines in patches changing the file modes.
Comment 3 Richard Purdie 2020-02-06 15:27:20 UTC
Resolved with above commit