Package: petsc
Version: 2.3.3-9
Severity: serious

It looks like definition of PETSC_MPI in debian/rules is somewhat pesky,
probably it is broken by localization issues.. don't know, but on my
hppa it comes to "udelam" instead of "lam", which is wrong.

I suggest you to rewrite such guessing using readlink command.

Regards,
Domenico

-----[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50
 fakeroot debian/rules clean
dh_testdir
if [ -e patch ]; then \
          debian/rules unpatch; \
        fi
make[1]: Entering directory `/home/cavok/devel/debian/petsc-2.3.3'
for patchfile in `ls --reverse debian/patch-*`; do \
          patch -p1 -R < $patchfile; \
        done
patching file src/sys/utils/makefile
patching file src/sys/objects/makefile
patching file docs/bugreporting.html
patching file docs/index.html
patching file docs/faq.html
patching file python/BuildSystem/config/setCompilers.py
patching file python/PETSc/utilities/debugging.py
patching file bmake/common/rules.shared.basic
rm patch        
make[1]: Leaving directory `/home/cavok/devel/debian/petsc-2.3.3'
mv TAGS thetags
dh_clean
# These are needed for -lam, -dec and -contrib builds
rm -rf debian/libpetsc2.3.3-udelam debian/libpetsc2.3.3-udelam-dev \
          debian/libpetsc2.3.3-udelam-dbg
mv thetags TAGS
rm -f build* install* debian/*.substvars debian/libpetsc2.3.3-udelam-dev.docs 
debian/libpetsc2.3.3-udelam-dev.postinst debian/libpetsc2.3.3-udelam-dev.prerm
# This is commented because it really doesn't do anything useful for us
# (removes example executables, so what?)
# make PETSC_ARCH=linux-gnu PETSC_DIR=/home/cavok/devel/debian/petsc-2.3.3 clean
# These probably should be removed by `make clean' but aren't
rm -f `find . -name \*.o -print` `find . -name \*.pyc -print`
rm -rf lib debian/extemp bmake/linux-gnu*
 debian/rules build
for patchfile in `ls debian/patch-*`; do \
          patch -p1 < $patchfile; \
        done
patching file bmake/common/rules.shared.basic
patching file python/PETSc/utilities/debugging.py
patching file python/BuildSystem/config/setCompilers.py
patching file docs/bugreporting.html
patching file docs/index.html
patching file docs/faq.html
patching file src/sys/utils/makefile
patching file src/sys/objects/makefile
touch patch
PETSC_DIR=/home/cavok/devel/debian/petsc-2.3.3 ./config/configure.py \
          --with-debugging=1 \
          --useThreads 0 --with-mpi-dir=/usr/lib/udelam \
          --with-blas-lib=-lblas --with-lapack-lib=-llapack \
          --with-umfpack=1 --with-umfpack-include=/usr/include/suitesparse \
          --with-umfpack-lib=[/usr/lib/libumfpack.so,/usr/lib/libamd.so] \
          --with-superlu=1 --with-superlu-include=/usr/include/superlu \
          --with-superlu-lib=/usr/lib/libsuperlu.so \
          --with-spooles=1 --with-spooles-include=/usr/include/spooles \
          --with-spooles-lib=/usr/lib/libspooles.so
=================================================================================
             Configuring PETSc to compile on your system                        
 
=================================================================================
TESTING: configureExternalPackagesDir from 
config.framework(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/framework.py:807)
TESTING: configureLibrary from 
PETSc.packages.NetCDF(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/packages/NetCDF.py:10)
TESTING: configureLibrary from 
PETSc.packages.PVODE(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/packages/PVODE.py:10)
TESTING: configureDebuggers from 
PETSc.utilities.debuggers(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/debuggers.py:22)
TESTING: configureMake from 
PETSc.utilities.Make(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/Make.py:21)
TESTING: configureMercurial from 
config.sourceControl(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/sourceControl.py:23)
TESTING: configureCVS from 
config.sourceControl(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/sourceControl.py:30)
TESTING: configureSubversion from 
config.sourceControl(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/sourceControl.py:35)
TESTING: configureMkdir from 
config.programs(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/programs.py:21)
TESTING: configurePrograms from 
config.programs(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/programs.py:43)
TESTING: configureCLanguage from 
PETSc.utilities.languages(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/languages.py:43)
TESTING: configureLanguageSupport from 
PETSc.utilities.languages(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/languages.py:49)
TESTING: configureExternC from 
PETSc.utilities.languages(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/languages.py:66)
TESTING: configureFortranLanguage from 
PETSc.utilities.languages(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/languages.py:72)
TESTING: configureDirectories from 
PETSc.utilities.petscdir(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/petscdir.py:34)
TESTING: configureExternalPackagesDir from 
PETSc.utilities.petscdir(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/petscdir.py:112)
TESTING: configureInstallationMethod from 
PETSc.utilities.petscdir(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/petscdir.py:119)
TESTING: configureETags from 
PETSc.utilities.Etags(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/Etags.py:27)
TESTING: getDatafilespath from 
PETSc.utilities.dataFilesPath(/home/cavok/devel/debian/petsc-2.3.3/python/PETSc/utilities/dataFilesPath.py:29)
TESTING: checkVendor from 
config.setCompilers(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/setCompilers.py:262)
TESTING: checkInitialFlags from 
config.setCompilers(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/setCompilers.py:272)
TESTING: checkCCompiler from 
config.setCompilers(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/setCompilers.py:380)
TESTING: checkCPreprocessor from 
config.setCompilers(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/setCompilers.py:437)
TESTING: checkCxxCompiler from 
config.setCompilers(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/setCompilers.py:541)
TESTING: checkFortranCompiler from 
config.setCompilers(/home/cavok/devel/debian/petsc-2.3.3/python/BuildSystem/config/setCompilers.py:708)make:
 *** [build-arch] Trace/breakpoint trap (core dumped)

Reply via email to