Package: file
Version: 5.11-1
Severity: normal

file reports incorrect build-id for ELF files:

$ file /bin/ls | grep -o 'BuildID[^ ,]*'
BuildID[sha1]=0xc408233824063a0e53330adc4e8247a0df373872

$ readelf -n /bin/ls | grep Build\ ID
    Build ID: 382308c40e3a0624dc0a3353a047824e723837df


Comparing the first 4 octets suggests that it's a problem with endianness.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages file depends on:
ii  libc6      2.13-27
ii  libmagic1  5.11-1
ii  zlib1g     1:1.2.6.dfsg-2

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to