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: 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-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 List-Id: guix-devel.gnu.org --=-=-= 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----- --=-=-=--