unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Vong <alexvong1995@gmail.com>
To: Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
Cc: guix-devel@gnu.org, 34797-done@debbugs.gnu.org, alexvong1995@gmail.com
Subject: bug#34797: ffmpeg: error while loading shared libraries: (...): file too short
Date: Sun, 10 Mar 2019 21:36:33 +0800	[thread overview]
Message-ID: <87sgvuu9zy.fsf@gmail.com> (raw)
In-Reply-To: <87wol7hjwg.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 09 Mar 2019 21:28:47 +0100")

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

Hello Tobias,

Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
writes:

> Alex,
>
> Something is amiss on your box.
>
> Alex Vong wrote:
>> Does anyone has the same problem with ffmpeg from latest master? 
>> I've
>> got the following error:
>>
>> ========================================================================
>> alexvong1995@debian:~$ ffmpeg --help
>> ffmpeg: error while loading shared libraries: 
>> /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.so.58:
>> file too short
>> ========================================================================
>
> λ file -L 
> /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.so.58
> /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.so.58: 
> ELF 64-bit LSB pie executable x86-64, version 1 (SYSV), 
> dynamically linked, stripped
>
> λ ls -lh 
> /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.so.58.5.100 
> -r-xr-xr-x 2 root root 152K Jan  1  1970 
>  /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.so.58.5.100
>
> Have you fsck'd your file system lately?
>
> T G-R

Thanks for the suggestion! I think I did. Running

  sudo guix gc --verify=contents,repair

shows that glibc, perl and ffmpeg are corrupted.

However, the repair doesn't fix the
"/gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1" item.
I guess this's because it is built using grafting.
Anyway, I roll back, delete the latest generation, build ffmpeg and it
works again!

Thanks,
Alex

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

      reply	other threads:[~2019-03-10 13:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-09 20:10 bug#34797: ffmpeg: error while loading shared libraries: (...): file too short Alex Vong
2019-03-09 20:28 ` Tobias Geerinckx-Rice
2019-03-10 13:36   ` Alex Vong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgvuu9zy.fsf@gmail.com \
    --to=alexvong1995@gmail.com \
    --cc=34797-done@debbugs.gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=somebody@not-sent-or-endorsed-by.tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).