Opened 6 years ago

Last modified 4 years 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 Carsten 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 (4)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten 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 6 years ago by ryandesign (Ryan Carsten 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 6 years ago by ryandesign (Ryan Carsten 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.

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Upstream closed the upstream issue; they committed a fix that went into 2.0.0-rc3. But with 2.0.0 final and later we have a new problem building on 10.9 and earlier; see #60344.

Note: See TracTickets for help on using tickets.