[MacPorts] #14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ---------------------------------+------------------------------------------ Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: ffmpeg | ---------------------------------+------------------------------------------ ffmpeg is fetched using svn from `1svn://svn.mplayerhq.hu/ffmpeg/trunk/` using a specific revision specified by svn.tag. But in this directory in the repository is a svn:externals declaration: {{{ svn:externals : libswscale svn://svn.mplayerhq.hu/mplayer/trunk/libswscale }}} Therefore, libswscale is always fetched from HEAD of *another* repository. Building ffmpeg now always uses HEAD of libswscale which is not reliable. Also, building ffmpeg will result in different results although the version and revision of the port is the same. As reported on IRC by dang`r`us, ffmpeg fails at the moment on destrooting due to some HEAD commit in libswscale: {{{ : make -C libpostproc install-headers make -C libswscale install-headers Makefile:20: ../subdir.mak: No such file or directory make[1]: *** No rule to make target `../subdir.mak'. Stop. make: *** [install-headers] Error 2 }}} We can't rely on this and therefore we should export our own source tarballs for ffmpeg. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Changes (by raimue@macports.org): * cc: macports@mail.taugt.net (added) Comment: CC'ing original reporter. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by antonin@gwikzone.org): Same problem here : {{{ $ sudo port -d install ffmpeg +gpl +lame +extvorbis +faac +faad +xvid +x264 +a52 +avfilter +postproc .... .... make -C libswscale all Makefile:24: ../subdir.mak: No such file or directory make[1]: *** No rule to make target `../subdir.mak'. Stop. make: *** [lib] Error 2 }}} I've successfully compiled it with ffmpeg rev 12276 and libswscale rev 26183 using dependencies build by macports : {{{ svn export --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk@12276 ffmpeg cd ffmpeg svn export svn://svn.mplayerhq.hu/mplayer/trunk/libswscale@26183 ruby -i.bak -pe 'gsub(/defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\)/, "defined(ARCH_X86) && defined(CONFIG_GPL) && !defined(__APPLE__)")' libswscale/rgb2rgb.c svn export svn://svn.mplayerhq.hu/mplayer/trunk/libswscale@26183 ./configure --enable-shared --disable-mmx --enable-pthreads --enable- liba52 --enable-libfaac --enable-libfaad --enable-libmp3lame --enable- libvorbis --enable-gpl --enable-pp --enable-libxvid --enable-libx264 --enable-swscaler --extra-cflags="-I/opt/local/include" --extra- ldflags="-L/opt/local/lib" make }}} HTH. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by antonin@gwikzone.org): I forgot to say that I'm on the latest macbook (core 2 duo). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Changes (by jmr@macports.org): * cc: yanjingfeng@hotmail.com (added) Comment: Cc reporter of duplicate #14964. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Changes (by raimue@macports.org): * cc: bazzoola@gmail.com (added) Comment: Cc reporter of duplicate #15017. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by fanmail@micah-wedemeyer.net): I followed antonin's instructions, and managed to force macports to use the the correct export of libswscale {{{ sudo port install ffmpeg }}} That will fail out. Then we do: {{{ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ffmpeg sudo rm -rf libswscale sudo svn export svn://svn.mplayerhq.hu/mplayer/trunk/libswscale@26183 sudo port install ffmpeg }}} I'm no expert, so this could be the dumbest idea ever... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): I rewrote the fetch phase completely in r36295. Please report back if it works now. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by faye@zippysoft.com): This is how it seems to break now. It breaks when you use +avfilter. It could just be that we need a new patch for this version. I suspect the person who got the successful compile with those revisions wasn't using avfilter. {{{ ---> Applying patches to ffmpeg ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/ffmpeg/files /patch-libswscale-Makefile.diff DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && patch -p0' patching file libswscale/Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file libswscale/Makefile.rej Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/ffmpeg/files /patch-libswscale-Makefile.diff'" returned error 1 Command output: patching file libswscale/Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file libswscale/Makefile.rej }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): That's bad. I would be glad if somebody could update the patch or point me to a working revision combination of ffmpeg and libwscale. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * cc: chou.marcus@gmail.com (added) Comment: The libswscale patch failure with the +avfilter variant was [http://lists.macosforge.org/pipermail/macports- users/2008-April/010049.html reported again on macports-users] by Marcus Chou. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#14960: BUG: ffmpeg svn fetch is using HEAD for parts of the software ----------------------------------+----------------------------------------- Reporter: raimue@macports.org | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg ----------------------------------+----------------------------------------- Comment (by ryandesign@macports.org): I tried to fix the +avfilter patch failure in r36394. Let me know if I succeeded or not. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14960#comment:11> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts