Package: w1retap
Version: 1.4.4-2
Severity: important

Hi,

When I uploaded w1retap-1.4.4-2 to mentors.d.n the package worked.
However I recently found out that something changed which breaks the
package. It now fails to run and gives the error[0] "libw1serial.so:
cannot open shared object file".

I still had a copy of the deb I built so I compared my version against
the version compiled on the buildds with diffoscope[1]. The main
difference was that the dynamic flag RPATH changed to RUNPATH.

I didn't understand why this would break the application. The main
application (/usr/bin/w1retap) was able to load libw1common.so from it's
RUNPATH (/usr/lib/i386-linux-gnu/w1retap/), however when libw1common.so
tried to load libw1serial.so it failed to find it.

The code uses g_module_open() to try to load the object:
http://sources.debian.net/src/w1retap/1.4.4-2/src/libusblinux300/acquire.c/#L25
(acquire.c is compiled to acquire.lo, archived into libw1common.la and
thus libw1common.so)

I found a number of articles that reference RPATH and RUNPATH:
https://wiki.debian.org/RpathIssue
http://blog.qt.io/blog/2011/10/28/rpath-and-runpath/
https://blog.feabhas.com/2014/04/static-and-dynamic-libraries-on-linux/
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1253638

It seems that both RPATH and RUNPATH specify paths that the system
should look in to find libraries without the need to set
LD_LIBRARY_PATH. However the main difference is that RPATH is the first
place searched before looking in LD_LIBRARY_PATH, hence if RPATH is used
there is no way to override that path with LD_LIBRARY_PATH. I assume for
this reason RPATH was deprecated some years ago. A further subtlety is
that if RUNPATH is used in the main binary then this path is not
searched when looking for sub-libraries (called transitive dependencies
in the above Ubuntu bug), this is different the RPATH behaviour. The
code for this seems to be around line 2278 in elf/dl-load.c of glibc:
http://sources.debian.net/src/glibc/2.24-8/elf/dl-load.c/#L2280

I was able to verify the above by taking my working binary and running
chrpath(1) on it to change the RPATH to RUNPATH. After this test it
stopped working in the same way.

However it was still unclear why my binary had RPATH rather than
RUNPATH. I also found out that when I rebuilt on the same machine the
binaries now had RUNPATH. After a little searching I found out that when
binutils-2.27.51.20161116-2 was released (which closed #835859) it
changed the default setting for the linker to enable the new dtags
behaviour which uses RUNPATH rather than RPATH. This seems like a good
idea and was implemented in this patch:
http://sources.debian.net/src/binutils/2.27.90.20161231-1/debian/patches/ld-new-dtags-by-default.diff/

Once I knew this I was able to rebuild with LD_FLAGS to disable this by
adding "export DEB_LDFLAGS_MAINT_APPEND = -Wl,--disable-new-dtags" to
the rules. After this it started producing RPATH binaries again.
Obviously relying on the old behaviour is not ideal however it does fix
the issue.

I will upload an updated package to mentors.d.n and ask my sponsor to
upload.

Kind Regards
--
Tom


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (400, 'testing'), (300, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.8.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages w1retap depends on:
ii  adduser              3.115
ii  init-system-helpers  1.46
ii  libc6                2.24-8
ii  libglib2.0-0         2.50.2-2
ii  libusb-0.1-4         2:0.1.12-30
ii  libxml2              2.9.4+dfsg1-2.1
ii  lsb-base             9.20161125
ii  ruby                 1:2.3.3

Versions of packages w1retap recommends:
pn  w1retap-doc  <none>

w1retap suggests no packages.

-- Configuration Files:
/etc/w1retap-sensors.dat changed [not included]

-- no debconf information

-- footnotes
[0]
$ w1retap -1 -v
w1retap v1.4.4 (c) 2005-2015 Jonathan Hudson
Built: 1479212267 gcc 6.2.1 20161119
Plugins:
 0: c [0x5635f4a88ba0] /usr/lib/x86_64-linux-gnu/w1retap/libw1file.so => 
/etc/w1retap-sensors.dat
 1: l [0x5635f4a88ba0] /usr/lib/x86_64-linux-gnu/w1retap/libw1file.so => 
/var/lib/w1retap/w1retap.log
Log file is /var/lib/w1retap/.w1retap.dat
Interval 0s, cycle -1s
Release i/face 0
Can't open the device library libw1serial.so
System returned:
libw1serial.so: cannot open shared object file: No such file or directory
This is typically a build dependency or installation error
$ 

[1]
$ diffoscope w1retap_1.4.4-2_i386.deb.working w1retap_1.4.4-2_i386.deb.broken
|################################################################################################|
  100%  Time: 0:00:07
--- w1retap_1.4.4-2_i386.deb.working
+++ w1retap_1.4.4-2_i386.deb.broken
├── file list
│ @@ -1,3 +1,3 @@
│  -rw-r--r--   0        0        0        4 2016-11-15 12:17:47.000000 
debian-binary
│ --rw-r--r--   0        0        0     2516 2016-11-15 12:17:47.000000 
control.tar.gz
│ --rw-r--r--   0        0        0   141168 2016-11-15 12:17:47.000000 
data.tar.xz
│ +-rw-r--r--   0        0        0     2517 2016-11-15 12:17:47.000000 
control.tar.gz
│ +-rw-r--r--   0        0        0   141124 2016-11-15 12:17:47.000000 
data.tar.xz
├── control.tar.gz
│   ├── control.tar
│   │   ├── ./md5sums
│   │   │   ├── md5sums
│   │   │   │┄ Files in package differ
│   │   │   ╵
│   │   ╵
│   ╵
├── data.tar.xz
│   ├── data.tar
│   │   ├── ./usr/bin/w1find
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -1,14 +1,14 @@
│   │   │   │  
│   │   │   │  Dynamic section at offset 0x2eb4 contains 27 entries:
│   │   │   │    Tag        Type                         Name/Value
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libw1common.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libpthread.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libc.so.6]
│   │   │   │ - 0x0000000f (RPATH)                      Library rpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │ + 0x0000001d (RUNPATH)                    Library runpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │   0x0000000c (INIT)                       0xfe0
│   │   │   │   0x0000000d (FINI)                       0x20a4
│   │   │   │   0x00000019 (INIT_ARRAY)                 0x3ea8
│   │   │   │   0x0000001b (INIT_ARRAYSZ)               4 (bytes)
│   │   │   │   0x0000001a (FINI_ARRAY)                 0x3eac
│   │   │   │   0x0000001c (FINI_ARRAYSZ)               4 (bytes)
│   │   │   │   0x6ffffef5 (GNU_HASH)                   0x1ac
│   │   │   │ @@ -17,14 +17,14 @@
│   │   │   │   0x0000000a (STRSZ)                      939 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000015 (DEBUG)                      0x0
│   │   │   │   0x00000003 (PLTGOT)                     0x3fac
│   │   │   │   0x00000011 (REL)                        0xc48
│   │   │   │   0x00000012 (RELSZ)                      920 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW PIE
│   │   │   │   0x6ffffffe (VERNEED)                    0xbf8
│   │   │   │   0x6fffffff (VERNEEDNUM)                 1
│   │   │   │   0x6ffffff0 (VERSYM)                     0xb6c
│   │   │   │   0x6ffffffa (RELCOUNT)                   98
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -3,8 +3,8 @@
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000010        NT_GNU_ABI_TAG (ABI 
version tag)
│   │   │   │      OS: Linux, ABI: 2.6.32
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: 3660929ecbf6e58509a0af81ea34918abadd76c3
│   │   │   │ +    Build ID: 9636e75494d532a096dc624ad128fe44e6d3c4ff
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 36303932 39656362 66366535 38353039 60929ecbf6e58509
│   │   │   │ -  0x00000010 61306166 38316561 33343931 38616261 a0af81ea34918aba
│   │   │   │ -  0x00000020 64643736 63332e64 65627567 00000000 dd76c3.debug....
│   │   │   │ -  0x00000030 3065a8ff                            0e..
│   │   │   │ +  0x00000000 33366537 35343934 64353332 61303936 36e75494d532a096
│   │   │   │ +  0x00000010 64633632 34616431 32386665 34346536 dc624ad128fe44e6
│   │   │   │ +  0x00000020 64336334 66662e64 65627567 00000000 d3c4ff.debug....
│   │   │   │ +  0x00000030 57f02867                            W.(g
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/bin/w1retap
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -4,15 +4,15 @@
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libgmodule-2.0.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libglib-2.0.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libw1common.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[librt.so.1]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libm.so.6]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libpthread.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libc.so.6]
│   │   │   │ - 0x0000000f (RPATH)                      Library rpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │ + 0x0000001d (RUNPATH)                    Library runpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │   0x0000000c (INIT)                       0x7f28
│   │   │   │   0x0000000d (FINI)                       0x2b174
│   │   │   │   0x00000019 (INIT_ARRAY)                 0x41d30
│   │   │   │   0x0000001b (INIT_ARRAYSZ)               4 (bytes)
│   │   │   │   0x0000001a (FINI_ARRAY)                 0x41d34
│   │   │   │   0x0000001c (FINI_ARRAYSZ)               4 (bytes)
│   │   │   │   0x6ffffef5 (GNU_HASH)                   0x1ac
│   │   │   │ @@ -21,14 +21,14 @@
│   │   │   │   0x0000000a (STRSZ)                      12166 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000015 (DEBUG)                      0x0
│   │   │   │   0x00000003 (PLTGOT)                     0x41e64
│   │   │   │   0x00000011 (REL)                        0x7b70
│   │   │   │   0x00000012 (RELSZ)                      952 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW PIE
│   │   │   │   0x6ffffffe (VERNEED)                    0x7a80
│   │   │   │   0x6fffffff (VERNEEDNUM)                 4
│   │   │   │   0x6ffffff0 (VERSYM)                     0x749e
│   │   │   │   0x6ffffffa (RELCOUNT)                   22
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -3,8 +3,8 @@
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000010        NT_GNU_ABI_TAG (ABI 
version tag)
│   │   │   │      OS: Linux, ABI: 2.6.32
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: e19c4ab45a729ba73255f20af925df1a4d06f370
│   │   │   │ +    Build ID: ec6a461bc79d4e44fbe665b9aa6c73263a0c677c
│   │   │   ├── readelf --wide --decompress --hex-dump=.rodata {}
│   │   │   │ @@ -58,16 +58,16 @@
│   │   │   │    0x0002b510 696d706c 656d656e 74656429 00000000 implemented)....
│   │   │   │    0x0002b520 53746f72 65206461 74657320 61732055 Store dates as U
│   │   │   │    0x0002b530 54432028 76696365 206c6f63 616c7469 TC (vice localti
│   │   │   │    0x0002b540 6d652900 77317265 74617020 76312e34 me).w1retap v1.4
│   │   │   │    0x0002b550 2e342028 63292032 3030352d 32303135 .4 (c) 2005-2015
│   │   │   │    0x0002b560 204a6f6e 61746861 6e204875 64736f6e  Jonathan Hudson
│   │   │   │    0x0002b570 0a000000 4275696c 743a2031 34373932 ....Built: 14792
│   │   │   │ -  0x0002b580 31323236 37206763 6320362e 322e3020 12267 gcc 6.2.0 
│   │   │   │ -  0x0002b590 32303136 31313039 0a007731 5f696e69 20161109..w1_ini
│   │   │   │ +  0x0002b580 31323236 37206763 6320362e 322e3120 12267 gcc 6.2.1 
│   │   │   │ +  0x0002b590 32303136 31313234 0a007731 5f696e69 20161124..w1_ini
│   │   │   │    0x0002b5a0 74007731 5f6c6f67 67657200 77315f72 t.w1_logger.w1_r
│   │   │   │    0x0002b5b0 65706f72 74002021 00617578 006d6169 eport. !.aux.mai
│   │   │   │    0x0002b5c0 6e005365 6e736f72 733a0a00 25732025 n.Sensors:..%s %
│   │   │   │    0x0002b5d0 73202825 64732925 730a0009 56696120 s (%ds)%s...Via 
│   │   │   │    0x0002b5e0 636f7570 6c65723a 2025732c 2025730a coupler: %s, %s.
│   │   │   │    0x0002b5f0 00095061 72616d65 74657273 3a000925 ..Parameters:..%
│   │   │   │    0x0002b600 643a2025 73202573 20257300 2c20252e d: %s %s %s., %.
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 39633461 62343561 37323962 61373332 9c4ab45a729ba732
│   │   │   │ -  0x00000010 35356632 30616639 32356466 31613464 55f20af925df1a4d
│   │   │   │ -  0x00000020 30366633 37302e64 65627567 00000000 06f370.debug....
│   │   │   │ -  0x00000030 d6b05b3c                            ..[<
│   │   │   │ +  0x00000000 36613436 31626337 39643465 34346662 6a461bc79d4e44fb
│   │   │   │ +  0x00000010 65363635 62396161 36633733 32363361 e665b9aa6c73263a
│   │   │   │ +  0x00000020 30633637 37632e64 65627567 00000000 0c677c.debug....
│   │   │   │ +  0x00000030 37ffb5fc                            7...
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/lib/i386-linux-gnu/w1retap/libw1common.so.0.0.0
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -20,14 +20,14 @@
│   │   │   │   0x00000006 (SYMTAB)                     0x310
│   │   │   │   0x0000000a (STRSZ)                      1189 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000003 (PLTGOT)                     0x5efc
│   │   │   │   0x00000011 (REL)                        0xe24
│   │   │   │   0x00000012 (RELSZ)                      1488 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW
│   │   │   │   0x6ffffffe (VERNEED)                    0xdc4
│   │   │   │   0x6fffffff (VERNEEDNUM)                 1
│   │   │   │   0x6ffffff0 (VERSYM)                     0xd16
│   │   │   │   0x6ffffffa (RELCOUNT)                   126
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -1,5 +1,5 @@
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: 2c026fdc3d8d508378dfbe9765713c10256c4e30
│   │   │   │ +    Build ID: e8f0fb2a02c2df82eedf34af4eb5098048a47462
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 30323666 64633364 38643530 38333738 026fdc3d8d508378
│   │   │   │ -  0x00000010 64666265 39373635 37313363 31303235 dfbe9765713c1025
│   │   │   │ -  0x00000020 36633465 33302e64 65627567 00000000 6c4e30.debug....
│   │   │   │ -  0x00000030 e7f9937c                            ...|
│   │   │   │ +  0x00000000 66306662 32613032 63326466 38326565 f0fb2a02c2df82ee
│   │   │   │ +  0x00000010 64663334 61663465 62353039 38303438 df34af4eb5098048
│   │   │   │ +  0x00000020 61343734 36322e64 65627567 00000000 a47462.debug....
│   │   │   │ +  0x00000030 24611f8d                            $a..
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/lib/i386-linux-gnu/w1retap/libw1csv.so.0.0.0
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -20,14 +20,14 @@
│   │   │   │   0x00000006 (SYMTAB)                     0x174
│   │   │   │   0x0000000a (STRSZ)                      403 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000003 (PLTGOT)                     0x1fb8
│   │   │   │   0x00000011 (REL)                        0x4f4
│   │   │   │   0x00000012 (RELSZ)                      144 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW
│   │   │   │   0x6ffffffe (VERNEED)                    0x494
│   │   │   │   0x6fffffff (VERNEEDNUM)                 1
│   │   │   │   0x6ffffff0 (VERSYM)                     0x468
│   │   │   │   0x6ffffffa (RELCOUNT)                   3
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -1,5 +1,5 @@
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: 4889fe69fff125f2626b1907690649b0c6b3eac9
│   │   │   │ +    Build ID: 23abcd731d1bea667354c3f1ebafba882de2d3e1
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 38396665 36396666 66313235 66323632 89fe69fff125f262
│   │   │   │ -  0x00000010 36623139 30373639 30363439 62306336 6b1907690649b0c6
│   │   │   │ -  0x00000020 62336561 63392e64 65627567 00000000 b3eac9.debug....
│   │   │   │ -  0x00000030 8a5ef66c                            .^.l
│   │   │   │ +  0x00000000 61626364 37333164 31626561 36363733 abcd731d1bea6673
│   │   │   │ +  0x00000010 35346333 66316562 61666261 38383264 54c3f1ebafba882d
│   │   │   │ +  0x00000020 65326433 65312e64 65627567 00000000 e2d3e1.debug....
│   │   │   │ +  0x00000030 26003cd7                            &.<.
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/lib/i386-linux-gnu/w1retap/libw1file.so.0.0.0
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -20,14 +20,14 @@
│   │   │   │   0x00000006 (SYMTAB)                     0x178
│   │   │   │   0x0000000a (STRSZ)                      544 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000003 (PLTGOT)                     0x2f8c
│   │   │   │   0x00000011 (REL)                        0x66c
│   │   │   │   0x00000012 (RELSZ)                      232 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW
│   │   │   │   0x6ffffffe (VERNEED)                    0x5fc
│   │   │   │   0x6fffffff (VERNEEDNUM)                 1
│   │   │   │   0x6ffffff0 (VERSYM)                     0x5b8
│   │   │   │   0x6ffffffa (RELCOUNT)                   3
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -1,5 +1,5 @@
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: 1798953602d306cb9485d0cadc1c021a8de43392
│   │   │   │ +    Build ID: 431e5bf657ea30ec20838b96dbbf5f76c3c96b3f
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 39383935 33363032 64333036 63623934 98953602d306cb94
│   │   │   │ -  0x00000010 38356430 63616463 31633032 31613864 85d0cadc1c021a8d
│   │   │   │ -  0x00000020 65343333 39322e64 65627567 00000000 e43392.debug....
│   │   │   │ -  0x00000030 29233b59                            )#;Y
│   │   │   │ +  0x00000000 31653562 66363537 65613330 65633230 1e5bf657ea30ec20
│   │   │   │ +  0x00000010 38333862 39366462 62663566 37366333 838b96dbbf5f76c3
│   │   │   │ +  0x00000020 63393662 33662e64 65627567 00000000 c96b3f.debug....
│   │   │   │ +  0x00000030 b07cd2a0                            .|..
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/lib/i386-linux-gnu/w1retap/libw1serial.so.0.0.0
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -4,15 +4,15 @@
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libw1common.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libxml2.so.2]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[librt.so.1]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libm.so.6]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libpthread.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libc.so.6]
│   │   │   │   0x0000000e (SONAME)                     Library soname: 
[libw1serial.so.0]
│   │   │   │ - 0x0000000f (RPATH)                      Library rpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │ + 0x0000001d (RUNPATH)                    Library runpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │   0x0000000c (INIT)                       0x1484
│   │   │   │   0x0000000d (FINI)                       0x47d4
│   │   │   │   0x00000019 (INIT_ARRAY)                 0x6de4
│   │   │   │   0x0000001b (INIT_ARRAYSZ)               4 (bytes)
│   │   │   │   0x0000001a (FINI_ARRAY)                 0x6de8
│   │   │   │   0x0000001c (FINI_ARRAYSZ)               4 (bytes)
│   │   │   │   0x6ffffef5 (GNU_HASH)                   0x138
│   │   │   │ @@ -20,14 +20,14 @@
│   │   │   │   0x00000006 (SYMTAB)                     0x3ec
│   │   │   │   0x0000000a (STRSZ)                      1535 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000003 (PLTGOT)                     0x6f00
│   │   │   │   0x00000011 (REL)                        0x1284
│   │   │   │   0x00000012 (RELSZ)                      512 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW
│   │   │   │   0x6ffffffe (VERNEED)                    0x1204
│   │   │   │   0x6fffffff (VERNEEDNUM)                 2
│   │   │   │   0x6ffffff0 (VERSYM)                     0x111c
│   │   │   │   0x6ffffffa (RELCOUNT)                   3
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -1,5 +1,5 @@
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: dba492e827134af35ac4c52538eeff310ea16562
│   │   │   │ +    Build ID: 7d4971c005f212355a94b6cb5514da1cb2f9ecc8
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 61343932 65383237 31333461 66333561 a492e827134af35a
│   │   │   │ -  0x00000010 63346335 32353338 65656666 33313065 c4c52538eeff310e
│   │   │   │ -  0x00000020 61313635 36322e64 65627567 00000000 a16562.debug....
│   │   │   │ -  0x00000030 dcbaa682                            ....
│   │   │   │ +  0x00000000 34393731 63303035 66323132 33353561 4971c005f212355a
│   │   │   │ +  0x00000010 39346236 63623535 31346461 31636232 94b6cb5514da1cb2
│   │   │   │ +  0x00000020 66396563 63382e64 65627567 00000000 f9ecc8.debug....
│   │   │   │ +  0x00000030 acfa867f                            ....
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/lib/i386-linux-gnu/w1retap/libw1usb.so.0.0.0
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -5,15 +5,15 @@
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libusb-0.1.so.4]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libxml2.so.2]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[librt.so.1]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libm.so.6]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libpthread.so.0]
│   │   │   │   0x00000001 (NEEDED)                     Shared library: 
[libc.so.6]
│   │   │   │   0x0000000e (SONAME)                     Library soname: 
[libw1usb.so.0]
│   │   │   │ - 0x0000000f (RPATH)                      Library rpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │ + 0x0000001d (RUNPATH)                    Library runpath: 
[/usr/lib/i386-linux-gnu/w1retap]
│   │   │   │   0x0000000c (INIT)                       0x1564
│   │   │   │   0x0000000d (FINI)                       0x3984
│   │   │   │   0x00000019 (INIT_ARRAY)                 0x5dd0
│   │   │   │   0x0000001b (INIT_ARRAYSZ)               4 (bytes)
│   │   │   │   0x0000001a (FINI_ARRAY)                 0x5dd4
│   │   │   │   0x0000001c (FINI_ARRAYSZ)               4 (bytes)
│   │   │   │   0x6ffffef5 (GNU_HASH)                   0x138
│   │   │   │ @@ -21,14 +21,14 @@
│   │   │   │   0x00000006 (SYMTAB)                     0x3d4
│   │   │   │   0x0000000a (STRSZ)                      1742 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000003 (PLTGOT)                     0x5ef4
│   │   │   │   0x00000011 (REL)                        0x134c
│   │   │   │   0x00000012 (RELSZ)                      536 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW
│   │   │   │   0x6ffffffe (VERNEED)                    0x12dc
│   │   │   │   0x6fffffff (VERNEEDNUM)                 2
│   │   │   │   0x6ffffff0 (VERSYM)                     0x11f2
│   │   │   │   0x6ffffffa (RELCOUNT)                   3
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -1,5 +1,5 @@
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: 0a74f30559347c78e1a2d93a37f827bdcbda0957
│   │   │   │ +    Build ID: 236396fe1b0c0ba5171c813efb2124de400634ac
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 37346633 30353539 33343763 37386531 74f30559347c78e1
│   │   │   │ -  0x00000010 61326439 33613337 66383237 62646362 a2d93a37f827bdcb
│   │   │   │ -  0x00000020 64613039 35372e64 65627567 00000000 da0957.debug....
│   │   │   │ -  0x00000030 c469dd9f                            .i..
│   │   │   │ +  0x00000000 36333936 66653162 30633062 61353137 6396fe1b0c0ba517
│   │   │   │ +  0x00000010 31633831 33656662 32313234 64653430 1c813efb2124de40
│   │   │   │ +  0x00000020 30363334 61632e64 65627567 00000000 0634ac.debug....
│   │   │   │ +  0x00000030 73cc292e                            s.).
│   │   │   │  
│   │   │   ╵
│   │   ├── ./usr/lib/i386-linux-gnu/w1retap/libw1xml.so.0.0.0
│   │   │   ├── readelf --wide --dynamic {}
│   │   │   │ @@ -20,14 +20,14 @@
│   │   │   │   0x00000006 (SYMTAB)                     0x174
│   │   │   │   0x0000000a (STRSZ)                      661 (bytes)
│   │   │   │   0x0000000b (SYMENT)                     16 (bytes)
│   │   │   │   0x00000003 (PLTGOT)                     0x2f94
│   │   │   │   0x00000011 (REL)                        0x6c8
│   │   │   │   0x00000012 (RELSZ)                      216 (bytes)
│   │   │   │   0x00000013 (RELENT)                     8 (bytes)
│   │   │   │ - 0x00000018 (BIND_NOW)                   
│   │   │   │ + 0x0000001e (FLAGS)                      BIND_NOW
│   │   │   │   0x6ffffffb (FLAGS_1)                    Flags: NOW
│   │   │   │   0x6ffffffe (VERNEED)                    0x638
│   │   │   │   0x6fffffff (VERNEEDNUM)                 2
│   │   │   │   0x6ffffff0 (VERSYM)                     0x5fa
│   │   │   │   0x6ffffffa (RELCOUNT)                   3
│   │   │   │   0x00000000 (NULL)                       0x0
│   │   │   ├── readelf --wide --notes {}
│   │   │   │ @@ -1,5 +1,5 @@
│   │   │   │  
│   │   │   │  Displaying notes found in: .note.gnu.build-id
│   │   │   │    Owner                 Data size        Description
│   │   │   │    GNU                  0x00000014        NT_GNU_BUILD_ID (unique 
build ID bitstring)
│   │   │   │ -    Build ID: b528d1fef9e949453d265eb0a24e5a174a88622c
│   │   │   │ +    Build ID: 69b3b9a10d5b59c19ce335ad44842d88715b146d
│   │   │   ├── readelf --wide --decompress --hex-dump=.gnu_debuglink {}
│   │   │   │ @@ -1,7 +1,7 @@
│   │   │   │  
│   │   │   │  Hex dump of section '.gnu_debuglink':
│   │   │   │ -  0x00000000 32386431 66656639 65393439 34353364 28d1fef9e949453d
│   │   │   │ -  0x00000010 32363565 62306132 34653561 31373461 265eb0a24e5a174a
│   │   │   │ -  0x00000020 38383632 32632e64 65627567 00000000 88622c.debug....
│   │   │   │ -  0x00000030 d18d70f5                            ..p.
│   │   │   │ +  0x00000000 62336239 61313064 35623539 63313963 b3b9a10d5b59c19c
│   │   │   │ +  0x00000010 65333335 61643434 38343264 38383731 e335ad44842d8871
│   │   │   │ +  0x00000020 35623134 36642e64 65627567 00000000 5b146d.debug....
│   │   │   │ +  0x00000030 83a9e484                            ....
│   │   │   │  
│   │   │   ╵
│   │   ╵
│   ╵
╵
$ 

Reply via email to