[MacPorts] #37761: octave-audio @1.1.4_0 build failure

MacPorts noreply at macports.org
Sat Apr 6 07:46:31 PDT 2013


#37761: octave-audio @1.1.4_0 build failure
---------------------------+--------------------------------
  Reporter:  mkb-prime@…   |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.2
Resolution:                |   Keywords:
      Port:  octave-audio  |
---------------------------+--------------------------------

Comment (by johan.b.gustafsson@…):

 gcc-mp does not support ObjC. The compilers distributed with Xcode however
 do (clang, llvm-gcc).

 Trying to enforce clang by overriding configure.compiler doesn't help as
 main.log shows that configure still selected gcc-mp.
 {{{
 $ sudo port install -v octave-audio configure.compiler=clang
 ...
 Error: Processing of port octave-audio failed
 $ cat
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_math_octave-audio/octave-audio/main.log | grep
 "checking for gcc"
 :info:build checking for gcc... /opt/local/bin/gcc-mp-4.7
 }}}

 I installed the octave-audio package manually instead, like this:

 {{{
 mkdir /var/tmp/oct-5kFozQ
 cd /var/tmp/oct-5kFozQ/
 tar -zxvf /opt/local/var/macports/distfiles/octave-
 audio/audio-1.1.4.tar.gz
 cd audio-1.1.4
 ./configure
 make
 make install
 }}}

 Related: when installing octave-devel I managed to make configure use the
 overriden configure.compiler=clang (according to its main.log), but the
 build fails. Without overriding configure.compiler configure selects gcc-
 mp-4.7 which works to build octave-devel. I haven't seen any problems
 arise yet from compiling octave-devel with gcc-mp-4.7 and octave-audio
 with clang.

-- 
Ticket URL: <https://trac.macports.org/ticket/37761#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list