[MacPorts] #37761: octave-audio @1.1.4_0 build failure
#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 Keywords: | Port: -------------------------+-------------------------------- I get a build failure when installing octave-audio. {{{ :info:build /opt/local/bin/gcc-mp-4.5 -ObjC -o ../bin/ofsndplay OFSndPlay.cc -framework Cocoa :info:build error: called from `pkg>configure_make' in file /opt/local/share/octave/3.2.4/m/pkg/pkg.m near line 1253, column 2 :info:build error: called from: :info:build error: /opt/local/share/octave/3.2.4/m/pkg/pkg.m at line 714, column 5 :info:build error: /opt/local/share/octave/3.2.4/m/pkg/pkg.m at line 521, column 3 :info:build error: /opt/local/share/octave/3.2.4/m/pkg/pkg.m at line 393, column 7 :info:build Command failed: /opt/local/bin/octave -q -f --eval 'pkg build -verbose -nodeps /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_math_octave-audio/octave- audio/work/audio-1.1.4 /opt/local/var/macports/distfiles/octave- audio/audio-1.1.4.tar.gz' :info:build Exit code: 1 }}} (full log attached) -- Ticket URL: <https://trac.macports.org/ticket/37761> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ---------------------------+-------------------------------- Changes (by macsforever2000@…): * port: => octave-audio Comment: In the future, please fill in the Port field. -- Ticket URL: <https://trac.macports.org/ticket/37761#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#37761: octave-audio @1.1.4_0 build failure ---------------------------+-------------------------------- Reporter: mkb-prime@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: octave-audio | ---------------------------+-------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Please do: {{{ sudo port clean octave-audio sudo port selfupdate }}} and then try installing it again. Should be fixed with r114034. -- Ticket URL: <https://trac.macports.org/ticket/37761#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts