[MacPorts] #20636: Octave 3.2.2 build error

MacPorts noreply at macports.org
Fri Aug 28 07:39:02 PDT 2009


#20636: Octave 3.2.2 build error
------------------------------------------+---------------------------------
 Reporter:  macsforever2000@…             |       Owner:  alakazam@…           
     Type:  defect                        |      Status:  assigned             
 Priority:  Normal                        |   Milestone:                       
Component:  ports                         |     Version:  1.7.1                
 Keywords:                                |        Port:  octave               
------------------------------------------+---------------------------------

Comment(by stephen@…):

 Replying to [comment:16 alakazam@…]:
 > BTW, I believe the initial issue reported here, {{{error: unrecognized
 command line option "-arch"}}}, is now fixed.

 No, it's not.  Freshly updated, I get
 {{{
 $ sudo port -u upgrade --enforce-variants octave
 --->  Computing dependencies for octave
 --->  Building octave
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_steve_src_MacPorts_dports_math_octave/work/octave-3.2.2"
 && /usr/bin/make -j1 all " returned error 2
 Command output: *  Now would be a good time to read INSTALL.OCTAVE if
 *  you have not done so already.
 *
 ***********************************************************

 /usr/bin/make -f octMakefile all
 /usr/bin/make -C libcruft all
 /usr/bin/make -C amos all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C blas all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C blas-xtra all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C daspk all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C dasrt all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C dassl all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C lapack all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C lapack-xtra all
 warning: run make in parent directory to update libraries
 /usr/bin/make -C misc all
 /opt/local/bin/g++-mp-4.3 -c -I/opt/local/include -I/opt/MacPorts/include
 -I. -I../.. -I../../liboctave -I../../src -I../../libcruft/misc
 -DHAVE_CONFIG_H   -O2 -arch i386 f77-extern.cc -o f77-extern.o
 cc1plus: error: unrecognized command line option "-arch"
 make[3]: *** [f77-extern.o] Error 1
 make[2]: *** [misc] Error 2
 make[1]: *** [libcruft] Error 2
 make: *** [all] Error 2

 Error: Unable to upgrade port: 1
 $
 }}}
 All my ports are up to date with the Subversion trunk, as of an hour or
 two ago, except for octave and gcc44 (since gcc43, not gcc44, is used for
 octave, I don't think that should matter).

 Mac OS X 10.5.8, MacBook Pro Intel Core Duo, MacPorts from subversion,
 base rebuilt and reinstalled today.

-- 
Ticket URL: <http://trac.macports.org/ticket/20636#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list