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

Aron Xu happyaron.xu at gmail.com
Fri Jan 20 13:18:53 UTC 2012


reopen 641242
thanks

The package with modified build-depends built fine on my amd64
machine, within pbuilder. But when uploading to the archive it returns
no luck on i386. Reopening the bug report.

I am building the package for i386 in pbuilder, will upload as bin-nmu
if got succeeded (very likely to be succeeded). But this bug should
remain opening because actually the build system does not recognize
other platforms. For some platform "supported", i.e. i686, x86_64 and
ia64 at least, there are wired build problems on buildds.

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


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


-- 
Regards,
Aron Xu





More information about the Debichem-devel mailing list