[MacPorts] #17237: Update to SuiteSparse 3.2.0 fails
#17237: Update to SuiteSparse 3.2.0 fails ------------------------------------------+--------------------------------- Reporter: macsforever2000@macports.org | Owner: stechert@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: SuiteSparse ------------------------------------------+--------------------------------- I attempted to update SuiteSparse to 3.2.0 but I receive the following error: {{{ $ sudo port upgrade SuiteSparse ---> Fetching SuiteSparse ---> Attempting to fetch SuiteSparse-3.2.0.tar.gz from http://distfiles.macports.org/SuiteSparse ---> Verifying checksum(s) for SuiteSparse ---> Extracting SuiteSparse ---> Configuring SuiteSparse ---> Building SuiteSparse Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_math_SuiteSparse/work/SuiteSparse" && make " returned error 2 Command output: g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_parallel.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_kernel.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_analyze.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_assemble.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_cpack.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_csize.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_fcsize.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_debug.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_front.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_factorize.cpp g++: unrecognized option '-no-cpp-precomp' ../Source/spqr_factorize.cpp: In function 'spqr_numeric<Entry>* spqr_factorize(cholmod_sparse**, long int, double, long int, spqr_symbolic*, cholmod_common*) [with Entry = double]': ../Source/spqr_factorize.cpp:709: instantiated from here ../Source/spqr_factorize.cpp:585: error: 'memcpy' was not declared in this scope ../Source/spqr_factorize.cpp: In function 'spqr_numeric<Entry>* spqr_factorize(cholmod_sparse**, long int, double, long int, spqr_symbolic*, cholmod_common*) [with Entry = std::complex<double>]': ../Source/spqr_factorize.cpp:726: instantiated from here ../Source/spqr_factorize.cpp:585: error: 'memcpy' was not declared in this scope make[2]: *** [spqr_factorize.o] Error 1 make[1]: *** [all] Error 2 make: *** [default] Error 2 Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/17237> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17237: Update to SuiteSparse 3.2.0 fails -------------------------------------------+-------------------------------- Reporter: macsforever2000@macports.org | Owner: stechert@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: SuiteSparse | -------------------------------------------+-------------------------------- Description changed by macsforever2000@macports.org: Old description:
I attempted to update SuiteSparse to 3.2.0 but I receive the following error:
{{{ $ sudo port upgrade SuiteSparse ---> Fetching SuiteSparse ---> Attempting to fetch SuiteSparse-3.2.0.tar.gz from http://distfiles.macports.org/SuiteSparse ---> Verifying checksum(s) for SuiteSparse ---> Extracting SuiteSparse ---> Configuring SuiteSparse ---> Building SuiteSparse Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_math_SuiteSparse/work/SuiteSparse" && make " returned error 2 Command output: g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_parallel.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_kernel.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_analyze.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_assemble.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_cpack.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_csize.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_fcsize.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_debug.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_front.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_factorize.cpp g++: unrecognized option '-no-cpp-precomp' ../Source/spqr_factorize.cpp: In function 'spqr_numeric<Entry>* spqr_factorize(cholmod_sparse**, long int, double, long int, spqr_symbolic*, cholmod_common*) [with Entry = double]': ../Source/spqr_factorize.cpp:709: instantiated from here ../Source/spqr_factorize.cpp:585: error: 'memcpy' was not declared in this scope ../Source/spqr_factorize.cpp: In function 'spqr_numeric<Entry>* spqr_factorize(cholmod_sparse**, long int, double, long int, spqr_symbolic*, cholmod_common*) [with Entry = std::complex<double>]': ../Source/spqr_factorize.cpp:726: instantiated from here ../Source/spqr_factorize.cpp:585: error: 'memcpy' was not declared in this scope make[2]: *** [spqr_factorize.o] Error 1 make[1]: *** [all] Error 2 make: *** [default] Error 2
Error: Unable to upgrade port: 1 }}}
New description: I attempted to update SuiteSparse to 3.2.0 but I receive the following error: {{{ $ sudo port upgrade SuiteSparse ---> Fetching SuiteSparse ---> Attempting to fetch SuiteSparse-3.2.0.tar.gz from http://distfiles.macports.org/SuiteSparse ---> Verifying checksum(s) for SuiteSparse ---> Extracting SuiteSparse ---> Configuring SuiteSparse ---> Building SuiteSparse Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_math_SuiteSparse/work/SuiteSparse" && make " returned error 2 Command output: g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_parallel.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_kernel.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_analyze.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_assemble.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_cpack.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_csize.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_fcsize.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_debug.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_front.cpp g++: unrecognized option '-no-cpp-precomp' g++ -O3 -fno-common -no-cpp-precomp -fexceptions -I../../CHOLMOD/Include -I../../UFconfig -I../Include -c ../Source/spqr_factorize.cpp g++: unrecognized option '-no-cpp-precomp' ../Source/spqr_factorize.cpp: In function 'spqr_numeric<Entry>* spqr_factorize(cholmod_sparse**, long int, double, long int, spqr_symbolic*, cholmod_common*) [with Entry = double]': ../Source/spqr_factorize.cpp:709: instantiated from here ../Source/spqr_factorize.cpp:585: error: 'memcpy' was not declared in this scope ../Source/spqr_factorize.cpp: In function 'spqr_numeric<Entry>* spqr_factorize(cholmod_sparse**, long int, double, long int, spqr_symbolic*, cholmod_common*) [with Entry = std::complex<double>]': ../Source/spqr_factorize.cpp:726: instantiated from here ../Source/spqr_factorize.cpp:585: error: 'memcpy' was not declared in this scope make[2]: *** [spqr_factorize.o] Error 1 make[1]: *** [all] Error 2 make: *** [default] Error 2 Error: Unable to upgrade port: 1 }}} I'm using Xcode 3.1.1 on Mac OS X 10.5.5 on a MacPro. -- -- Ticket URL: <http://trac.macports.org/ticket/17237#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17237: Update to SuiteSparse 3.2.0 fails -------------------------------------------+-------------------------------- Reporter: macsforever2000@macports.org | Owner: stechert@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: SuiteSparse | -------------------------------------------+-------------------------------- Comment(by mcalhoun@macports.org): By any chance, is your g++ not a link to /usr/bin/g++? I ask because in your output, g++ complains about -no-cpp-precomp.[[BR]] On my machine, /usr/bin/g++-4.0 silently accepts it.[[BR]] /opt/local/bin/g++-mp-4.3, on the other hand, does issue a warning. If this is the case, then r42051 might fix your problem. In my recent upgrade to SuiteSparse, r41628, I neglected to ensure that configure.cxx was used instead of g++.[[BR]] This is fixed in r42051. -- Ticket URL: <http://trac.macports.org/ticket/17237#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17237: Update to SuiteSparse 3.2.0 fails -------------------------------------------+-------------------------------- Reporter: macsforever2000@macports.org | Owner: stechert@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: SuiteSparse | -------------------------------------------+-------------------------------- Comment(by jmr@macports.org): Using the right compiler should stop this causing problems, but you should probably remove -no-cpp-precomp from configure.cflags as well. It only does something useful in Apple GCC older than 3.3; [http://developer.apple.com/releasenotes/DeveloperTools/RN- GCC3/index.html#//apple_ref/doc/uid/TP40001007-DontLinkElementID_6 in 3.3 and later it's a no-op]. FSF GCC has never accepted it. -- Ticket URL: <http://trac.macports.org/ticket/17237#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17237: Update to SuiteSparse 3.2.0 fails -------------------------------------------+-------------------------------- Reporter: macsforever2000@macports.org | Owner: stechert@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: SuiteSparse | -------------------------------------------+-------------------------------- Changes (by macsforever2000@macports.org): * status: new => closed * resolution: => fixed Comment: Replying to [comment:2 mcalhoun@…]:
By any chance, is your g++ not a link to /usr/bin/g++?
{{{ $ which g++ /opt/local/bin/g++ }}} But r42051 did fix the problem for me. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/17237#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts