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

2012-02-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 641242 +pending
Bug #641242 [src:cp2k] cp2k: FTBFS anywhere but (linux-)i386
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
641242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641242
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2012-02-12 Thread Michael Banck
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



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#641242: Bug #641242: cp2k: FTBFS anywhere but (linux-)i386

2012-01-20 Thread Aron Xu
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



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org