#37362: atlas Portfile missing dash on force_cpusubtype_ALL option -------------------------+-------------------------------- Reporter: jdgleeson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -------------------------+-------------------------------- I get the following error when I try to build atlas (OS X 10.5.8 PPC): {{{ :debug:configure Executing org.macports.configure (atlas) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -m32' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -m32' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/opt/local/bin/g++-mp-4.5' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m32' LDFLAGS='-L/opt/local/lib' FCFLAGS='-pipe -O2 -m32' OBJC='/opt/local/bin/gcc-mp-4.5' INSTALL='/usr/bin/install -c' F90='/opt/local/bin/gfortran-mp-4.5' FC='/opt/local/bin/gfortran-mp-4.5' FFLAGS='-pipe -O2 -m32' OBJCFLAGS='-pipe -O2 -m32' F77='/opt/local/bin /gfortran-mp-4.5' CC_PRINT_OPTIONS='YES' CC='/opt/local/bin/gcc-mp-4.5' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build" && ../configure --prefix=/opt/local -C ac /opt/local/bin/gcc-mp-4.5 --with-netlib-lapack- tarfile=/opt/local/var/macports/distfiles/atlas/lapack-3.4.2.tgz -O 12 -v 5 -b 32 --dylibs -t 2 --cc='/opt/local/bin/gcc-mp-4.5 -m32 force_cpusubtype_ALL' -A 4 -Fa alg '-fPIC -m32 -force_cpusubtype_ALL' -C if /opt/local/bin/gfortran-mp-4.5 -Ss f77lib /opt/local/lib/gcc45/libgfortran.dylib -D c -DWALL' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build" && ../configure --prefix=/opt/local -C ac /opt/local/bin/gcc-mp-4.5 --with-netlib-lapack- tarfile=/opt/local/var/macports/distfiles/atlas/lapack-3.4.2.tgz -O 12 -v 5 -b 32 --dylibs -t 2 --cc='/opt/local/bin/gcc-mp-4.5 -m32 force_cpusubtype_ALL' -A 4 -Fa alg '-fPIC -m32 -force_cpusubtype_ALL' -C if /opt/local/bin/gfortran-mp-4.5 -Ss f77lib /opt/local/lib/gcc45/libgfortran.dylib -D c -DWALL :info:configure /opt/local/bin/gcc-mp-4.5 -m32 force_cpusubtype_ALL -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build/..//CONFIG/include -g -w -DATL_DYLIBS -o xconfig /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build/..//CONFIG/src/config.c atlconf_misc.o :info:configure gcc-mp-4.5: force_cpusubtype_ALL: No such file or directory :info:configure make: *** [xconfig] Error 1 }}} I changed Portfile line 227 from {{{ configure.args-append --cc='${configure.cc} -m32 force_cpusubtype_ALL' \ }}} to {{{ configure.args-append --cc='${configure.cc} -m32 -force_cpusubtype_ALL' \ }}} and the build succeeded. (Well, it succeeded eventually. I got an Internal Compiler Error from gcc 4.5. I noticed that Clint Whaley (the atlas maintainer) uses gcc 4.7 whenever possible. I've switched to gcc 4.7 and atlas builds!!) -- Ticket URL: <https://trac.macports.org/ticket/37362> MacPorts <http://www.macports.org/> Ports system for Mac OS