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 04:10:15 +0800 Message-ID: <875zsrajx4.fsf@gmail.com> 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]:39465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2iJG-00014C-93 for bug-guix@gnu.org; Sat, 09 Mar 2019 15:11:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2iJF-0000xY-BV for bug-guix@gnu.org; Sat, 09 Mar 2019 15:11:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2iJC-0000un-Jj for bug-guix@gnu.org; Sat, 09 Mar 2019 15:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h2iJC-0001ox-AK for bug-guix@gnu.org; Sat, 09 Mar 2019 15:11:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:39354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2iIm-0000gI-Oq for bug-guix@gnu.org; Sat, 09 Mar 2019 15:10:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2iIm-0000P9-38 for bug-guix@gnu.org; Sat, 09 Mar 2019 15:10:36 -0500 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: 34797@debbugs.gnu.org Cc: guix-devel@gnu.org, alexvong1995@gmail.com --=-=-= Content-Type: text/plain Hello guix, 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 ======================================================================== The following command shows that most of the shared libraries built are empty: ======================================================================== alexvong1995@debian:~$ LC_ALL=C find "$(guix build ffmpeg)/lib" -type f -execdir ls -hl '{}' ';' -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libavformat.so.58.20.100 -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libavutil.so.56.22.100 -r--r--r-- 6785 root root 0 Jan 1 1970 ./libavfilter.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libavutil.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libavresample.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libpostproc.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libswresample.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libavcodec.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libavformat.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libswscale.pc -r--r--r-- 6785 root root 0 Jan 1 1970 ./libavdevice.pc -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libavdevice.so.58.5.100 -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libavfilter.so.7.40.101 -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libavresample.so.4.0.0 -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libswresample.so.3.3.100 -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libpostproc.so.55.3.100 -r-xr-xr-x 26 root root 0 Jan 1 1970 ./libswscale.so.5.3.100 -r-xr-xr-x 2 root root 14M Jan 1 1970 ./libavcodec.so.58.35.100 ======================================================================== I'm CC'ing guix-devel since ffmpeg is essential to many audio/video packages (e.g. mpv, vlc). Cheers, Alex --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXIQdpwAKCRBh71Au9gJS 8lBkAQCnfrldIDPqDjJJw9kQl/uvIA40G7KkrRBHZ+9+wqB7WgD+IjGfKlgvJI+x 0yoc/oLwv5TM0iTXlHOjeiFRu6nc9Ag= =+37a -----END PGP SIGNATURE----- --=-=-=--