[Debichem-devel] Bug#641242: Bug#641242: Bug #641242: cp2k: FTBFS anywhere but (linux-)i386

Michael Banck mbanck at debian.org
Sun Feb 12 15:44:51 UTC 2012


tags 641242 +pending
thanks

Hi,

On Fri, Jan 20, 2012 at 09:18:53PM +0800, Aron Xu wrote:
> Tail of logs for cp2k on ia64 ("supported"):
> 
> /usr/bin/make -C
> /build/buildd-cp2k_2.1.637-2.1-ia64-ezcZn1/cp2k-2.1.637/makefiles/../obj/Linux-ia64-gfortran/popt
> -f /build/buildd-cp2k_2.1.637-2.1-ia64-ezcZn1/cp2k-2.1.637/makefiles/../makefiles/Makefile
> _all
> tail: cannot open
> `/build/buildd-cp2k_2.1.637-2.1-ia64-ezcZn1/cp2k-2.1.637/makefiles/../src/CVS/Entries'
> for reading: No such file or directory
> make[4]: Entering directory
> `/build/buildd-cp2k_2.1.637-2.1-ia64-ezcZn1/cp2k-2.1.637/obj/Linux-ia64-gfortran/popt'
> cpp -C -D__GFORTRAN -D__FFTSG -traditional
> -D__COMPILE_ARCH="\"Linux-ia64-gfortran\"" -D__COMPILE_DATE="\"Fri Jan
> 20 13:11:24 UTC 2012\"" -D__COMPILE_HOST="\"alkman\""
> -D__COMPILE_LASTCVS="\"\""
> -I/build/buildd-cp2k_2.1.637-2.1-ia64-ezcZn1/cp2k-2.1.637/makefiles/../src
> /build/buildd-cp2k_2.1.637-2.1-ia64-ezcZn1/cp2k-2.1.637/makefiles/../src/lib/array_types.F
> > array_types.f90
> mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize
> -march=native -ffree-form -D__GFORTRAN -D__FFTSG -D__FFTW3
> -D__parallel -D__BLACS -D__SCALAPACK array_types.f90
> f951: error: unrecognized command line option '-march=native'
> make[4]: *** [array_types.o] Error 1

I fixed this one by removing -march=native from makeflags.patch.
 
> Tail of logs for cp2k on sparc ("not recognized"):
> 
> make[1]: Entering directory
> `/build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637'
> (cd makefiles; /usr/bin/make distclean)
> ############################################################
> have a look at cp2k/tools/get_arch_code
> your system is a Linux-#1 SMP Wed Jan 11 13:31:36 UTC
> 2012-2.6.32-5-sparc64-smp-sparc
> but get_arch_code is not able to deal with that
> ############################################################
> Makefile:124: make[2]: Entering directory
> `/build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637/makefiles'
> /build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637/makefiles/../arch/unknown.sopt:
> No such file or directory
> tail: cannot open
> `/build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637/makefiles/../src/CVS/Entries'
> for reading: No such file or directory
> make[2]: *** No rule to make target
> `/build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637/makefiles/../arch/unknown.sopt'.
>  Stop.
> make[2]: Leaving directory
> `/build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637/makefiles'
> make[1]: *** [override_dh_auto_clean] Error 2
> make[1]: Leaving directory
> `/build/buildd-cp2k_2.1.637-2.1-sparc-QxAz88/cp2k-2.1.637'
> make: *** [clean] Error 2

I have committed a fix to subversion so that $PLATFORM and $ARCH get set
explicitly for distclean as well.


Michael





More information about the Debichem-devel mailing list