[MacPorts] #39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ---------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ffmpeg ---------------------+-------------------------------- Problem occurs during normal 'port upgrade ffmpeg' since openjpeg-2.0.0 was released. Problem surfaces as "ERROR: libopenjpeg not found" in the configure step, because ffmpeg appears to use the openjpeg-1.5 API which appears to conflict with the openjpeg-2.0 API. https://ffmpeg.org/trac/ffmpeg/ticket/2016 talks about this. While I'm unable to find the ticket that fixed this in ffmpeg devel, I'm building the latest git pull of ffmpeg on an Ubuntu box and this build picks up either openjpeg 1.5 or 2.0 (whichever is installed). This suggests that current ffmpeg-1.2.1 Portfile depends_lib changes from port:openjpeg to port:openjpeg15. Then when ffmpeg-1.2.2 releases change this to port:openjpeg which picks up openjpeg-2.0.0 (which is the version the unqualified openjpeg port references). This also suggest that both openjpeg + openjpeg15 must have a conflicts statement added (conflicting with each other), so only one version of openjpeg can be installed. -- Ticket URL: <https://trac.macports.org/ticket/39161> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Changes (by raimue@…): * owner: macports-tickets@… => devans@… * cc: devans@… (removed) Comment: I discovered the problem with ffmpeg and openjpeg independently of this ticket. As of r106244, ffmpeg depends on openjpeg15. -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Changes (by macsforever2000@…): * cc: f.calboli@…, djart@… (added) Comment: Cc'ing people from duplicate #39158. -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by f.calboli@…): Replying to [comment:1 raimue@…]:
I discovered the problem with ffmpeg and openjpeg independently of this ticket. As of r106244, ffmpeg depends on openjpeg15.
I would not know what openjpeg15 might be, MacPorts list one openjpg, which is now at 2.0.0_0 (and so is on my machine). -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by whcordis@…): I was able to install openjpeg15 in addition to the 2.0 and so far no problems. -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by macsforever2000@…): Isn't this fixed? Is there something else to do here? -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Changes (by macsforever2000@…): * cc: raimue@… (added) -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by djart@…): I also confirm that it works if/when you install openjpeg15 (which mysteriously was absent as a package at the time this bug was filed, it showed up after a selfupdate some hours later, hm who knows). Perhaps the ffmpeg package dependency should change to point to openjpeg15 just to be politically correct ... -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Changes (by macsforever2000@…): * cc: jeremyhu@… (added) Comment: It already does depend on openjpeg15, that was the change mentioned in comment:1 -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by djart@…): You are right, my bad, I hadn't noticed. I guess then that it's totally safe to call it fixed. -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ffmpeg | ----------------------+---------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: This was fixed with the r106244 commit as stated above -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by elliottbalsley@…): Can someone please explain how this is fixed? I still get the error when compiling ffmpeg "libopenjpeg not found". I have version 2.0 installed via MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#39161: ffmpeg-1.2.1 + openjpeg-2.0.0 conflict + proposed fix ----------------------+---------------------- Reporter: david@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ffmpeg | ----------------------+---------------------- Comment (by raimue@…): Replying to [comment:14 elliottbalsley@…]:
Can someone please explain how this is fixed? I still get the error when compiling ffmpeg "libopenjpeg not found". I have version 2.0 installed via MacPorts.
Are you building the ffmpeg port or outside of MacPorts? As stated above, ffmpeg needs openjpeg 1.5.x, which is provided in the openjpeg15 port and ffmpeg also depends on this port. -- Ticket URL: <https://trac.macports.org/ticket/39161#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts