[MacPorts] #26691: cmus missing dependencies
#26691: cmus missing dependencies ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: cmus ------------------------------+--------------------------------------------- cmus looks for ffmpeg, among others, at startup and fails to find them. they're not listed as dependencies: {{{ cmus: Error: dlopen(/opt/local/lib/cmus/ip/ffmpeg.so, 2): Library not loaded: /opt/local/lib/libavformat.dylib Referenced from: /opt/local/lib/cmus/ip/ffmpeg.so Reason: image not found cmus: Error: dlopen(/opt/local/lib/cmus/ip/modplug.so, 2): Library not loaded: /opt/local/lib/libmodplug.0.dylib Referenced from: /opt/local/lib/cmus/ip/modplug.so Reason: image not found cmus: Error: dlopen(/opt/local/lib/cmus/ip/mpc.so, 2): Library not loaded: /opt/local/lib/libmpcdec.5.dylib Referenced from: /opt/local/lib/cmus/ip/mpc.so Reason: image not found }}} -- Ticket URL: <https://trac.macports.org/ticket/26691> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26691: cmus missing dependencies ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: cmus ------------------------------+--------------------------------------------- Comment(by snc@…): Two of them are straightforward: libmodplug and libmpcdec. not sure where libavformat comes from but it might very well be ffmpeg like i assumed. -- Ticket URL: <https://trac.macports.org/ticket/26691#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26691: cmus missing dependencies ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: cmus ------------------------------+--------------------------------------------- Changes (by milosh@…): * status: new => assigned Comment: Which version of cmus do you have installed and with which variants? Do you happen to have uninstalled ffmpeg, libmodplug, libmpcdec since you installed cmus? I don't have modplug nor ffmpeg and hence, no ffmpeg.so or modplug.so were built. -- Ticket URL: <https://trac.macports.org/ticket/26691#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26691: cmus missing dependencies ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: cmus ------------------------------+--------------------------------------------- Comment(by snc@…): 2.3.3, default variants. None of those packages were installed by or before cmus, so there was nothing to uninstall :-) -- Ticket URL: <https://trac.macports.org/ticket/26691#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26691: cmus missing dependencies ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: cmus ------------------------------+--------------------------------------------- Comment(by milosh@…): I removed autodetection in the configure phase (r72055). However, the .so should not have been built if you don't have the dependency. Anyway, is it OK now? -- Ticket URL: <https://trac.macports.org/ticket/26691#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26691: cmus missing dependencies -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: Port: cmus | -------------------------------+-------------------------------------------- Changes (by snc@…): * status: assigned => closed * resolution: => fixed Comment: Okay, here's the short of what happened: I installed one of the archives I had previously built of cmus. At the time, said ports must have been installed so it built them. Ports that magically adapt based on what you have installed are a bad thing. I had this issue working on KDE: you should never build differently depending on the environment, force the configuration instead. That is, configure should say ffmpeg/libmodplug/libmpcdec are enabled or disabled like you added in the last revision. Those changes should address the issue! Thanks. -- Ticket URL: <https://trac.macports.org/ticket/26691#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26691: cmus missing dependencies -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: milosh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: Port: cmus | -------------------------------+-------------------------------------------- Comment(by milosh@…): So you indeed uninstalled those ports since the build of cmus. But yes, it was my fault for not seeing those new configure options for detecting libraries I don't have. Thanks for your report. -- Ticket URL: <https://trac.macports.org/ticket/26691#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts