From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: bug#34797: ffmpeg: error while loading shared libraries: (...): file too short Date: Sun, 10 Mar 2019 21:36:33 +0800 Message-ID: <87sgvuu9zy.fsf@gmail.com> References: <875zsrajx4.fsf@gmail.com> <87wol7hjwg.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2ydT-0000QC-QA for bug-guix@gnu.org; Sun, 10 Mar 2019 09:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2ydT-0003ed-0x for bug-guix@gnu.org; Sun, 10 Mar 2019 09:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2ydS-0003eS-Sx for bug-guix@gnu.org; Sun, 10 Mar 2019 09:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h2ydS-0004G9-PG for bug-guix@gnu.org; Sun, 10 Mar 2019 09:37:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87wol7hjwg.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 09 Mar 2019 21:28:47 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org, 34797-done@debbugs.gnu.org, alexvong1995@gmail.com --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Tobias, Tobias Geerinckx-Rice writes: > Alex, > > Something is amiss on your box. > > Alex Vong wrote: >> Does anyone has the same problem with ffmpeg from latest master?=20 >> I've >> got the following error: >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> alexvong1995@debian:~$ ffmpeg --help >> ffmpeg: error while loading shared libraries:=20 >> /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice= .so.58: >> file too short >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =CE=BB file -L=20 > /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.= so.58 > /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.= so.58:=20 > ELF 64-bit LSB pie executable x86-64, version 1 (SYSV),=20 > dynamically linked, stripped > > =CE=BB ls -lh=20 > /gnu/store/4hcr7ygdhaxws6q5dj806cbvq0dkfgkw-ffmpeg-4.1.1/lib/libavdevice.= so.58.5.100=20 > -r-xr-xr-x 2 root root 152K Jan 1 1970=20 > /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=3Dcontents,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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXIUS4QAKCRBh71Au9gJS 8vxpAP0ZhX83pYyZYkv/7r+6r1sf762MZ0fvbUzN8QX6zDa4bwD9FugVy8irgGwo 76c3EPHm1hzU6bpKTzNj6ed9vgDLRgk= =0k3o -----END PGP SIGNATURE----- --=-=-=--