FS#51463 - [ffmpeg] Required dependency not provided by current netcdf package

Attached to Project: Arch Linux
Opened by itzexor (itzexor) - Thursday, 20 October 2016, 20:42 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 25 October 2016, 23:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Maxime Gauduin (Alucryd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 13
Private No

Details

Description:
$ mpv
mpv: error while loading shared libraries: libnetcdf.so.12: cannot open shared object file: No such file or directory

According to the .BUILDINFO for mpv-1:0.21.0-1, netcdf-4.4.1rc1-1 which provides libnetcdf.so.12 was used during the build, but the current version in the repository which is netcdf-4.4.1-1 provides libnetcdf.so.11
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 25 October 2016, 23:21 GMT
Reason for closing:  Fixed
Comment by itzexor (itzexor) - Thursday, 20 October 2016, 20:44 GMT
If I'm mistaken here please let me know, thanks.
Comment by inan (inan) - Thursday, 20 October 2016, 21:20 GMT
You're totally right.

For me a simple :

sudo ln -s /usr/lib/libnetcdf.so.11.0.3 /usr/lib/libnetcdf.so.12

did the trick! (But I'm a noob at this kind of stuff and maybe my way is wrong...), but it works !

EDIT : According to https://github.com/Unidata/netcdf-c/releases/tag/v4.4.1-rc2 , [Bug Fix] Reverted SOVersion current to 11 from 12; it was incorrectly incremented in netCDF-C release 4.4.1-RC1.
Comment by itzexor (itzexor) - Thursday, 20 October 2016, 21:24 GMT
ffmpeg is also broken (the netcdf dependency is pulled through ffmpeg for mpv)
not sure if the error is coming from mpv trying to use ffmpeg or not...
Comment by Jacob S (Gourdcaptain) - Thursday, 20 October 2016, 22:22 GMT
I got around this for the time being by recompiling FFmpeg to use the newer netcdf package. Helps I'm using ffmpeg-libfdk_aac, so I'm already compiling it anyway.
Comment by Doug Newgard (Scimmia) - Thursday, 20 October 2016, 23:15 GMT
mpv is not linked to netcdf at all. The issue is ffmpeg needing rebuilt.
Comment by Curtis Lee Bolin (curtisleebolin) - Friday, 21 October 2016, 00:08 GMT
Maxime Gauduin, please rebuild ffmpeg with the new release of libnetcdf (package netcdf).

$ ffmpeg
ffmpeg: error while loading shared libraries: libnetcdf.so.12: cannot open shared object file: No such file or directory

$ pacman -Fs libnetcdf.so.12
extra/netcdf 4.4.1rc1-1
usr/lib/libnetcdf.so.12

$ pacman -Q netcdf
netcdf 4.4.1-1

$ pacman -Ql netcdf
netcdf /usr/
netcdf /usr/bin/
netcdf /usr/bin/nc-config
netcdf /usr/bin/nccopy
netcdf /usr/bin/ncdump
netcdf /usr/bin/ncgen
netcdf /usr/bin/ncgen3
netcdf /usr/include/
netcdf /usr/include/netcdf.h
netcdf /usr/include/netcdf_mem.h
netcdf /usr/include/netcdf_meta.h
netcdf /usr/lib/
netcdf /usr/lib/libnetcdf.settings
netcdf /usr/lib/libnetcdf.so
netcdf /usr/lib/libnetcdf.so.11
netcdf /usr/lib/libnetcdf.so.11.0.3
netcdf /usr/lib/pkgconfig/
netcdf /usr/lib/pkgconfig/netcdf.pc
netcdf /usr/share/
netcdf /usr/share/licenses/
netcdf /usr/share/licenses/netcdf/
netcdf /usr/share/licenses/netcdf/COPYRIGHT
netcdf /usr/share/man/
netcdf /usr/share/man/man1/
netcdf /usr/share/man/man1/nccopy.1.gz
netcdf /usr/share/man/man1/ncdump.1.gz
netcdf /usr/share/man/man1/ncgen.1.gz
netcdf /usr/share/man/man1/ncgen3.1.gz
netcdf /usr/share/man/man3/
netcdf /usr/share/man/man3/netcdf.3.gz
Comment by Ronald van Haren (pressh) - Friday, 21 October 2016, 02:39 GMT
I'll get to it in a few hours
Comment by Mike Javorski (javmorin) - Friday, 21 October 2016, 03:49 GMT
Doug (Scimmia), I would have really appreciated a comment indicating what task to look for rather than just closing my bugs as duplicates with nothing to go on. Would have saved me the last 30+ minutes of trying to find the information and only finding old closed tasks which were for different issues. Just trying to do the right thing with making sure I was reporting the bug correctly. Thanks.

Edit: It appears Flyspray does have the ability to link the duplicate tasks, but for some reason, neither of mine where :-(
Comment by Doug Newgard (Scimmia) - Friday, 21 October 2016, 03:54 GMT
javmorin, there are so many tickets about this already, I could only assume you didn't even try to look for them. If you weren't willing to put in the effort, why should I?
Comment by Mike Javorski (javmorin) - Friday, 21 October 2016, 04:23 GMT
Scimmia: Appreciate the situation, but no I did spend a fair bit of time trying to find relevant bugs both before I filed my first, and after you closed it as a duplicate. I went at it from both the netcdf and mpv bug links as well as searches on the errors and library files in question and came up with only unrelated items, or similar errors in the past, nothing from today hence why I tried filing the bug differently. Now I search and find multiple results, this is not my first go-round with bug tracking software (though I find flyspray a bit quirky), I assure you I did honestly try. Cheers.
Comment by Mike Javorski (javmorin) - Friday, 21 October 2016, 06:30 GMT
Fixed with current version of ffmpeg (1:3.1.4-3) and netcdf (4.4.1-2).
Comment by Doug Newgard (Scimmia) - Friday, 21 October 2016, 13:17 GMT
pressh, how about fixing all of the packages you broke here, or at least create a todo list, before calling this done?
Comment by Ronald van Haren (pressh) - Friday, 21 October 2016, 13:30 GMT
@Scimmia I have them locally but I somehow can't checkout the community svn. I sent a message to arch-dev about it, so if that is fixed I can push the packages. Either way, this bug is about ffmpeg which was fixed so that's why I closed it. I'm perfectly aware that gdal/grace need to be updated.

Comment by Ronald van Haren (pressh) - Friday, 21 October 2016, 13:36 GMT
@Scimmia which was just fixed, so pushing gdal/grace now. If I missed something let me know, I'll keep the ffmpeg bug open for you to keep you happy.

Loading...