[MacPorts] #42891: ffmpeg @2.1.4_1 Portfile syntax error on 10.6.8
#42891: ffmpeg @2.1.4_1 Portfile syntax error on 10.6.8 ------------------------+-------------------------------- Reporter: mopihopi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ffmpeg ------------------------+-------------------------------- After a port selfupdate, ffmpeg is no longer recognized as a port on OS X 10.6.8. {{{ $ port info ffmpeg Error: Port ffmpeg not found $ }}} This is due to an error in the Portfile, introduced in r117917 (and in ffmpeg-devel r117918). Braces are used to group a subexpression, instead of parentheses: {{{ if {${os.major} > 10 || {${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3}} { }}} This corrects the error: {{{ if {${os.major} > 10 || (${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3)} { }}} -- Ticket URL: <https://trac.macports.org/ticket/42891> MacPorts <http://www.macports.org/> Ports system for OS X
#42891: ffmpeg @2.1.4_1 Portfile syntax error on 10.6.8 -------------------------+---------------------- Reporter: mopihopi@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned * version: 2.2.1 => Comment: Yes, I just forced a build on the build bots (automatic builds still not working) and was able to reproduce this error on 10.6 but works ok on 10.7 and later. I assume this has to do with the version of tcl available on 10.6 as opposed to the others. Also another build error on ffmpeg-devel after you get by this so will fix all the above ASAP. Thanks for your report. -- Ticket URL: <https://trac.macports.org/ticket/42891#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42891: ffmpeg @2.1.4_1 Portfile syntax error on 10.6.8 -------------------------+---------------------- Reporter: mopihopi@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: ffmpeg | -------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: Fix for ffmpeg committed in r117949.[[BR]] Fix for ffmpeg-devel committed in r117951. Both build successfully on all 4 build bots (10.6-10.9). -- Ticket URL: <https://trac.macports.org/ticket/42891#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts