Problems with configure on revived HandBrake port

Joshua Root jmr at macports.org
Sat Oct 30 10:40:35 UTC 2021


On 2021-10-30 20:54 , Janosch Peters via macports-dev wrote:
> I am trying to revive the HandBrake port: 
> https://github.com/Janosch/macports-ports/blob/handbrake-update/multimedia/HandBrake/Portfile
> 
> It currently fails while trying to probe for xcodebuild:
> 
> version probe: xcodebuild 10.3.0...(fail) 0.0.0
>      Command failed: cd 
> "/opt/local/var/macports/build/_Users_janosch_Dev_macports-ports_multimedia_HandBrake/HandBrake/work/HandBrake-1.4.2-source" 
> && ./configure --prefix=/opt/local
> 
> The strange thing is, if I run this command manually, it works:
> 
>      cd 
> "/opt/local/var/macports/build/_Users_janosch_Dev_macports-ports_multimedia_HandBrake/HandBrake/work/HandBrake-1.4.2-source" 
> && ./configure --prefix=/opt/local
>      version probe: xcodebuild 10.3.0...(pass) 12.4
> 
> 
> I don't know what could be the cause of this behavior. The configure 
> script is a bash script calling a python script. I also don't know how I 
> can debug this, as running the command manually works.
> 
> Any ideas?

If it uses xcodebuild, you would need to set 'use_xcode yes'.

- Josh


More information about the macports-dev mailing list