all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#47228: Check binary consistency after grafting with e.g. ldd
@ 2021-03-18 10:37 Léo Le Bouter via Bug reports for GNU Guix
  2021-03-18 13:38 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Léo Le Bouter via Bug reports for GNU Guix @ 2021-03-18 10:37 UTC (permalink / raw)
  To: 47228

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

Hello!

We had an issue after grafting ImageMagick fixed by <
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=2e0ff59f0cd836b156f1ef2e78791d864ce3cfcd
>.

Basically Inkscape did not work because ImageMagick's soname had been
bumped (probably for forward compat?):

/gnu/store/g75q5v1gqi4x08qcf1ydfl9xhp4slmxy-inkscape-
1.0.2/bin/.inkscape-real: error while loading shared libraries:
libMagickCore-6.Q16.so.6: cannot open shared object file: No such file
or directory

It seems technically possible to automatically check for this kind of
breakage, therefore I suggest we run ldd (might actually run code from
the binary) or objdump -x (pure static analysis), so after grafting we
could check that every binary can load all it's dependents declared in
the ELF headers successfully and report errors if not?

What do you think?

Léo

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-19 10:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 10:37 bug#47228: Check binary consistency after grafting with e.g. ldd Léo Le Bouter via Bug reports for GNU Guix
2021-03-18 13:38 ` Ludovic Courtès
2021-03-19  8:58   ` Léo Le Bouter via Bug reports for GNU Guix
2021-03-19 10:39     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.