Opened 5 months ago

Last modified 5 months ago

#55920 new defect

FreeRDP @2.0.0-rc1: error: unknown type name 'AudioFormatID'

Reported by: sbarajas Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger leopard snowleopard lion mountainlion mavericks Cc:
Port: FreeRDP

Description (last modified by ryandesign (Ryan Schmidt))

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/build/libfreerdp && /usr/bi$
:info:build [ 59%] Building C object libfreerdp/CMakeFiles/freerdp.dir/core/client.c.o
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/build/libfreerdp && /usr/bi$
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-2.0.0-rc1/libfreerdp/c$
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-2.0.0-rc1/libfreerdp/c$
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-2.0.0-rc1/libfreerdp/c$
:info:build make[2]: *** [libfreerdp/CMakeFiles/freerdp.dir/core/client.c.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/bu$
:info:build make[1]: *** [libfreerdp/CMakeFiles/freerdp.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/bu$
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/work/build" &&$
:info:build Exit code: 2
:error:build Failed to build FreeRDP: command execution failed
:debug:build Error code: CHILDSTATUS 50441 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_FreeRDP/FreeRDP/main.log for details.

Change History (3)

comment:1 Changed 5 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Summary: Compiling FreeRDP 2FreeRDP @2.0.0-rc1: build fails
Version: 2.0.0

Please attach the main.log file. The output you posted does not show us what the error is.

comment:2 Changed 5 months ago by ryandesign (Ryan Schmidt)

I see our buildbot only managed to build this on Yosemite or later, so we need to look into what's going wrong on Mavericks and earlier.

comment:3 Changed 5 months ago by ryandesign (Ryan Schmidt)

Keywords: tiger leopard snowleopard lion mountainlion mavericks added
Summary: FreeRDP @2.0.0-rc1: build failsFreeRDP @2.0.0-rc1: error: unknown type name 'AudioFormatID'

I ran another build on the buildbot to see what the problem was. I assume this is the problem you're seeing too:

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/49764

./channels/audin/client/mac/audin_mac.c:74:8: error: unknown type name 'AudioFormatID'; did you mean 'AudioFormatInfo'?
static AudioFormatID audin_mac_get_format(const audinFormat* format)
       ^~~~~~~~~~~~~
       AudioFormatInfo

AudioFormatID was introduced in OS X 10.10.

I filed an upstream bug report.

Note: See TracTickets for help on using tickets.