[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#809501: marked as done (mklibs-copy: crashes on static binaries)



Your message dated Mon, 10 Oct 2016 21:37:28 +0200
with message-id <20161010193728.GU2988@var.home>
and subject line Re: Bug#809501: mklibs-copy: crashes on static binaries
has caused the Debian Bug report #809501,
regarding mklibs-copy: crashes on static binaries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
809501: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809501
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mklibs-copy
Version: 0.1.40+b1
Severity: important

Hello,

I just tried to build a d-i image, but got:

Bus error
Command failed with status 135 : mklibs-readelf -R ./tmp/netboot-gtk/tree/sbin/blkid

And indeed,

$ cat > test.c << EOF
int main(void) {}
EOF
$ gcc test.c -o test -static
$ mklibs-readelf -R test
bus error  mklibs-readelf -R test

I agree that running mklibs-readelf -R on a static elf file is a bit
odd, but it makes sense when e.g. running over a bunch of elf files.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mklibs-copy depends on:
ii  dpkg-dev    1.18.3
ii  libc6       2.21-6
ii  libgcc1     1:6-20151211-1
ii  libstdc++6  5.3.1-4
ii  python      2.7.11-1
pn  python:any  <none>

mklibs-copy recommends no packages.

mklibs-copy suggests no packages.

-- no debconf information

-- 
Samuel
 Les roots ne sont plus ce qu'ils étaient...Maintenant il sont dioxinés,
 c'est de la m... ! Avant on les élevaient avec du bon unix mais ça été
 remplacé par des farines industrielles nouvelles technologies (NT).
 -+- JdK in NPC : Exigez un root élevé sous la mère ! -+-

--- End Message ---
--- Begin Message ---
Version: 0.1.42

Hello,

Cyril Brulebois, on Sat 01 Oct 2016 00:40:38 +0200, wrote:
> Samuel Thibault <sthibault@debian.org> (2015-12-31):
> > Samuel Thibault, on Thu 31 Dec 2015 14:55:50 +0100, wrote:
> > > I agree that running mklibs-readelf -R on a static elf file is a bit
> > > odd, but it makes sense when e.g. running over a bunch of elf files.
> > 
> > Actually mklibs-copy already filters out non-elf in
> > 
> > for prog in proglist:
> > 
> > Either it should filter out static elf files, or mklibs-readelf made not
> > to crash :)
> 
> please check my analysis in #839264 (and upcoming fix), I suspect you
> were hitting the same thing.

It fixes my case too indeed.

Thanks,
Samuel

--- End Message ---

Reply to: