[MacPorts] #36969: New ffmpeg version breaks minidlna
#36969: New ffmpeg version breaks minidlna ---------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: minidlna, ffmpeg | Port: minidlna ---------------------------------+-------------------------------- Hi - I just upgraded ffmpeg to the latest version (1.0.2); a subsequent upgrade of minidlna to 1.0.22_20111216_2 fails while looking for av_open_input_file in -lavformat. I have tried to compile ffmpeg with all variants (+gpl2, +gpl3, +nonfree) enabled, with no improvement. Please see the attached main.log of the minidlna build. -- Ticket URL: <https://trac.macports.org/ticket/36969> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: minidlna | ----------------------------------+----------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ranauei@… * cc: martin.eisenhardt@… (removed) * keywords: minidlna, ffmpeg => -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: minidlna | ----------------------------------+----------------------- Comment (by ranauei@…): Seems to be fixed in the latest CVS trunk of minidlna provided by #36970 -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: minidlna | ----------------------------------+----------------------- Comment (by martin.eisenhardt@…): (First things first: Thanks for the very quick reply!) Hmmm ... I just did {{{ % sudo port selfupdate $ sudo port clean minidlna $ sudo port upgrade -u minidlna }}} This fails with {{{ :info:configure configure: error: Could not find libavformat - part of ffmpeg }}} A close look at /opt/local/lib reveals {{{ $ ls -l libavformat.* -rwxr-xr-x 1 root admin 1173012 12 Nov 22:15 libavformat.54.29.104.dylib lrwxr-xr-x 1 root admin 27 12 Nov 22:15 libavformat.54.dylib -> libavformat.54.29.104.dylib -rw-r--r-- 1 root admin 15099176 12 Nov 22:15 libavformat.a lrwxr-xr-x 1 root admin 27 12 Nov 22:15 libavformat.dylib -> libavformat.54.29.104.dylib }}} I do not know why the build process cannot find libavformat. Maybe you can shed some light on it. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: minidlna | ----------------------------------+----------------------- Comment (by ranauei@…): Replying to [comment:4 martin.eisenhardt@…]:
(First things first: Thanks for the very quick reply!)
Hmmm ... I just did
{{{ % sudo port selfupdate $ sudo port clean minidlna $ sudo port upgrade -u minidlna }}}
Did you applied the patch to the MiniDLNA Portfile before that? I submitted the update (#36970) but is not committed yet, that means that is not available yet when you do selfupdate. If you are in hurry download the Portfile.diff attached and apply the patch yourself manually. Suppose to have the Portfile.diff in you Downloads folder and you're actual directory is your non-root home, to patch the original MiniDLNA Portfile do {{{ #!div style="font-size: 80%" {{{#!sh sudo patch -p0 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/minidlna/Portfile < Downloads/Portfile.diff }}} }}} then if you do {{{port info minidlna}}} you should notice that now the version is 1.1.0_20121106 and now it should build nicely. -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: minidlna | ----------------------------------+----------------------- Comment (by martin.eisenhardt@…): Thanks again for the quick help; and no, I had not applied the patch manually. I was under the wrong impression that as soon as you commit the change to the repo it will by synced to my local ports installation using selfupdate. The version with the patch applied compiles without problems. One small thing, though: Up to now, the executable was called minidlna; now it is minidlnad. Small change, but easy to get confused by it if you cannot find the expected executable anymore. Big thanks! -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: minidlna | ----------------------------------+----------------------- Comment (by ranauei@…): Replying to [comment:6 martin.eisenhardt@…]:
I was under the wrong impression that as soon as you commit the change to the repo it will by synced to my local ports installation using selfupdate.
I can only submit the tickets, then is on the devs with write access to commit them.
The version with the patch applied compiles without problems.
Happy to read that :D
One small thing, though: Up to now, the executable was called minidlna; now it is minidlnad. Small change, but easy to get confused by it if you cannot find the expected executable anymore.
That's something that the MiniDLNA's dev did in a recent commit. -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36969: minidlna: build fails with ffmpeg 1.0 ----------------------------------+----------------------- Reporter: martin.eisenhardt@… | Owner: ranauei@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: minidlna | ----------------------------------+----------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed Comment: r99675 -- Ticket URL: <https://trac.macports.org/ticket/36969#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts