Hello Tobias,

Tobias Geerinckx-Rice <someb...@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: signature.asc
Description: PGP signature

Reply via email to